fix: NvChad selection move up/down

laptop
Elias Almqvist 10 months ago
parent 5cf86f505a
commit b7b552bcaa
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 11
      nvchad/.config/nvim/lua/custom/mappings.lua

@ -13,14 +13,13 @@ M.general = {
"formatting", "formatting",
}, },
}, },
v = { v = {
-- Indentation
[">"] = { ">gv", "indent" }, [">"] = { ">gv", "indent" },
}, -- Move selection up/down with K/J
["J"] = { ":m '>+1<CR>gv=gv", "move selection down" },
s = { ["K"] = { ":m '<-2<CR>gv=gv", "move selection up" },
-- Move up and down when selected
["J"] = { ":m '>+1<CR>gv=gv" },
["K"] = { ":m '<-2<CR>gv=gv" },
}, },
i = { i = {

Loading…
Cancel
Save