summaryrefslogtreecommitdiffstats
path: root/src/verb/builtin.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-24 16:28:06 +0200
committerCanop <cano.petrole@gmail.com>2021-05-24 16:28:06 +0200
commit2cae879e39eee7f9caa3c0546a1114bc5ddf4c02 (patch)
tree4d7123f82b2e232b2021ccd04633243e1d62070c /src/verb/builtin.rs
parent10456e8bf21506a2d17f7da4891233502c9f5953 (diff)
stuff
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r--src/verb/builtin.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index 1b7da90..26a12a2 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -133,6 +133,12 @@ pub fn builtin_verbs() -> Vec<Verb> {
StayInBroot,
)
.with_shortcut("mvp"),
+ external(
+ "rename {from-filename:new_filename}",
+ "mv {file} {parent}/{new_filename}",
+ StayInBroot,
+ )
+ .with_key(F2),
internal_bang(start_end_panel)
.with_control_key('p'),
// the char keys for mode_input are handled differently as they're not