Created
November 23, 2021 16:28
-
-
Save davidxia/2113a27dc71caa0f53a32933edac885a to your computer and use it in GitHub Desktop.
basic ~/.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set number | |
set nojoinspaces | |
set textwidth=100 | |
au FileType gitcommit setlocal textwidth=72 | |
" put .swp and backups outside of the directory to avoid triggering file watchers | |
set directory=$HOME/.vim/swapfiles// | |
set backupdir=$HOME/.vim/backups// | |
set undodir=$HOME/.vim/undos// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment