diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-23 03:38:47 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-23 03:38:47 +0200 |
commit | 61be9528e4b3eeb0e2366f386df1897709b21394 (patch) | |
tree | 5a24964592c6d2ea889bda3a8ea68e6689c2ff74 /sdn.cpp | |
parent | 231348597066a5c70a89c70410371d1481fb3ae6 (diff) | |
download | sdn-61be9528e4b3eeb0e2366f386df1897709b21394.tar.gz sdn-61be9528e4b3eeb0e2366f386df1897709b21394.tar.xz sdn-61be9528e4b3eeb0e2366f386df1897709b21394.zip |
Bind M-Up to the "parent" action
Taken from Windows Explorer, which previously used Backspace.
We might want to use h/l for parent/choose by default.
Diffstat (limited to 'sdn.cpp')
-rw-r--r-- | sdn.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -442,7 +442,8 @@ static map<wint_t, action> g_normal_actions { {'H', ACTION_HIGH}, {'M', ACTION_MIDDLE}, {'L', ACTION_LOW}, {KEY (PPAGE), ACTION_PAGE_PREVIOUS}, {KEY (NPAGE), ACTION_PAGE_NEXT}, {CTRL ('Y'), ACTION_SCROLL_UP}, {CTRL ('E'), ACTION_SCROLL_DOWN}, - {'c', ACTION_CHDIR}, {'&', ACTION_GO_START}, {'~', ACTION_GO_HOME}, + {'c', ACTION_CHDIR}, {ALT | KEY (UP), ACTION_PARENT}, + {'&', ACTION_GO_START}, {'~', ACTION_GO_HOME}, {'/', ACTION_SEARCH}, {'s', ACTION_SEARCH}, {ALT | 'e', ACTION_RENAME_PREFILL}, {'e', ACTION_RENAME}, {'t', ACTION_TOGGLE_FULL}, {ALT | 't', ACTION_TOGGLE_FULL}, |