sponsor Vim development Vim logo Vim Book Ad

foldcol.vim : fold/unfold by visual-blocks (columns)

 script karma  Rating 148/39, Downloaded by 1819  Comments, bugs, improvements  Vim wiki

created by
Charles Campbell
script type
foldcol.vim is a plugin which implements two maps:

ctrl-v move \fc  : select a visual block, then \fc will fold the region away

\fc : when not in visual-block mode (ie. in normal mode), a \fc will undo the visual-block folds produced by foldcol.vim.

(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#FOLDCOL)
install details
Put the script into your .vim/plugin (Windows: vimfiles\plugin) directory.

You'll also need Vince Negri's conceal-ownsyntax patch, which is available at vimscript#302, to apply the patch, and to re-compile vim.  It is hoped that vim 7.0 will already incorporate the conceal-ownsyntax patch, although that hasn't happened yet.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
foldcol.vim.gz 2 2004-12-21 6.0 Charles Campbell Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.