aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bb.c18
-rw-r--r--config.def.h1
2 files changed, 0 insertions, 19 deletions
diff --git a/bb.c b/bb.c
index a0cb475..88add91 100644
--- a/bb.c
+++ b/bb.c
@@ -975,24 +975,6 @@ bb_result_t process_cmd(bb_t *bb, const char *cmd)
populate_files(bb, 1);
return BB_OK;
}
- case 'b': { // +bind:
- if (!value) return BB_INVALID;
- char *script = strchr(value, ':');
- if (!script) return BB_INVALID;
- ++script;
- int i;
- for (i = 0; bindings[i].keys[0] > 0; i++) {
- for (int j = 0; bindings[i].keys[j]; j++) {
- if (bindings[i].keys[j] == *value) {
- bindings[i].script = memcheck(strdup(script));
- return BB_OK;
- }
- }
- }
- bindings[i].keys[0] = *value;
- bindings[i].script = memcheck(strdup(script));
- return BB_OK;
- }
case 'c': { // +cd:, +columns:
switch (cmd[1]) {
case 'd': { // +cd:
diff --git a/config.def.h b/config.def.h
index 0cffe5f..ca61af4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -27,7 +27,6 @@
.:[01] Whether to show "." in each directory
..:[01] Whether to show ".." in each directory
- bind:key:script Add or modify a key binding
cd:<path> Navigate to <path>
columns:<columns> Change which columns are visible, and in what order
deselect:<filename> Deselect <filename>