added some mappings
This commit is contained in:
parent
d27da21cef
commit
e54aca98ee
@ -9,19 +9,20 @@ end
|
|||||||
local opt = {}
|
local opt = {}
|
||||||
|
|
||||||
-- dont copy any deleted text , this is disabled by default so uncomment the below mappings if you want them!
|
-- dont copy any deleted text , this is disabled by default so uncomment the below mappings if you want them!
|
||||||
--[[
|
--[[ remove this line
|
||||||
|
|
||||||
map("n", "dd", [=[ "_dd ]=], opt)
|
map("n", "dd", [=[ "_dd ]=], opt)
|
||||||
map("v", "dd", [=[ "_dd ]=], opt)
|
map("v", "dd", [=[ "_dd ]=], opt)
|
||||||
map("v", "x", [=[ "_x ]=], opt)
|
map("v", "x", [=[ "_x ]=], opt)
|
||||||
|
|
||||||
]]
|
this line too ]]
|
||||||
|
|
||||||
-- OPEN TERMINALS --
|
-- OPEN TERMINALS --
|
||||||
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- open term over right
|
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- over right
|
||||||
map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- open term bottom
|
map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- bottom
|
||||||
|
map("n", "<C-t>t", [[<Cmd> tabnew | term <CR>]], opt) -- newtab
|
||||||
|
|
||||||
-- COPY EVERYTHING --
|
-- COPY EVERYTHING in the file--
|
||||||
map("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt)
|
map("n", "<C-a>", [[ <Cmd> %y+<CR>]], opt)
|
||||||
|
|
||||||
-- toggle numbers ---
|
-- toggle numbers ---
|
||||||
@ -30,3 +31,5 @@ map("n", "<leader>n", [[ <Cmd> set nu!<CR>]], opt)
|
|||||||
-- toggle truezen.nvim's ataraxis and minimalist mode
|
-- toggle truezen.nvim's ataraxis and minimalist mode
|
||||||
map("n", "<leader>z", [[ <Cmd> TZAtaraxis<CR>]], opt)
|
map("n", "<leader>z", [[ <Cmd> TZAtaraxis<CR>]], opt)
|
||||||
map("n", "<leader>m", [[ <Cmd> TZMinimalist<CR>]], opt)
|
map("n", "<leader>m", [[ <Cmd> TZMinimalist<CR>]], opt)
|
||||||
|
|
||||||
|
map("n", "<C-s>", [[ <Cmd> w <CR>]], opt) -- save
|
||||||
|
@ -30,7 +30,7 @@ true_zen.setup(
|
|||||||
hidden_signcolumn = "no",
|
hidden_signcolumn = "no",
|
||||||
shown_number = true,
|
shown_number = true,
|
||||||
shown_relativenumber = false,
|
shown_relativenumber = false,
|
||||||
shown_signcolumn = "no"
|
shown_signcolumn = "yes"
|
||||||
},
|
},
|
||||||
ataraxis = {
|
ataraxis = {
|
||||||
just_do_it_for_me = false,
|
just_do_it_for_me = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user