Compare commits
2 Commits
1318c4983f
...
39c840cd74
Author | SHA1 | Date | |
---|---|---|---|
39c840cd74 | |||
f231828e8d |
@ -60,9 +60,10 @@ sdn-restore () {
|
|||||||
unset SDN_L SDN_P
|
unset SDN_L SDN_P
|
||||||
}
|
}
|
||||||
|
|
||||||
bind -x '"\200": sdn-navigate'
|
# These never occur in UTF-8: \300-\301 \365-\367 \370-\377
|
||||||
bind -x '"\201": sdn-restore'
|
bind -x '"\300": sdn-navigate'
|
||||||
bind '"\eo":"\200\C-m\201"'
|
bind -x '"\301": sdn-restore'
|
||||||
|
bind '"\eo": "\300\C-m\301"'
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
sdn.cpp
1
sdn.cpp
@ -1277,6 +1277,7 @@ fun handle (wint_t c) -> bool {
|
|||||||
auto i = g_normal_actions.find (c);
|
auto i = g_normal_actions.find (c);
|
||||||
switch (i == g_normal_actions.end () ? ACTION_NONE : i->second) {
|
switch (i == g_normal_actions.end () ? ACTION_NONE : i->second) {
|
||||||
case ACTION_CHOOSE_FULL:
|
case ACTION_CHOOSE_FULL:
|
||||||
|
// FIXME: in the root directory, this inserts //item
|
||||||
g.chosen = g.cwd + "/" + current.filename;
|
g.chosen = g.cwd + "/" + current.filename;
|
||||||
g.no_chdir = true;
|
g.no_chdir = true;
|
||||||
g.quitting = true;
|
g.quitting = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user