|
|
|
@ -28,8 +28,8 @@ keymap("n", "<C-l>", "<C-w>l", opts)
|
|
|
|
|
keymap("n", "<leader>e", ":Lex 30<cr>", opts)
|
|
|
|
|
|
|
|
|
|
-- Resize with arrows
|
|
|
|
|
keymap("n", "<C-Up>", ":resize -2<CR>", opts)
|
|
|
|
|
keymap("n", "<C-Down>", ":resize +2<CR>", opts)
|
|
|
|
|
keymap("n", "<C-Up>", ":resize +2<CR>", opts)
|
|
|
|
|
keymap("n", "<C-Down>", ":resize -2<CR>", opts)
|
|
|
|
|
keymap("n", "<C-Left>", ":vertical resize -2<CR>", opts)
|
|
|
|
|
keymap("n", "<C-Right>", ":vertical resize +2<CR>", opts)
|
|
|
|
|
|
|
|
|
@ -37,10 +37,6 @@ keymap("n", "<C-Right>", ":vertical resize +2<CR>", opts)
|
|
|
|
|
keymap("n", "<S-l>", ":bnext<CR>", opts)
|
|
|
|
|
keymap("n", "<S-h>", ":bprevious<CR>", opts)
|
|
|
|
|
|
|
|
|
|
-- Move text up and down
|
|
|
|
|
keymap("n", "<A-j>", "<Esc>:m .+1<CR>==gi", opts)
|
|
|
|
|
keymap("n", "<A-k>", "<Esc>:m .-2<CR>==gi", opts)
|
|
|
|
|
|
|
|
|
|
-- Insert --
|
|
|
|
|
-- Press jk fast to enter
|
|
|
|
|
keymap("i", "jk", "<ESC>", opts)
|
|
|
|
|