diff --git a/.config/aliasrc b/.config/aliasrc index e07ee7a8..43f75151 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -16,8 +16,8 @@ alias \ # Colorize commands when possible. alias \ - ls="ls -hN --color=auto --group-directories-first" \ - grep="grep --color=auto" \ + ls="ls --all --literal -l --human-readable --color=auto --group-directories-first" \ + grep="grep -n --color=auto" \ diff="diff --color=auto" \ ccat="highlight --out-format=ansi" @@ -32,9 +32,6 @@ alias \ e="$EDITOR" \ v="$EDITOR" \ p="sudo pacman" \ - xi="sudo xbps-install" \ - xr="sudo xbps-remove -R" \ - xq="xbps-query" # This alias is important. It enables the `pauseallmpv` command. alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" diff --git a/.config/directories b/.config/directories index 92ec251f..38613693 100644 --- a/.config/directories +++ b/.config/directories @@ -1,10 +1,10 @@ # You can add comments to these files with # -h ~/ +cf ~/.config d ~/downloads gh ~/github +h ~/ m ~/music -pp ~/pictures -vv ~/videos -cf ~/.config -sc ~/.local/bin mn /mnt +pp ~/pictures +sc ~/.local/bin +vv ~/videos diff --git a/.config/files b/.config/files index b34f1849..b7e654ec 100644 --- a/.config/files +++ b/.config/files @@ -1,15 +1,17 @@ -bf ~/.config/files -bd ~/.config/directories -bw ~/.config/bookmarks -cfa ~/.config/aliasrc -cfz $ZDOTDIR/.zshrc -cfv ~/.config/nvim/init.vim -cfm ~/.config/mutt/muttrc -cfd ~/.Xdefaults -cfu ~/.config/newsboat/urls -cfn ~/.config/newsboat/config -cfmb ~/.config/ncmpcpp/bindings -cfmc ~/.config/ncmpcpp/config -cfk ~/.config/sxhkd/sxhkdrc -cfi ~/.config/i3/config -cfb ~/.config/i3blocks/config +bd ~/.config/directories +bf ~/.config/files +bw ~/.config/bookmarks +cfa ~/.config/aliasrc +cfb ~/.config/i3blocks/config +cfd ~/.Xdefaults +cfi ~/.config/i3/config +cfk ~/.config/sxhkd/sxhkdrc +cfm ~/.config/mutt/muttrc +cfmb ~/.config/ncmpcpp/bindings +cfmc ~/.config/ncmpcpp/config +cfn ~/.config/newsboat/config +cfp ~/.config/polybar/config +cfu ~/.config/newsboat/urls +cfv ~/.config/nvim/init.vim +cfz $ZDOTDIR/.zshrc + diff --git a/.config/ranger/shortcuts.conf b/.config/ranger/shortcuts.conf index e69de29b..c62838ce 100644 --- a/.config/ranger/shortcuts.conf +++ b/.config/ranger/shortcuts.conf @@ -0,0 +1,52 @@ +map gcf cd ~/.config +map tcf tab_new ~/.config +map mcf shell mv -v %s ~/.config +map Ycf shell cp -rv %s ~/.config +map gd cd ~/downloads +map td tab_new ~/downloads +map md shell mv -v %s ~/downloads +map Yd shell cp -rv %s ~/downloads +map ggh cd ~/github +map tgh tab_new ~/github +map mgh shell mv -v %s ~/github +map Ygh shell cp -rv %s ~/github +map gh cd ~/ +map th tab_new ~/ +map mh shell mv -v %s ~/ +map Yh shell cp -rv %s ~/ +map gm cd ~/music +map tm tab_new ~/music +map mm shell mv -v %s ~/music +map Ym shell cp -rv %s ~/music +map gmn cd /mnt +map tmn tab_new /mnt +map mmn shell mv -v %s /mnt +map Ymn shell cp -rv %s /mnt +map gpp cd ~/pictures +map tpp tab_new ~/pictures +map mpp shell mv -v %s ~/pictures +map Ypp shell cp -rv %s ~/pictures +map gsc cd ~/.local/bin +map tsc tab_new ~/.local/bin +map msc shell mv -v %s ~/.local/bin +map Ysc shell cp -rv %s ~/.local/bin +map gvv cd ~/videos +map tvv tab_new ~/videos +map mvv shell mv -v %s ~/videos +map Yvv shell cp -rv %s ~/videos +map bd shell $EDITOR ~/.config/directories +map bf shell $EDITOR ~/.config/files +map bw shell $EDITOR ~/.config/bookmarks +map cfa shell $EDITOR ~/.config/aliasrc +map cfb shell $EDITOR ~/.config/i3blocks/config +map cfd shell $EDITOR ~/.Xdefaults +map cfi shell $EDITOR ~/.config/i3/config +map cfk shell $EDITOR ~/.config/sxhkd/sxhkdrc +map cfm shell $EDITOR ~/.config/mutt/muttrc +map cfmb shell $EDITOR ~/.config/ncmpcpp/bindings +map cfmc shell $EDITOR ~/.config/ncmpcpp/config +map cfn shell $EDITOR ~/.config/newsboat/config +map cfp shell $EDITOR ~/.config/polybar/config +map cfu shell $EDITOR ~/.config/newsboat/urls +map cfv shell $EDITOR ~/.config/nvim/init.vim +map cfz shell $EDITOR $ZDOTDIR/.zshrc