Skip to content

Commit

Permalink
Vim: Allow different comment types for markups
Browse files Browse the repository at this point in the history
  • Loading branch information
tommystanton committed Dec 1, 2015
1 parent 97c9a00 commit 01a8efd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vimrc
Expand Up @@ -57,8 +57,8 @@ set titleold= " restore to empty string if can't restore old title

" XXX There can't be comments trailing these commands, and the trailing
" control character (via CTRL-V CTRL-M) is necessary.
" Find the next markup, ie. "# TODO" or "# XXX"
map ,ma /#\s*[A-Z]\{3,4\}\>
" Find the next markup, ie. '# TODO', '//XXX', or '" FIXME'
map ,ma /[#/"]\s*[A-Z]\{3,4\}\>
" Find the version control merge conflict lines (ie. "<<<<<<< HEAD")
" (Hmm, the backslashes before pipes needed to be escaped here...)
map ,me /^\(<\\|=\\|>\)\{3,\}
Expand Down

0 comments on commit 01a8efd

Please sign in to comment.