-
Notifications
You must be signed in to change notification settings - Fork 61
Home
unite-outline is a unite.vim's source which 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.
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 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).
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.
See :help unite-outline for more details.
###Markdown
Supported also:
- reStructuredText
- ReVIEW
- Textile
Here is the list of all supported filetypes.
Please send your nice outline info!
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.