Use jk in insert mode to switch back to visual

...mode
This commit is contained in:
Oliver Davies 2024-07-23 12:10:13 +01:00
parent 733f59570e
commit 044684f616

View file

@ -24,6 +24,9 @@ set("v", "<up>", "<nop>")
set("n", "<C-f>", ":silent !tmux neww t<CR>", { noremap = true, silent = true })
-- Easily switch back to visual mode.
set("i", "jk", "<Esc>")
-- Easy insertion of a trailing ; or , from insert mode
set("i", ",,", "<Esc>A,<Esc>")
set("i", ";;", "<Esc>A;<Esc>")