On Wed, Nov 14, 2012 at 10:05 PM, 王军 <[email protected]> wrote: > Hi everyone: > > I want to fold all line which are comment. > > eg. > > //aaaaaaaaaaaaaaaaaa
Something like this? set fdm=expr set fde=getline(v:lnum)=~'^\s*\/\/\\\|^\s*$'?1:0 c -- Chris Lott <[email protected]> -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
