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",
},
},
v = {
-- Indentation
[">"] = { ">gv", "indent" },
},
s = {
-- Move up and down when selected
["J"] = { ":m '>+1<CR>gv=gv" },
["K"] = { ":m '<-2<CR>gv=gv" },
-- Move selection up/down with K/J
["J"] = { ":m '>+1<CR>gv=gv", "move selection down" },
["K"] = { ":m '<-2<CR>gv=gv", "move selection up" },
},
i = {

Loading…
Cancel
Save