summaryrefslogtreecommitdiffstats
path: root/src/verb/builtin.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-09-24 18:19:07 +0200
committerCanop <cano.petrole@gmail.com>2022-09-24 18:32:33 +0200
commitff7265ca6437b858d9ed8e4472f4b7268a06e949 (patch)
treeddea91278b7a389a56b99f37fc2e1e506aa0d489 /src/verb/builtin.rs
parent109c57db154adbb005a5dc76804ee41bb72655ee (diff)
add the :select internal
This internal selects a visible tree line by its path (either absolute or relative)
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r--src/verb/builtin.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index d4869b6..5d7f642 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -249,6 +249,7 @@ pub fn builtin_verbs() -> Vec<Verb> {
.with_key(key!(ctrl-down)),
internal(select_first),
internal(select_last),
+ internal(select),
internal(clear_stage).with_shortcut("cls"),
internal(stage)
.with_key(key!('+')),
@@ -292,5 +293,6 @@ pub fn builtin_verbs() -> Vec<Verb> {
internal(toggle_trim_root),
internal(total_search).with_key(key!(ctrl-s)),
internal(up_tree).with_shortcut("up"),
+
]
}