profile: add additional keymaps for the gitsign plugin
Added <leader>gS to stash an entire file. Added <leader>gR to restore an entire file.
This commit is contained in:
parent
592f9251e5
commit
a26b0bd7c3
1 changed files with 2 additions and 0 deletions
|
@ -35,7 +35,9 @@ in
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
{ mode = "n"; lhs = localLeader "gs"; rhs = raw "${gs}.stage_hunk"; }
|
{ mode = "n"; lhs = localLeader "gs"; rhs = raw "${gs}.stage_hunk"; }
|
||||||
|
{ mode = "n"; lhs = localLeader "gS"; rhs = raw "${gs}.stage_buffer"; }
|
||||||
{ mode = "n"; lhs = localLeader "gr"; rhs = raw "${gs}.reset_hunk"; }
|
{ mode = "n"; lhs = localLeader "gr"; rhs = raw "${gs}.reset_hunk"; }
|
||||||
|
{ mode = "n"; lhs = localLeader "gR"; rhs = raw "${gs}.reset_buffer"; }
|
||||||
{ mode = "n"; lhs = localLeader "gu"; rhs = raw "${gs}.undo_stage_hunk"; }
|
{ mode = "n"; lhs = localLeader "gu"; rhs = raw "${gs}.undo_stage_hunk"; }
|
||||||
{ mode = "n"; lhs = localLeader "gp"; rhs = raw "${gs}.preview_hunk"; }
|
{ mode = "n"; lhs = localLeader "gp"; rhs = raw "${gs}.preview_hunk"; }
|
||||||
{ mode = "n"; lhs = localLeader "gb"; rhs = lambda0 (call "${gs}.blame_line" { full = true; }); }
|
{ mode = "n"; lhs = localLeader "gb"; rhs = lambda0 (call "${gs}.blame_line" { full = true; }); }
|
||||||
|
|
Loading…
Reference in a new issue