add mappings, add disabled line mover keybinds

This commit is contained in:
2024-06-20 20:44:16 -05:00
parent bd348ba8be
commit 310c5fddc7

19
lua/plugins/mappings.lua Normal file
View File

@@ -0,0 +1,19 @@
return {
{
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
mappings = {
-- first key is the mode
n = {
-- ["C-S-Up"] = { ":m -2<CR>", desc = "Move line up" },
-- ["C-S-Down"] = { ":m +1<CR>", desc = "Move line down" },
},
v = {
-- ["<M-k>"] = { ":m '<-2<CR>gv=gv", desc = "move line up" },
-- ["<M-j>"] = { ":m '>+1<CR>gv=gv", desc = "move line down" },
},
},
},
},
}