feat(nvim): map jj/jk to escape
parent
10c55a5a28
commit
22fff3f683
|
@ -52,6 +52,9 @@
|
|||
project-nvim
|
||||
auto-session
|
||||
|
||||
# escape handling
|
||||
better-escape-nvim
|
||||
|
||||
nvim-treesitter.withAllGrammars
|
||||
markdown-preview-nvim # use({ "iamcco/markdown-preview.nvim", run = ":call mkdp#util#install()" })
|
||||
toggleterm-nvim
|
||||
|
|
|
@ -64,3 +64,6 @@ nnoremap("gq", ":Bdelete<CR>")
|
|||
|
||||
-- toggle search highlighting
|
||||
vim.cmd('nnoremap <expr> * v:hlsearch ? ":nohlsearch<cr>" : "*"')
|
||||
|
||||
-- insert-map jj/jk to escape
|
||||
require("better_escape").setup()
|
||||
|
|
Loading…
Reference in New Issue