Skip to content

Instantly share code, notes, and snippets.

@guyhughes
Last active August 29, 2015 14:23
Show Gist options
  • Save guyhughes/31b75d6a00d6ba7e111b to your computer and use it in GitHub Desktop.
Save guyhughes/31b75d6a00d6ba7e111b to your computer and use it in GitHub Desktop.
Vim move foldmarkers to BOL
%s:^"\s*\(.\{-1,}\)\("\=\)\({{{[1-4]\=\)$:"\3 \1:
:%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