From 0f7dee03f70a6d298c6a67d47fcf74d079d6d64d Mon Sep 17 00:00:00 2001 From: rqdmap <55649208+rqdmap@users.noreply.github.com> Date: Sun, 3 Sep 2023 01:50:53 +0800 Subject: feat: Add rename_file_append_ext command (#423) * feat: Add rename_file_append_ext command * format code style * swap functionality of two rename command * rename_file_append_base finds the last dot pattern --- docs/configuration/keymap.toml.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/configuration/keymap.toml.md b/docs/configuration/keymap.toml.md index 68a020b..759784f 100644 --- a/docs/configuration/keymap.toml.md +++ b/docs/configuration/keymap.toml.md @@ -286,8 +286,12 @@ function joshuto() { ### `rename_append`: opens the command prompt with the rename command and the current file name filled in. -- cursor will be set right before the extension of the file - (end of file name if no extension) +- cursor will be set to the end of the file name + +### `rename_append_base`: opens the command prompt with the rename command and the current file name filled in. + +- cursor will be set right after the base name of the file. + (beginning of the file name if no base name) ### `rename_prepend`: opens the command prompt with the rename command and the current file name filled in. -- cgit v1.2.3