|
|
@ -36,12 +36,12 @@ keymap("n", "<S-l>", ":bnext<CR>", opts)
|
|
|
|
keymap("n", "<S-h>", ":bprevious<CR>", opts)
|
|
|
|
keymap("n", "<S-h>", ":bprevious<CR>", opts)
|
|
|
|
|
|
|
|
|
|
|
|
-- Move text up and down
|
|
|
|
-- Move text up and down
|
|
|
|
keymap("n", "<C-A-j>", "<Esc>:m .+1<CR>==gi", opts)
|
|
|
|
keymap("n", "<A-j>", "<Esc>:m .+1<CR>==gi", opts)
|
|
|
|
keymap("n", "<C-A-k>", "<Esc>:m .-2<CR>==gi", opts)
|
|
|
|
keymap("n", "<A-k>", "<Esc>:m .-2<CR>==gi", opts)
|
|
|
|
|
|
|
|
|
|
|
|
-- Insert --
|
|
|
|
-- Insert --
|
|
|
|
-- Press jk fast to enter
|
|
|
|
-- Press jk fast to enter
|
|
|
|
keymap("i", "jk", "<ESC>", opts)
|
|
|
|
-- keymap("i", "jk", "<ESC>", opts)
|
|
|
|
|
|
|
|
|
|
|
|
-- Visual --
|
|
|
|
-- Visual --
|
|
|
|
-- Stay in indent mode
|
|
|
|
-- Stay in indent mode
|
|
|
|