Last active
August 29, 2015 14:23
-
-
Save guyhughes/31b75d6a00d6ba7e111b to your computer and use it in GitHub Desktop.
Vim move foldmarkers to BOL
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
%s:^"\s*\(.\{-1,}\)\("\=\)\({{{[1-4]\=\)$:"\3 \1: |
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
:%s:^#\s*\(.\{-1,}\)\(#\=\)\({{{[1-4]\=\)$:#\3 \1:c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment