From b84e428a01fd8dd6d0d0679f17ebc89f648f2d1d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 22 May 2019 14:56:39 -0700 Subject: Added 'e' for $EDITOR --- config.def.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ""` + //////////////////////////////////////////////////////////////////////// + {'e', "$EDITOR \"$@\""}, {'L', PIPE_SELECTION_TO "less"}, {'D', "rm -rf \"$@\"", CLEAR_SELECTION | REFRESH | ONSCREEN}, {'d', "rm -rfi \"$@\"", CLEAR_SELECTION | REFRESH | ONSCREEN}, -- cgit v1.2.3