fix: set mode for all keymaps
This commit is contained in:
parent
53fdfbb8ba
commit
ec180d7365
13 changed files with 83 additions and 9 deletions
|
|
@ -2,41 +2,49 @@
|
|||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore_mappings.lua#L107-L114
|
||||
[
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-H>";
|
||||
action = "<C-w>h";
|
||||
options.desc = "Move to left split";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-J>";
|
||||
action = "<C-w>j";
|
||||
options.desc = "Move to below split";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-K>";
|
||||
action = "<C-w>k";
|
||||
options.desc = "Move to above split";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-L>";
|
||||
action = "<C-w>l";
|
||||
options.desc = "Move to right split";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-Up>";
|
||||
action = "<Cmd>resize -2<CR>";
|
||||
options.desc = "Resize split up";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-Down>";
|
||||
action = "<Cmd>resize +2<CR>";
|
||||
options.desc = "Resize split down";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-Left>";
|
||||
action = "<Cmd>vertical resize -2<CR>";
|
||||
options.desc = "Resize split left";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-Right>";
|
||||
action = "<Cmd>vertical resize +2<CR>";
|
||||
options.desc = "Resize split right";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue