config/lf: fix & remove superfluous mappings
This commit is contained in:
parent
3828bf88f7
commit
3459d28333
|
@ -10,7 +10,7 @@ set ignorecase true
|
||||||
# Custom Functions
|
# Custom Functions
|
||||||
cmd open ${{
|
cmd open ${{
|
||||||
case $(file --mime-type "$f" -bL) in
|
case $(file --mime-type "$f" -bL) in
|
||||||
text/*|application/json) editright "$f";;
|
text/*|application/json) edit "$f";;
|
||||||
video/*|image/*/application/pdf) xdg-open "$f";;
|
video/*|image/*/application/pdf) xdg-open "$f";;
|
||||||
*) xdg-open "$f" ;;
|
*) xdg-open "$f" ;;
|
||||||
esac
|
esac
|
||||||
|
@ -19,13 +19,13 @@ cmd open ${{
|
||||||
cmd mkdir ${{
|
cmd mkdir ${{
|
||||||
printf "Directory Name: "
|
printf "Directory Name: "
|
||||||
read ans
|
read ans
|
||||||
mkdir -p $ans
|
mkdir $ans
|
||||||
}}
|
}}
|
||||||
|
|
||||||
cmd mkfile ${{
|
cmd mkfile ${{
|
||||||
printf "File Name: "
|
printf "File Name: "
|
||||||
read ans
|
read ans
|
||||||
%editright $ans
|
$EDITOR $ans
|
||||||
}}
|
}}
|
||||||
|
|
||||||
cmd chmod ${{
|
cmd chmod ${{
|
||||||
|
@ -175,7 +175,6 @@ map <enter> open
|
||||||
map mf mkfile
|
map mf mkfile
|
||||||
map mr sudomkfile
|
map mr sudomkfile
|
||||||
map md mkdir
|
map md mkdir
|
||||||
map ms $mkscript
|
|
||||||
map ch chmod
|
map ch chmod
|
||||||
map bg setwallpaper
|
map bg setwallpaper
|
||||||
map o open_config
|
map o open_config
|
||||||
|
@ -189,66 +188,10 @@ map U unselect
|
||||||
|
|
||||||
# Movement
|
# Movement
|
||||||
map gtr cd ~/.local/share/Trash/files
|
map gtr cd ~/.local/share/Trash/files
|
||||||
map gus cd /run/media/brodie
|
|
||||||
|
|
||||||
map gv. cd ~/videos
|
|
||||||
map gva cd ~/videos/anime
|
|
||||||
|
|
||||||
map gy. cd ~/videos/youtube
|
|
||||||
map gyt cd ~/videos/youtube/ToUpload
|
|
||||||
map gyu cd ~/videos/youtube/Uploaded
|
|
||||||
map gya cd ~/videos/youtube/asset
|
|
||||||
map go. cd ~/videos/podcast
|
|
||||||
map got cd ~/videos/podcast/ToUpload
|
|
||||||
map gou cd ~/videos/podcast/Uploaded
|
|
||||||
|
|
||||||
map gp. cd ~/pictures
|
|
||||||
map gpm cd ~/pictures/mpvscreenshots
|
|
||||||
map gpa cd ~/pictures/Anime
|
|
||||||
map gps cd ~/pictures/screenshots
|
|
||||||
|
|
||||||
map gw. cd ~/pictures/Wallpapers
|
|
||||||
map gww cd ~/pictures/Wallpapers/Wallpapers
|
|
||||||
map gwm cd ~/pictures/Wallpapers/MobileWallpapers
|
|
||||||
|
|
||||||
map gt. cd ~/documents/Textbooks
|
|
||||||
map gt1 cd ~/documents/Textbooks/1stYear
|
|
||||||
map gt2 cd ~/documents/Textbooks/2ndYear
|
|
||||||
map gt3 cd ~/documents/Textbooks/3rdYear
|
|
||||||
map gu3 cd ~/documents/Uni/3rdYear
|
|
||||||
map gd cd ~/documents
|
|
||||||
|
|
||||||
map gD cd ~/downloads
|
|
||||||
map ge cd ~/desktop
|
|
||||||
|
|
||||||
map gs. cd ~/scripts
|
|
||||||
map gsl cd ~/scripts/lf
|
|
||||||
map gsa cd ~/scripts/alsa
|
|
||||||
map gsi cd ~/scripts/i3
|
|
||||||
map gse cd ~/scripts/lemonbar
|
|
||||||
map gsp cd ~/scripts/polybar
|
|
||||||
map gsb cd ~/scripts/bspwm
|
|
||||||
map gsu cd ~/scripts/pulse
|
|
||||||
map gdt cd ~/scripts/transmission
|
|
||||||
|
|
||||||
map gr. cd ~/repos
|
|
||||||
map grb cd ~/repos/bookmenu
|
|
||||||
map grf cd ~/repos/cleanfullscreen
|
|
||||||
map grm cd ~/repos/dmenu
|
|
||||||
map grd cd ~/repos/dotfiles
|
|
||||||
map gri cd ~/repos/init
|
|
||||||
map grk cd ~/repos/kanban-board
|
|
||||||
map grl cd ~/repos/lbryurlconvert
|
|
||||||
map grP cd ~/repos/PerlProjects
|
|
||||||
map grr cd ~/repos/reading-list
|
|
||||||
map grs cd ~/repos/st
|
|
||||||
map grw cd ~/repos/website
|
|
||||||
|
|
||||||
|
map gd cd $DATA/4-incubator/downloads
|
||||||
map gc cd ~/.config
|
map gc cd ~/.config
|
||||||
map gC cd ~/.local/share/cell
|
|
||||||
map gl cd ~/.local
|
map gl cd ~/.local
|
||||||
map gE cd /etc
|
map gE cd /etc
|
||||||
map gU. cd /usr
|
map gU. cd /usr
|
||||||
map gUs cd /usr/share
|
map gUs cd /usr/share
|
||||||
map md kdir
|
|
||||||
map br $vimv $fx
|
|
||||||
|
|
Loading…
Reference in New Issue