Aliased vim as nvim.

This commit is contained in:
sheldonmlee 2021-04-26 13:40:00 +08:00
parent f2561b720c
commit 7a4672075f

View File

@ -1,18 +1,34 @@
#
# CLI
#
#.dotfiles repo alias #.dotfiles repo alias
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# show file sizes alias and sort by size # show file sizes alias and sort by size
alias sizes='du -hs .[^.]* * | sort -h' alias sizes='du -hs .[^.]* * | sort -h'
# tmux '-2' colors
alias tmux="tmux -2"
# bash tree alias # bash tree alias
alias gittree="git log --all --decorate --oneline --graph" alias gittree="git log --all --decorate --oneline --graph"
# open spotify web client on firefox
alias spw="firefox --new-window https://open.spotify.com/ & exit"
# run pulsemixer
alias mixer="pulsemixer"
# turn screen off # turn screen off
alias screenoff="sleep 1; xset dpms force off" alias screenoff="sleep 1; xset dpms force off"
#
# TUI
#
# run pulsemixer
alias mixer="pulsemixer"
# use nvim instead of vim
alias vim="nvim"
#
# GUI
#
# tmux '-2' colors
alias tmux="tmux -2"
# matlab # matlab
alias matlab="matlab & disown" alias matlab="matlab & disown"
# bpytop # bpytop
alias btop="bpytop" alias btop="bpytop"
# open spotify web client on firefox
alias spw="firefox --new-window https://open.spotify.com/ & exit"