mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
Revert "plugins/neogit: Adapt to upstream options changes"
This reverts commit c490fbe5d9
.
This commit is contained in:
parent
22f1c8a246
commit
df4d1a24a2
2 changed files with 11 additions and 64 deletions
|
@ -13,6 +13,10 @@ let
|
|||
in
|
||||
{
|
||||
filewatcher = {
|
||||
interval = helpers.defaultNullOpts.mkUnsignedInt 1000 ''
|
||||
Interval between two refreshes.
|
||||
'';
|
||||
|
||||
enabled = helpers.defaultNullOpts.mkBool true ''
|
||||
When enabled, will watch the `.git/` directory for changes and refresh the status buffer
|
||||
in response to filesystem events.
|
||||
|
@ -308,19 +312,9 @@ in
|
|||
q = "Close";
|
||||
"<c-c><c-c>" = "Submit";
|
||||
"<c-c><c-k>" = "Abort";
|
||||
"<m-p>" = "PrevMessage";
|
||||
"<m-n>" = "NextMessage";
|
||||
"<m-r>" = "ResetMessage";
|
||||
}
|
||||
'' "Mappings for the commit editor.";
|
||||
|
||||
commit_editor_I = mkMappingOption ''
|
||||
{
|
||||
"<c-c><c-c>" = "Submit";
|
||||
"<c-c><c-k>" = "Abort";
|
||||
}
|
||||
'' "Mappings for the commit editor (insert mode)";
|
||||
|
||||
rebase_editor = mkMappingOption ''
|
||||
{
|
||||
p = "Pick";
|
||||
|
@ -337,18 +331,9 @@ in
|
|||
gj = "MoveDown";
|
||||
"<c-c><c-c>" = "Submit";
|
||||
"<c-c><c-k>" = "Abort";
|
||||
"[c" = "OpenOrScrollUp";
|
||||
"]c" = "OpenOrScrollDown";
|
||||
}
|
||||
'' "Mappings for the rebase editor.";
|
||||
|
||||
rebase_editor_I = mkMappingOption ''
|
||||
{
|
||||
"<c-c><c-c>" = "Submit";
|
||||
"<c-c><c-k>" = "Abort";
|
||||
}
|
||||
'' "Mappings for the rebase editor (insert mode).";
|
||||
|
||||
finder = mkMappingOption ''
|
||||
{
|
||||
"<cr>" = "Select";
|
||||
|
@ -361,12 +346,6 @@ in
|
|||
"<tab>" = "MultiselectToggleNext";
|
||||
"<s-tab>" = "MultiselectTogglePrevious";
|
||||
"<c-j>" = "NOP";
|
||||
"<ScrollWheelDown>" = "ScrollWheelDown";
|
||||
"<ScrollWheelUp>" = "ScrollWheelUp";
|
||||
"<ScrollWheelLeft>" = "NOP";
|
||||
"<ScrollWheelRight>" = "NOP";
|
||||
"<LeftMouse>" = "MouseClick";
|
||||
"<2-LeftMouse>" = "NOP";
|
||||
}
|
||||
'' "Mappings for the finder.";
|
||||
|
||||
|
@ -374,16 +353,12 @@ in
|
|||
{
|
||||
"?" = "HelpPopup";
|
||||
A = "CherryPickPopup";
|
||||
d = "DiffPopup";
|
||||
D = "DiffPopup";
|
||||
M = "RemotePopup";
|
||||
P = "PushPopup";
|
||||
X = "ResetPopup";
|
||||
Z = "StashPopup";
|
||||
i = "IgnorePopup";
|
||||
t = "TagPopup";
|
||||
b = "BranchPopup";
|
||||
B = "BisectPopup";
|
||||
w = "WorktreePopup";
|
||||
c = "CommitPopup";
|
||||
f = "FetchPopup";
|
||||
l = "LogPopup";
|
||||
|
@ -408,20 +383,17 @@ in
|
|||
S = "StageUnstaged";
|
||||
"<c-s>" = "StageAll";
|
||||
u = "Unstage";
|
||||
K = "Untrack";
|
||||
U = "UnstageStaged";
|
||||
y = "ShowRefs";
|
||||
"$" = "CommandHistory";
|
||||
"#" = "Console";
|
||||
Y = "YankSelected";
|
||||
"<c-r>" = "RefreshBuffer";
|
||||
"<cr>" = "GoToFile";
|
||||
"<enter>" = "GoToFile";
|
||||
"<c-v>" = "VSplitOpen";
|
||||
"<c-x>" = "SplitOpen";
|
||||
"<c-t>" = "TabOpen";
|
||||
"{" = "GoToPreviousHunkHeader";
|
||||
"}" = "GoToNextHunkHeader";
|
||||
"[c" = "OpenOrScrollUp";
|
||||
"]c" = "OpenOrScrollDown";
|
||||
}
|
||||
'' "Mappings for status.";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue