diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-09-21 16:38:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-09-21 16:38:27 -0700 |
| commit | 65fc83070b1137b572b90af49b5824564786bf20 (patch) | |
| tree | fd3ffd8af2a6d797a181c2580968c1f9aaa47b54 | |
| parent | 57b8b09feb1606832bf69fdfaced3c1282d04e0c (diff) | |
Added backspace key for going to prev directory (instead of just '-')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index a48a682..fba6c73 100644 --- a/config.def.h +++ b/config.def.h @@ -228,7 +228,8 @@ binding_t bindings[] = { {{'\''}, "mark=\"$(ls ~/.config/bb/marks | " PICK("Jump to: ", "") ")\" " "&& bb +cd:\"$(readlink -f ~/.config/bb/marks/\"$mark\")\"", B("Jump")" to a directory"}, - {{'-'}, "test $BBPREVPATH && bb +cd:\"$BBPREVPATH\"", "Go to "B("previous")" directory"}, + {{'-', KEY_BACKSPACE, KEY_BACKSPACE2}, + "test $BBPREVPATH && bb +cd:\"$BBPREVPATH\"", "Go to "B("previous")" directory"}, {{';'}, "bb +cd:'<selection>'", "Show "B("selected files")}, {{'0'}, "bb +cd:\"$BBINITIALPATH\"", "Go to "B("initial directory")}, {{'m'}, "ln -s \"$PWD\" ~/.config/bb/marks/\"$("ASKECHO("Mark: ", "")")\"", B("Mark")" this directory"}, |
