refactor(plugins/astrocore): move some settings out of plugin

This commit is contained in:
Nicolas Goudry 2024-06-07 22:51:48 +02:00
parent 2b6a512de0
commit 1677fceed9
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
15 changed files with 720 additions and 778 deletions

View file

@ -0,0 +1,28 @@
# Improved terminal navigation
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore_mappings.lua#L121-L124
[
{
key = "<C-H>";
mode = [ "t" ];
action = "<Cmd>wincmd h<CR>";
options.desc = "Terminal left window navigation";
}
{
key = "<C-J>";
mode = [ "t" ];
action = "<Cmd>wincmd j<CR>";
options.desc = "Terminal down window navigation";
}
{
key = "<C-K>";
mode = [ "t" ];
action = "<Cmd>wincmd k<CR>";
options.desc = "Terminal up window navigation";
}
{
key = "<C-L>";
mode = [ "t" ];
action = "<Cmd>wincmd l<CR>";
options.desc = "Terminal right window navigation";
}
]