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