Move cursor to right after exiting insert mode
Otherwise the cursor will be shifted to the left
This commit is contained in:
parent
2043fd6caa
commit
ec1e771f69
@ -13,7 +13,7 @@ map({"n", "v", "i"}, "<C-s>", "<cmd>w<CR>")
|
|||||||
map("n", "s", "<NOP>")
|
map("n", "s", "<NOP>")
|
||||||
|
|
||||||
-- Exit insert mode by quickly pressing jk
|
-- Exit insert mode by quickly pressing jk
|
||||||
map("i", "jk", "<ESC>")
|
map("i", "jk", "<ESC>l", { silent = true })
|
||||||
|
|
||||||
-- This avoids accidentially recording a macro
|
-- This avoids accidentially recording a macro
|
||||||
map({"n", "v"}, "<F1>", "q")
|
map({"n", "v"}, "<F1>", "q")
|
||||||
|
Loading…
Reference in New Issue
Block a user