From b87160aef228469733b68f7eafcdf9deb3ebcbd5 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 4 Apr 2021 19:49:35 +0530 Subject: pushing a basic lf config file --- .config/lf/lfrc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .config/lf/lfrc (limited to '.config/lf/lfrc') diff --git a/.config/lf/lfrc b/.config/lf/lfrc new file mode 100644 index 0000000..05ec490 --- /dev/null +++ b/.config/lf/lfrc @@ -0,0 +1,43 @@ +# Basic Settings +set previewer ~/.config/lf/pv #preview +set preview true +# set drawbox true +# set icons true +set ignorecase true +set scrolloff 1 +set shell zsh + +# unmap keys +map y +map d + +# keybindings +# rename +map C rename # at the end +map c push C +map push C # new rename + +map yy copy +map dd cut +map H set hidden! + + + +# custom commands + +cmd mkdir ${{ + echo "Directory Name: " + read ans + mkdir $ans +}} + +# cmd copyto ${{ +# clear; tput cup $(($(tput lines)/3)); tput bold +# set -f +# clear; echo "Copy to where?" +# dest="$(cut -d' ' -f2- ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf | sed 's|~|$HOME|' )" && +# for x in $fx; do +# eval cp -ivr \"$x\" \"$dest\" +# done && +# notify-send "📋 File(s) copied." "File(s) copies to $dest." +# }} -- cgit v1.2.3