Last active
September 8, 2016 06:41
-
-
Save ryotako/6732d28730a76c2c64f4e03d691d5492 to your computer and use it in GitHub Desktop.
switch.vimでmarkdownのチェックボックスをトグルする設定
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
" switch.vim | |
let g:switch_custom_definitions = | |
\[ | |
\ { '\v^( *- *)([^ \[].*)$' : '\1[ ] \2' }, | |
\ { '\v^( *- *)\[ \](.*)$' : '\1[x]\2' }, | |
\ { '\v^( *- *)\[x\] ?(.*)$' : '\1\2' }, | |
\] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment