This commit is contained in:
flyingscorpio@arch-desktop 2020-12-22 18:55:02 +01:00
parent b6600e1bc5
commit c8c9b2b8a0
2 changed files with 7 additions and 0 deletions

View file

@ -41,6 +41,10 @@ alias l='ls -CF'
alias envactivate='source .env/bin/activate'
alias visudo='export EDITOR=$EDITOR && sudo -E visudo'
if [ -x /usr/bin/nvim ]; then
alias vim='nvim'
fi
# For common errors
alias :q=' exit'
alias :x=' exit'

3
dotfiles/vim/init.vim Normal file
View file

@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc