summaryrefslogtreecommitdiffstats
path: root/src/verb/builtin.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-04-08 17:22:30 +0200
committerCanop <cano.petrole@gmail.com>2021-04-15 13:00:23 +0200
commit831c10d6c5ccf74d0109b6bc3ffd708a9da61cab (patch)
tree1435f23e6f19549e49f01e52f4cbfc702ec3a06b /src/verb/builtin.rs
parentacade5051d04d14509b5526f48b1bb9de2ee4f70 (diff)
staging area [WIP]
The staging area will be the way to operate on multiple files. See issue #266 (it's far from ready)
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r--src/verb/builtin.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index a9a76cc..1fe54fe 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -180,6 +180,10 @@ pub fn builtin_verbs() -> Vec<Verb> {
internal(refresh).with_key(F5),
internal(select_first).with_key(HOME),
internal(select_last).with_key(END),
+ internal(clear_stage),
+ internal(stage),
+ internal(unstage),
+ internal(toggle_stage),
internal(sort_by_count).with_shortcut("sc"),
internal(sort_by_date).with_shortcut("sd"),
internal(sort_by_size).with_shortcut("ss"),