5

Add a newline after given patterns

view full story
linux-howto

http://vim.wikia.com – can't stop fiddling ← Older revision Revision as of 07:51, September 10, 2010 Line 26: Line 26: <pre> <pre> " Insert a newline after each specified string (or before if use '!'). " Insert a newline after each specified string (or before if use '!'). - command! -bang -nargs=+ -range LineBreakAt <line1>,<line2>call LineBreakAt('<bang>', <f-args>) + " If no arguments, use previous search.   + command! -bang -nargs=* -range LineBreakAt <line1>,<line2>cal (HowTos)