Corrected aliases for vim. Added hl to vim

This commit is contained in:
Sage Vaillancourt 2020-04-21 14:31:55 -04:00
parent 68b68b284b
commit 80237be46f
2 changed files with 7 additions and 7 deletions

View File

@ -9,14 +9,14 @@ alias sudo='echo -e "\e[1;31m" && sudo'
# Edit current wisdom with `wim` # Edit current wisdom with `wim`
alias wim="vim ~/.wisdom" alias wim="vim ~/.wisdom"
alias vim="vi" alias vim="vim"
alias cim="vi" alias cim="vim"
# Use `vimc` to edit ~/.vimrc # Use `vimc` to edit ~/.vimrc
alias v="vi ~/.vimrc" alias v="vim ~/.vimrc"
alias vimc="vi ~/.vimrc" alias vimc="vim ~/.vimrc"
alias cimc="vi ~/.vimrc" alias cimc="vim ~/.vimrc"
alias vims="vi -S" alias vims="vim -S"
# Use `zz` to edit ~/.zshrc # Use `zz` to edit ~/.zshrc
alias zz='vim ~/.zshrc && source ~/.zshrc' alias zz='vim ~/.zshrc && source ~/.zshrc'

2
.vimrc
View File

@ -9,8 +9,8 @@ set nocp
so ~/.vim/user/files.vim so ~/.vim/user/files.vim
syntax enable
colorscheme desert colorscheme desert
syntax enable
set tsr+=~/.vim/thesaurus/thesaurus-vim-en set tsr+=~/.vim/thesaurus/thesaurus-vim-en
set dict+=/usr/share/dict/words set dict+=/usr/share/dict/words