feat(nvim): map jj/jk to escape

main
mandlm 2024-01-11 16:50:16 +01:00
parent 10c55a5a28
commit 22fff3f683
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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()