mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-24 10:53:51 -08:00
fix: correctly map scrolling and revert neogit keymaps
This commit is contained in:
parent
b7ec14467a
commit
6f76853957
1 changed files with 22 additions and 13 deletions
|
@ -52,6 +52,24 @@
|
|||
noremap = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-f>";
|
||||
action = "<C-f>zz";
|
||||
options = {
|
||||
silent = true;
|
||||
noremap = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-b>";
|
||||
action = "<C-b>zz";
|
||||
options = {
|
||||
silent = true;
|
||||
noremap = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
action = ":CellularAutomaton make_it_rain<CR>";
|
||||
|
@ -336,30 +354,21 @@
|
|||
};
|
||||
}
|
||||
{
|
||||
action = ":Neogit kind=floating<CR>";
|
||||
action = ":Neogit<CR>";
|
||||
key = "<Leader>gg";
|
||||
options = {
|
||||
silent = true;
|
||||
noremap = true;
|
||||
desc = "Open Neogit in floating window";
|
||||
desc = "Open Neogit";
|
||||
};
|
||||
}
|
||||
{
|
||||
action = ":Neogit<CR>";
|
||||
key = "<Leader>gG";
|
||||
options = {
|
||||
silent = true;
|
||||
noremap = true;
|
||||
desc = "Open Neogit in standalone tab";
|
||||
};
|
||||
}
|
||||
{
|
||||
action = ":Neogit commit<CR>";
|
||||
action = ":Neogit kind=floating commit<CR>";
|
||||
key = "<Leader>gc";
|
||||
options = {
|
||||
silent = true;
|
||||
noremap = true;
|
||||
desc = "Open commit menu";
|
||||
desc = "Quickly open Neogit commit menu";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue