From 88d67af2eb2713ff1b0c08af84880b0eac8ffc31 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 19 Aug 2023 21:13:19 +0800 Subject: [PATCH] docs: add `copy` command --- config/docs/keymap.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/docs/keymap.md b/config/docs/keymap.md index b3dad095..2bc77893 100644 --- a/config/docs/keymap.md +++ b/config/docs/keymap.md @@ -60,6 +60,13 @@ - create: Create a file or directory (ends with `/` for directory). - rename: Rename a file or directory. +- copy: Copy the path of files or directories that are selected or hovered on. + + - `path`: Copy the full absolute path. + - `dirname`: Copy the path of the parent directory. + - `filename`: Copy the name of the file. + - `name_without_ext`: Copy the name of the file without the extension. + - shell: Run a shell command. - `exec`: Optional, command template to be run.