neovim for vim if installed
This commit is contained in:
2
.aliasrc
2
.aliasrc
@@ -23,7 +23,7 @@ alias ka="killall" \
|
|||||||
upc="sudo pacman -Syu; pkill -RTMIN+8 i3blocks" \
|
upc="sudo pacman -Syu; pkill -RTMIN+8 i3blocks" \
|
||||||
lsp="pacman -Qett --color=always | less"
|
lsp="pacman -Qett --color=always | less"
|
||||||
|
|
||||||
command -v nvim >/dev/null && alias vimdiff="nvim -d" # Use neovim for vimdiff if present.
|
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
|
||||||
|
|
||||||
shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;}
|
shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;}
|
||||||
se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}
|
se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}
|
||||||
|
|||||||
Reference in New Issue
Block a user