mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "2d0664592cf4f8e3ba31507f79b7dd09ac044434" and "2a22030e3379356c4a7d43a2eb5e59f74e350fb4" have entirely different histories.
2d0664592c
...
2a22030e33
1 changed files with 1 additions and 6 deletions
|
|
@ -220,16 +220,11 @@ set commentstring=//%s
|
|||
" Formatting {{{
|
||||
|
||||
" -o: don't insert a comment after hitting 'o' or 'O' in the Normal mode
|
||||
" +r: however, insert a comment after pressing Enter in the Insert mode
|
||||
" -t: don't auto-wrap regular code while typing
|
||||
" -c: don't auto-wrap comments while typing
|
||||
augroup vimrc-editing-formatting
|
||||
autocmd!
|
||||
autocmd FileType *
|
||||
\ setlocal formatoptions-=o
|
||||
\|setlocal formatoptions+=r
|
||||
\|setlocal formatoptions-=t
|
||||
\|setlocal formatoptions-=c
|
||||
autocmd FileType * set formatoptions-=o | set formatoptions-=t | set formatoptions-=c
|
||||
augroup END
|
||||
|
||||
" }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue