Update left and right arrow keys

This commit is contained in:
Oliver Davies 2024-10-05 12:34:48 +01:00
parent 98790190ad
commit 3c0d4fa0c6

View file

@ -16,12 +16,14 @@ set("n", "Y", "yg$")
set("n", "n", "nzzzv")
set("n", "N", "Nzzzv")
-- Disable arrow keys
-- Disable up and down arrow keys.
set("v", "<down>", "<nop>")
set("v", "<left>", "<nop>")
set("v", "<right>", "<nop>")
set("v", "<up>", "<nop>")
-- Use the left and right arrow keys to change tabs.
set("v", "<left>", "gT")
set("v", "<right>", "gt")
-- Easily switch back to visual mode.
set("i", "jk", "<Esc>")