# Due to the fact that ueberzug is no longer maintained and # adds extra complexity, it is not included in the configuration." # Options set incsearch set scrolloff 4 # Smooth scrolling # Bindings map shell map m push $mkdir map t push $touch map D trash map $lf -remote "send $id select \"$(fzf --reverse)\"" map x $$f # Execute current file (must be executable) map zb :{{ set sortby natural; set info size; set preview; set ratios 5:2; }} map zz :{{ set preview; set ratios 1:2:3; }} # Directory change keybinds (some overwrite default ones) # and might fail on some terminal emulators map cd ~/ map cd ~/proj map cd ~/tproj map cd /tmp map cd ~/work # Theme set cursoractivefmt "\033[0;1;7m" set cursorparentfmt "\033[0;1;7m" set tagfmt "\033[32;1;7m" set rulerfmt "\033[32;1;7m" set promptfmt "\033[48;1;234m %w/%f" cmd trash ${{ set -f mkdir -p ~/.trash for entry in $fx; do trash_path=~/.trash/$(basename -- "${entry}") if [ -e "${trash_path}" ]; then printf '%s exists\n' "${trash_path}" >&2 trash_path="${trash_path}_$(date +%s)_$RANDOM" printf 'moving to %s\n' "${trash_path}" >&2 fi mv -- "${entry}" "${trash_path}" done }}