diff --git a/config/nvim/lua/user/remaps.lua b/config/nvim/lua/user/remaps.lua index 3b6963d..4b1031e 100644 --- a/config/nvim/lua/user/remaps.lua +++ b/config/nvim/lua/user/remaps.lua @@ -25,6 +25,10 @@ nmap("", ":m .+1==") -- Alt+j - same as above mapping but the other way vmap("K", ":m '<-2gv=gv") -- Shift+k - in visual mode move selected lines up vmap("J", ":m '>+1gv=gv") -- Shift+j - same as above mapping but the other way +-- Leave selection when moving code left and right +vmap("<", "", ">gv") + -- Terminal tmap("", "") -- Escape - in terminal mode, quit to normal mode nmap("Th", ":lua open_terminal()") -- Shift+t - open terminal in horizontal split