1
0

Move cursor to right after exiting insert mode

Otherwise the cursor will be shifted to the left
This commit is contained in:
Patrick Auernig 2023-08-31 20:20:20 +02:00
parent 2043fd6caa
commit ec1e771f69

View File

@ -13,7 +13,7 @@ map({"n", "v", "i"}, "<C-s>", "<cmd>w<CR>")
map("n", "s", "<NOP>")
-- Exit insert mode by quickly pressing jk
map("i", "jk", "<ESC>")
map("i", "jk", "<ESC>l", { silent = true })
-- This avoids accidentially recording a macro
map({"n", "v"}, "<F1>", "q")