Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
feat(nvim): keymap jk to esc
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Mar 3, 2023
1 parent 26a70be commit b5cf84c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/config/lua/user/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ keymap("i", ".", ".<c-g>u", opts)
keymap("i", "!", "!<c-g>u", opts)
keymap("i", "?", "?<c-g>u", opts)

-- alias quick jk to esc
keymap("i", "jk", "<ESC>", opts)

-- Visual --
-- Stay in indent mode
keymap("v", "<", "<gv", opts)
Expand Down

0 comments on commit b5cf84c

Please sign in to comment.