home..
Lf
Gekko Geko / May 2023 (86 Words, 1 Minutes)
lf
linux
terminal
My lf config
Install
Create a folder for the zsh config files.
mkdir -p $HOME/.config/lf
And create the config file.
touch $HOME/.config/lf/lfrc
lfrc
# Basic Settings
set hidden true
set ignorecase true
set icons true
# Stpv
# set previewer stpv
# set cleaner stpvimgclr
# &stpvimg --listen $id
# set previewer ctpv
# set cleaner ctpvclear
# &ctpv -s $id
# &ctpvquit $id
# Custom Functions
cmd open $
cmd mkdir $
cmd mkfile $
cmd setwallpaper %cp "$f" ~/.config/wall.jpg && xwallpaper --zoom "$f"
# Archive
cmd unarchive $
# FZF
cmd fzf_jump $
cmd git_branch $
cmd on-cd &
# Bindings
# Remove some defaults
map m
map o
map n
map "'"
map '"'
map d
map gf :fzf_jump
map au unarchive
# Git
map gb :git_branch
map gp $
map gs $
map gl $
# Basic Functions
map . set hidden!
map DD delete
map p paste
map x cut
map y copy
map <enter> open
map R rename
map mf mkfile
map md mkdir
map bg setwallpaper
map C clear
# Movement
map gd cd ~/Downloads
map gi cd ~/Images
map gc cd ~/.config
© 2024 Gekko Geko
•
Powered by GitHub Pages
•
Theme Moonwalk