Add vimtutor alias for nvim

This commit is contained in:
ItsDrike 2021-12-18 03:02:39 +01:00
parent ac4b447bb5
commit c606650c7d
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -100,6 +100,7 @@ command -v md5sum > /dev/null || alias md5sum='md5' # Fallback from `md5sum` to
command -v sha1sum > /dev/null || alias sha1sum='shasum' # Fallback from `sha1sum` to `shasum`
command -v vim > /dev/null && alias vi='vim' # Let vim take precedence over vi
command -v nvim > /dev/null && alias vi='nvim' && alias vim='nvim' # Let nvim take precedence over vi/vim
command -v vimtutor > /dev/null || alias vimtutor='nvim -c Tutor' # Let vimtutor fallback to nvim's tutor
# X11 clipboard (either using xclip or xsel, xsel takes precedence if both)
command -v xclip > /dev/null && alias pbcopy='xclip -selection clipboard'