/ Published in: Regular Expression
Expand |
Embed | Plain Text
:set fileformat=unix :set fileformat=dos set number set nowrap %s/,/,\r/g #in ?vimrc :nnoremap <F5> "=strftime("%b %d, %Y")<CR>P :inoremap <F5> <C-R>=strftime("%b %d, %Y")<CR> set number inoremap <F5> <C-R>=strftime("%d/%m/%y ")<CR>
Comments
Subscribe to comments
You need to login to post a comment.

:%s/,/\r/g
replacing , with \r