mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
map escape to normal mode
This commit is contained in:
parent
82f07879f3
commit
2c74abe936
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,8 @@ map("v", "x", [=[ "_x ]=], opt)
|
|||
this line too ]]
|
||||
--
|
||||
|
||||
vim.api.nvim_set_keymap("i", "jk", "<esc>", {})
|
||||
|
||||
-- OPEN TERMINALS --
|
||||
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
|
||||
|
@ -35,7 +37,6 @@ map("n", "<leader>zm", ":TZMinimalist<CR>", opt)
|
|||
map("n", "<leader>zf", ":TZFocus<CR>", opt)
|
||||
|
||||
map("n", "<C-s>", ":w <CR>", opt)
|
||||
-- vim.cmd("inoremap jh <Esc>")
|
||||
|
||||
-- Commenter Keybinding
|
||||
map("n", "<leader>/", ":CommentToggle<CR>", opt)
|
||||
|
|
Loading…
Reference in a new issue