[vim] A couple random vimrc updates
This commit is contained in:
parent
b35fdf2718
commit
4b61f1b05a
2 changed files with 3 additions and 7 deletions
|
@ -1 +1,2 @@
|
|||
set spell
|
||||
setlocal tw=80
|
||||
setlocal spell
|
||||
|
|
7
vimrc
7
vimrc
|
@ -142,7 +142,7 @@ set copyindent " copy previous indentation on autoindent
|
|||
set scrolloff=3 " scroll 3 lines ahead of point
|
||||
set sidescrolloff=5 " scroll 5 columns ahead of point
|
||||
|
||||
set pastetoggle=<F1> " toggle paste mode with F12
|
||||
set pastetoggle=<F1> " toggle paste mode with this
|
||||
|
||||
" completion menu
|
||||
set wildmenu
|
||||
|
@ -373,11 +373,6 @@ if has('autocmd')
|
|||
" autocmd BufWritePost *.snippets :call ReloadSnippets(expand('%:t:r'))
|
||||
"augroup END
|
||||
|
||||
augroup WrapAt80
|
||||
autocmd!
|
||||
autocmd FileType text setlocal tw=80
|
||||
augroup END
|
||||
|
||||
" Clean whitespace before saving: Python, C, HTML, and Objective-C
|
||||
augroup StripTrailingWhitespace
|
||||
autocmd!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue