diff options
Diffstat (limited to 'etc/lf/lfrc')
-rw-r--r-- | etc/lf/lfrc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/lf/lfrc b/etc/lf/lfrc new file mode 100644 index 0000000..aa3ec00 --- /dev/null +++ b/etc/lf/lfrc @@ -0,0 +1,18 @@ +# sets +set shell sh +set shellopts '-eu' +set ifs "\n" + +set promptfmt "\033[1;31m%u\033[0;32m@\033[1;34m%h\033[0m\033[0;36m▐\033[7m%w/%f\033[0;36m▍\033[0m" +# cmds +cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1 + +# binds +map D delete +map a push %mkdir<space> +map r push :rename<space> +map <enter> shell +map R reload +map x $$f +map X !$f +map t ttmsh |