Update left and right arrow keys
This commit is contained in:
parent
98790190ad
commit
3c0d4fa0c6
|
@ -16,12 +16,14 @@ set("n", "Y", "yg$")
|
||||||
set("n", "n", "nzzzv")
|
set("n", "n", "nzzzv")
|
||||||
set("n", "N", "Nzzzv")
|
set("n", "N", "Nzzzv")
|
||||||
|
|
||||||
-- Disable arrow keys
|
-- Disable up and down arrow keys.
|
||||||
set("v", "<down>", "<nop>")
|
set("v", "<down>", "<nop>")
|
||||||
set("v", "<left>", "<nop>")
|
|
||||||
set("v", "<right>", "<nop>")
|
|
||||||
set("v", "<up>", "<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.
|
-- Easily switch back to visual mode.
|
||||||
set("i", "jk", "<Esc>")
|
set("i", "jk", "<Esc>")
|
||||||
|
|
||||||
|
|
Reference in a new issue