Created
October 2, 2017 14:48
-
-
Save bryceml/dc3d3dfa25ac4df6fc04db9892b4bea1 to your computer and use it in GitHub Desktop.
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
map q :q<CR> | |
"cmap w!! w !sudo tee % | |
cmap wr set tw=79 | |
cmap nwr set tw=0 | |
cmap np set list! | |
"cmap sp set spell spelllang=en_us | |
"set autoindent | |
set pastetoggle=<F2> | |
set expandtab | |
"set shiftwidth=4 | |
"set softtabstop=4 | |
set softtabstop=2 | |
"set mouse="" | |
set listchars=tab:▶·,trail:❚,extends:>,precedes:< | |
"set listchars=eol:¬,tab:>·,trail:~,extends:>,precedes:<,space:␣ | |
set list | |
au BufNewFile,BufRead *.sls set filetype=yaml | |
autocmd FileType mail setlocal spell spelllang=en_us | |
autocmd BufRead COMMIT_EDITMSG setlocal spell spelllang=en_us | |
autocmd BufNewFile,BufRead *.md,*.mkd,*.markdown,*.txt set spell spelllang=en_us |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment