From 65fc83070b1137b572b90af49b5824564786bf20 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 21 Sep 2019 16:38:27 -0700 Subject: [PATCH] Added backspace key for going to prev directory (instead of just '-') --- config.def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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:''", "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"},