aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index e0ab01a..2956703 100644
--- a/config.def.h
+++ b/config.def.h
@@ -17,7 +17,12 @@ struct {
const char *command;
int flags;
} bindings[] = {
- // User-defined custom scripts go here:
+ ////////////////////////////////////////////////////////////////////////
+ // User-defined custom scripts go here
+ // Please note that these are sh scripts, not bash scripts, so bash-isms
+ // won't work unless you make your script use `bash -c "<your script>"`
+ ////////////////////////////////////////////////////////////////////////
+ {'e', "$EDITOR \"$@\""},
{'L', PIPE_SELECTION_TO "less"},
{'D', "rm -rf \"$@\"", CLEAR_SELECTION | REFRESH | ONSCREEN},
{'d', "rm -rfi \"$@\"", CLEAR_SELECTION | REFRESH | ONSCREEN},