diff options
author | Canop <cano.petrole@gmail.com> | 2021-04-24 14:57:57 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-04-24 14:57:57 +0200 |
commit | e09bb4b283e4dd808133167d107fad50a70cceb9 (patch) | |
tree | 85998eb93176891bc943724f65cf141a38b0b1e1 /src/verb/builtin.rs | |
parent | b8d15ce1940d1a84b1abd2739d1d4818455819e7 (diff) |
add a keybord trigger for :toggle_stage in standard mode
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r-- | src/verb/builtin.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs index 22ce21b..9fb0d41 100644 --- a/src/verb/builtin.rs +++ b/src/verb/builtin.rs @@ -185,7 +185,8 @@ pub fn builtin_verbs() -> Vec<Verb> { .with_char_key('+'), internal(unstage) .with_char_key('-'), - internal(toggle_stage), + internal(toggle_stage) + .with_control_key('g'), internal(open_staging_area), internal(close_staging_area), internal(toggle_staging_area).with_shortcut("tsa"), |