diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-04 19:49:35 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-04 19:49:35 +0530 |
commit | b87160aef228469733b68f7eafcdf9deb3ebcbd5 (patch) | |
tree | 852a2a8b7332a3d6d90cd5c88321b690fff41885 /.config/lf/lfrc | |
parent | ce611fad09bf6a82910650a6777e042ecd7cb492 (diff) |
pushing a basic lf config file
Diffstat (limited to '.config/lf/lfrc')
-rw-r--r-- | .config/lf/lfrc | 43 |
1 files changed, 43 insertions, 0 deletions
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<a-b><a-b><a-f> +map <c-c> push C<c-u> # 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." +# }} |