map escape to normal mode
This commit is contained in:
parent
82f07879f3
commit
2c74abe936
@ -18,6 +18,8 @@ map("v", "x", [=[ "_x ]=], opt)
|
|||||||
this line too ]]
|
this line too ]]
|
||||||
--
|
--
|
||||||
|
|
||||||
|
vim.api.nvim_set_keymap("i", "jk", "<esc>", {})
|
||||||
|
|
||||||
-- OPEN TERMINALS --
|
-- OPEN TERMINALS --
|
||||||
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- term over right
|
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- term over right
|
||||||
map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- term bottom
|
map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- term bottom
|
||||||
@ -35,7 +37,6 @@ map("n", "<leader>zm", ":TZMinimalist<CR>", opt)
|
|||||||
map("n", "<leader>zf", ":TZFocus<CR>", opt)
|
map("n", "<leader>zf", ":TZFocus<CR>", opt)
|
||||||
|
|
||||||
map("n", "<C-s>", ":w <CR>", opt)
|
map("n", "<C-s>", ":w <CR>", opt)
|
||||||
-- vim.cmd("inoremap jh <Esc>")
|
|
||||||
|
|
||||||
-- Commenter Keybinding
|
-- Commenter Keybinding
|
||||||
map("n", "<leader>/", ":CommentToggle<CR>", opt)
|
map("n", "<leader>/", ":CommentToggle<CR>", opt)
|
||||||
|
Loading…
Reference in New Issue
Block a user