|
|
|
@ -9,19 +9,20 @@ end
|
|
|
|
|
local opt = {}
|
|
|
|
|
|
|
|
|
|
-- 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("v", "dd", [=[ "_dd ]=], opt)
|
|
|
|
|
map("v", "x", [=[ "_x ]=], opt)
|
|
|
|
|
|
|
|
|
|
]]
|
|
|
|
|
this line too ]]
|
|
|
|
|
|
|
|
|
|
-- OPEN TERMINALS --
|
|
|
|
|
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- open term over right
|
|
|
|
|
map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- open term bottom
|
|
|
|
|
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- over right
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
-- toggle numbers ---
|
|
|
|
@ -30,3 +31,5 @@ map("n", "<leader>n", [[ <Cmd> set nu!<CR>]], opt)
|
|
|
|
|
-- toggle truezen.nvim's ataraxis and minimalist mode
|
|
|
|
|
map("n", "<leader>z", [[ <Cmd> TZAtaraxis<CR>]], opt)
|
|
|
|
|
map("n", "<leader>m", [[ <Cmd> TZMinimalist<CR>]], opt)
|
|
|
|
|
|
|
|
|
|
map("n", "<C-s>", [[ <Cmd> w <CR>]], opt) -- save
|
|
|
|
|