foldout : Outline-based folding with syntax highlighting.
script karma |
Rating 0/0,
Downloaded by 723 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Matt Superdock |
|
script type |
utility |
|
description |
foldout is an outline-based folding plugin for vim & neovim. Its unique feature is that folds are determined by Markdown-style headings within comments, and these headings are automatically highlighted. foldout also provides a suite of functions for manipulating and navigating between headings.
foldout uses vim's commentstring option to compute default heading patterns. As a result, if you're using a filetype-specific plugin that sets commentstring, no further configuration is necessary. Just type the comment prefix, then a string of heading symbols (by default, #), and foldout will recognize a heading.
See https://github.com/msuperdock/vim-foldout for more. |
|
install details |
Use your preferred installation method; for example, with vim-plug, use:
Plug 'msuperdock/vim-foldout'
If your .vimrc uses mkview or loadview to save and restore view data, remove these commands and set g:foldout_save. (The mkview and loadview commands need to be called in certain sequence with foldout commands, and foldout handles this for you.) For example:
let g:foldout_save = 1
By default, foldout is automatically enabled in all buffers whose filenames contain a dot (see option g:foldout_files to customize this), and can be manually enabled & disabled using :call foldout#enable(), :call foldout#disable(), and call foldout#toggle(). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.224.202.121
|