summaryrefslogtreecommitdiffstats
path: root/src/verb/builtin.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-10-16 22:29:24 +0200
committerCanop <cano.petrole@gmail.com>2020-10-16 22:29:24 +0200
commit6e2f61c7eb57707f98a1b0ef5bd7b36d3ced7df3 (patch)
tree9282efc2735e5998dc75e6a944eb2b274ed10e0a /src/verb/builtin.rs
parent2cdb563d4b1aac23fe64a6ba80d8392b4e44a899 (diff)
:filesystems opens a list of mounted filesystems
Beware: this version doesn't compile for raspberry
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r--src/verb/builtin.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index c749a7f..926b19c 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -99,12 +99,16 @@ pub fn builtin_verbs() -> Vec<Verb> {
StayInBroot,
)
.with_shortcut("cpp"),
+ #[cfg(target_os="linux")]
+ internal(filesystems)
+ .with_shortcut("fs"),
// :focus is also hardcoded on Enter on directories
// but ctrl-f is useful for focusing on a file's parent
// (and keep the filter)
internal(focus)
.with_control_key('f'),
- internal(help).with_key(F1).with_shortcut("?"),
+ internal(help)
+ .with_key(F1).with_shortcut("?"),
#[cfg(feature="clipboard")]
internal(input_paste)
.with_control_key('v'),