diff --git a/lua/mappings.lua b/lua/mappings.lua index 73c9156..5ec8766 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -1,4 +1,4 @@ -local function map(mode, lhs, rhs, opts) + local function map(mode, lhs, rhs, opts) local options = {noremap = true} if opts then options = vim.tbl_extend("force", options, opts) @@ -16,13 +16,12 @@ map("v", "dd", [=[ "_dd ]=], opt) map("v", "x", [=[ "_x ]=], opt) this line too ]] - -- OPEN TERMINALS -- -map("n", "", [[vnew term://bash]], opt) -- over right -map("n", "", [[ split term://bash| resize 10 ]], opt) -- bottom -map("n", "t", [[ tabnew | term ]], opt) -- newtab +map("n", "", [[vnew term://bash ]], opt) -- term over right +map("n", "", [[ split term://bash | resize 10 ]], opt) -- term bottom +map("n", "t", [[ tabnew | term ]], opt) -- term newtab --- COPY EVERYTHING in the file-- +-- COPY EVERYTHING -- map("n", "", [[ %y+]], opt) -- toggle numbers --- @@ -32,4 +31,5 @@ map("n", "n", [[ set nu!]], opt) map("n", "z", [[ TZAtaraxis]], opt) map("n", "m", [[ TZMinimalist]], opt) -map("n", "", [[ w ]], opt) -- save +map("n", "", [[ w ]], opt) +-- vim.cmd("inoremap jh ")