aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-07-17 14:44:30 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-07-17 14:47:50 +0200
commite17c5e20830b36b03a0adf8c6c7d1fee31e594d0 (patch)
treea1e434093aaac65134d74958a67ab31e09cda681
parent9bd3739122d99951e9fe1b494fd8f10d7613b5db (diff)
downloadsdn-e17c5e20830b36b03a0adf8c6c7d1fee31e594d0.tar.gz
sdn-e17c5e20830b36b03a0adf8c6c7d1fee31e594d0.tar.xz
sdn-e17c5e20830b36b03a0adf8c6c7d1fee31e594d0.zip
Bind F6 to a rename prompt
Mostly just so that the F7 binding isn't completely alone. Since Shift-F6 isn't something we can just bind to, use a prefill.
-rw-r--r--sdn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdn.cpp b/sdn.cpp
index 30b0495..0078f31 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -441,7 +441,7 @@ static map<wint_t, action> g_normal_actions {
{'&', ACTION_GO_START}, {'~', ACTION_GO_HOME},
{'/', ACTION_SEARCH}, {'s', ACTION_SEARCH},
{ALT | 'e', ACTION_RENAME_PREFILL}, {'e', ACTION_RENAME},
- {KEY (F (7)), ACTION_MKDIR},
+ {KEY (F (6)), ACTION_RENAME_PREFILL}, {KEY (F (7)), ACTION_MKDIR},
{'t', ACTION_TOGGLE_FULL}, {ALT | 't', ACTION_TOGGLE_FULL},
{'R', ACTION_REVERSE_SORT}, {ALT | '.', ACTION_SHOW_HIDDEN},
{CTRL ('L'), ACTION_REDRAW}, {'r', ACTION_RELOAD},