astro-nvim-v3 - add left hand control wasd + Alt for move block

This commit is contained in:
huyjaky
2024-11-03 17:32:21 +07:00
parent c871e50e7c
commit dc03e0785d
7 changed files with 49 additions and 29 deletions

View File

@@ -1,16 +1,5 @@
-- Plugins related to motion
return {
-- Move lines up/down/left/right
{
"echasnovski/mini.move",
opts = {},
keys = {
{ "<A-h>", mode = { "n", "x" }, desc = "Move line/block left" },
{ "<A-l>", mode = { "n", "x" }, desc = "Move line/block right" },
{ "<A-j>", mode = { "n", "x" }, desc = "Move line/block down" },
{ "<A-k>", mode = { "n", "x" }, desc = "Move line/block up" },
},
},
-- Faster change/delete/replace delimiter pairs
{
"echasnovski/mini.surround",