diff options
author | Fritz Rehde <80471265+fritzrehde@users.noreply.github.com> | 2022-10-31 21:04:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 16:04:55 -0400 |
commit | 75081aae369feb8e71977701ec9cb467e2b166ba (patch) | |
tree | 77d27f188b7967e5d565ceff583d3d4258abaf22 /docs | |
parent | 623383f671ece0e74016efea9d9ebdfb8868530f (diff) |
Added `rename_keep_ext` command and refactored rename functions (#221)
* Added rename_keep_ext command and refactored rename_append and rename_prepend
* Use if let instead of match for destructing a single pattern #214
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/keymap.toml.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/configuration/keymap.toml.md b/docs/configuration/keymap.toml.md index ebdb4fa..e78c0fb 100644 --- a/docs/configuration/keymap.toml.md +++ b/docs/configuration/keymap.toml.md @@ -211,6 +211,8 @@ function joshuto() { (end of file name if no extension) - `rename_prepend`: opens the command prompt with the rename command and the current file name filled in. - cursor will be set to the beginning of the file name + - `rename_keep_ext`: opens the command prompt with the rename command and the extension of the current file filled in. + - cursor will be set right before the extension of the file - `copy_filename`: copy the file name to clipboard - clipboard support requires xsel, xclip, or wl-copy |