You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
h1mesuke edited this page Oct 31, 2011
·
39 revisions
unite-outline
Introduction
unite-outline is a unite.vim's source
which provides your Vim's buffer with the outline view. It parses the current
buffer's content and extracts headings from the buffer. And then it shows the
list of the headings using unite.vim's interface. When you select a heading
from the list, you can jump to the corresponding location in the buffer.
The methods for extracting headings can be implemented for each individual
filetypes. You can customize them as you like with Vim script and can also
create new ones for unsupported filetypes.
Install
Install the distributed files into your Vim script directory which is usually
~/.vim/, or $HOME/vimfiles on Windows.
You can show the heading list of the current buffer with ":Unite outline"
command if you succeeded the installation (and unite-outline supports the
filetype of the buffer).
Usage
To show the heading list of the current buffer, execute :Unite command with
"outline" as a source parameter.
:Unite outline
unite-outline parses the current buffer's content and extracts headings from
the buffer. And then, it shows the list of the headings with unite.vim's
interface. When you select a heading from the list, you can jump to the
corresponding location of the buffer.
I want unite-outline to support more and more filetypes. But, creating an
outline info worth of using is not easy because it requires deep knowledge of
the target filetype. So, it is virtually impossible for me to create outline
infos for all filetypes around the world.
If you have written an outline info for some filetype and think it is nice,
please send it to me. I will bundle it to the distribution as the default
outline info of the filetype.