There's :TOhtml that uses 2html.vim; is there a 2ansi.vim that gives me a text file with ansi escape sequences for colors?

raf256

I have line:foo {a1} bar {b1}and second simmilar linehow to duplicate them 20 times, replacing a1 with a2 a3 a4 a5 and so on

Sonarman

is there a command that inserts a new line with entering insert mode, i.e., o<ESC> or o<ESC>j...?s/with/without

tpope

Sonarman: I have maps for thatit's a pretty common neednnoremap <silent> ]<Space> :<C-U>put =repeat(nr2char(10),v:count)<Bar>'[-1<CR>nnoremap <silent> [<Space> :<C-U>put!=repeat(nr2char(10),v:count)<Bar>']+1<CR>it's complicated because it lets you use a numeric argument