summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <kyoheiu@outlook.com>2021-10-28 06:11:58 +0900
committerKyohei Uto <kyoheiu@outlook.com>2021-10-28 06:11:58 +0900
commit8ef80cc409df31ee15339b8cc32de13f378bc7af (patch)
tree77de0ee792c58f74508244a43ab18ac160a7f6d7
parent0ef34cef7246827944bc134f88b216ffe20f355b (diff)
Add ctrl+c helpv0.1.5
-rw-r--r--README.md1
-rw-r--r--src/help.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4296b4a..e5e942e 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,7 @@ Both relative and absolute available.
| D | Delete and yank item (item will go to the trash directory). |
| y | Yank item. If you yanked other item before, its information is replaced by this one. |
| p | Put yanked item in the current directory. If item with same name exists, copied item will be renamed with the suffix "\_copied". |
+| Ctrl+c | Copy item name to clipboard. |
| t | Toggle sort order (by name <-> by modified time). This change remains until the program ends (sort order will be restored as configured). |
| : | Switch to shell mode. Type command and press Enter to execute it (e.g., `:cd ~` means to change directory to home dir and to refresh the list. You can use any command in the displayed directory, though the list may be broken during the execution). |
| c | Switch to rename mode (enter new name and press Enter to rename the item). |
diff --git a/src/help.rs b/src/help.rs
index 87ea9b6..2f603c7 100644
--- a/src/help.rs
+++ b/src/help.rs
@@ -18,6 +18,7 @@ G :Go to the bottom.
D :Delete and yank item.
y :Yank item.
p :Put yanked item in the current directory.
+Ctrl+c :Copy file name to clipboard.
t :Toggle sort order (name <-> modified time).
: :Switch to shell mode.
c :Switch to rename mode.