diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-06-03 15:56:10 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-06-03 15:56:10 +0530 |
commit | 2fc115bddc85e24641a0a98c5771f071e19b7082 (patch) | |
tree | 77e47d3749cb20929cba1527cb8dbd397623119d /src | |
parent | 709c0d209e1ae2241a4fa42f6d48a3afecae951e (diff) | |
download | nnn-2fc115bddc85e24641a0a98c5771f071e19b7082.tar.gz |
Esc to send hovered path to FIFO
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 11 | ||||
-rw-r--r-- | src/nnn.h | 3 |
2 files changed, 7 insertions, 7 deletions
@@ -4138,29 +4138,28 @@ static void show_help(const char *path) "9G ^E End%-21c+ Toggle auto-advance\n" "9b ^/ Bookmark key%-12c, Pin CWD\n" "a1-4 Context 1-4%-7c(Sh)Tab Cycle context\n" - "c/ Filter%-17c^N Toggle type-to-nav\n" - "aEsc Exit prompt%-12c^L Redraw/clear prompt\n" + "aEsc Send to FIFO%-11c^L Redraw\n" "c? Help, conf%-13c^G QuitCD\n" "cq Quit context%-7c^Q (Q) Quit (with err)\n" + "1FILTER & PROMPT\n" + "c/ Filter%-17c^N Toggle type-to-nav\n" + "aEsc Exit prompt%-12c^L Clear prompt/last filter\n" "1FILES\n" "9o ^O Open with...%-12cn Create new/link\n" "9f ^F File details%-12cd Detail mode toggle\n" "b^R Rename/dup%-14cr Batch rename\n" "cz Archive%-17ce Edit in EDITOR\n" + "c* Toggle exe%-14c> Export list\n" "5Space ^J (Un)select%-11cm ^K Mark range/clear\n" "9p ^P Copy sel here%-11ca Select all\n" "9v ^V Move sel here%-8cw ^W Cp/mv sel as\n" "9x ^X Delete%-18cE Edit sel\n" - "c* Toggle exe%-14c> Export list\n" "1MISC\n" "8Alt ; Select plugin%-11c= Launch app\n" "9! ^] Shell%-19c] Cmd prompt\n" "cc Connect remote%-10cu Unmount\n" "9t ^T Sort toggles%-12cs Manage session\n" "cT Set time type%-11c0 Lock\n" -#ifndef NOFIFO - "c| Send to FIFO%-0c\n" -#endif }; fd = create_tmp_file(); @@ -267,7 +267,8 @@ static struct key bindings[] = { /* Quit with an error code */ { 'Q', SEL_QUITFAIL }, #ifndef NOFIFO - { '|', SEL_FIFO }, + /* Send hovered path to NNN_FIFO */ + { 27, SEL_FIFO }, #endif #ifndef NOMOUSE { KEY_MOUSE, SEL_CLICK }, |