Simplify .vimrc layout & folds
This commit is contained in:
parent
277de97a36
commit
1d80cbb679
@ -1,4 +1,8 @@
|
|||||||
|
" Surround visual block in #if 0 block
|
||||||
|
vmap 0 V'<O#if 0<Esc>'>o#endif<Esc>
|
||||||
" Set 'comments' to format dashed lists in comments.
|
" Set 'comments' to format dashed lists in comments.
|
||||||
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
|
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
|
||||||
|
" Set 'commentstring' to single line comment style.
|
||||||
|
setlocal commentstring=//%s
|
||||||
" Stop automatic new lines which typing long single liners
|
" Stop automatic new lines which typing long single liners
|
||||||
setlocal textwidth=0
|
setlocal textwidth=0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user