From 61be9528e4b3eeb0e2366f386df1897709b21394 Mon Sep 17 00:00:00 2001
From: Přemysl Eric Janouch
Date: Fri, 23 Oct 2020 03:38:47 +0200
Subject: 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.
---
sdn.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdn.cpp b/sdn.cpp
index caca370..1ad601a 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -442,7 +442,8 @@ static map 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},
--
cgit v1.2.3-70-g09d2