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

24
config/keymaps/tabs.nix Normal file
View file

@ -0,0 +1,24 @@
# Navigate tabs
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/_astrocore_mappings.lua#L103-L104
[
{
key = "]t";
options.desc = "Next tab";
action.__raw = ''
function()
vim.cmd.tabnext()
end
'';
}
{
key = "[t";
options.desc = "Previous tab";
action.__raw = ''
function()
vim.cmd.tabprevious()
end
'';
}
]