Improve vmap 0 to play nice with comments
This commit is contained in:
parent
2d90a55ddd
commit
ebc5941b52
@ -1,5 +1,5 @@
|
|||||||
" Surround visual block in #if 0 block
|
" Surround visual block in #if 0 block
|
||||||
vmap 0 V'<O#if 0<Esc>'>o#endif<Esc>
|
vmap 0 V'<[ ki#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.
|
" Set 'commentstring' to single line comment style.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user