mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(vim): non-normal state H/I
This commit is contained in:
parent
2ae16a5cf8
commit
972dfa8c5e
4 changed files with 39 additions and 16 deletions
|
|
@ -54,12 +54,15 @@ local keymaps_basic = { -- Modification of Original Keymap - Colemak
|
|||
|
||||
{ mode = mode_arrow, keys = "h", cmd = "h", opts = { desc = "Left", silent = true } },
|
||||
{ mode = mode_arrow, keys = "i", cmd = "l", opts = { desc = "Right", silent = true } },
|
||||
{ keys = "H", cmd = ":bprevious<CR>", opts = { desc = "Previous Buffer" } },
|
||||
{ keys = "I", cmd = ":bnext<CR>", opts = { desc = "Next Buffer" } },
|
||||
{ mode = {"n"}, keys = "H", cmd = "<cmd>bprevious<CR>", opts = { desc = "Previous Buffer" } },
|
||||
{ mode = {"n"}, keys = "I", cmd = "<cmd>bnext<CR>", opts = { desc = "Next Buffer" } },
|
||||
{ mode = {"v", "o", "x"}, keys = "H", cmd = "^", opts = { desc = "Start of Line" } },
|
||||
{ mode = {"v", "o", "x"}, keys = "I", cmd = "$", opts = { desc = "End of Line" } },
|
||||
{ mode = mode_arrow, keys = "N", cmd = "5j", opts = { desc = "Up 5 Lines" } },
|
||||
{ mode = mode_arrow, keys = "E", cmd = "5e", opts = { desc = "Down 5 Lines" } },
|
||||
{ keys = "Y", cmd = "y$", opts = { desc = "Yank to End of Line" } },
|
||||
{ keys = "E", cmd = "5k" },
|
||||
{ mode = mode_arrow, keys = "N", cmd = "5j" },
|
||||
{ mode = mode_arrow, keys = "E", cmd = "5k" },
|
||||
{ mode = { "n", "o", "x" }, keys = "l", cmd = "i", opts = { desc = "Insert" } },
|
||||
{ keys = "L", cmd = "I", opts = { desc = "Insert at Start of Line" } },
|
||||
{ mode = mode_arrow, keys = "k", cmd = "n", opts = { desc = "Next Search" } },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue