This feature is completely independent from the rest of the plugin. This is useful when developing Python scripts and when scripting Vim with Python. This command can be used independently of the outlining functionality provided by the command :Voom.Ĭreate scratch buffer _PyLog_ and redirect Python's sys.stdout and sys.stderr to it.
This is useful for testing code snippets and for organizing short scripts by segregating them into nodes or folds. Open help file voom.txt as an outline in a new tabpage.Įxecute the contents of the current node or fold as a Vim script or Python script. Nodes can be navigated and manipulated in the Tree: moved up/down, promoted/demoted, copied/cut/pasted, sorted, etc. Each Tree line is associated with a region (node) of the corresponding source buffer (Body). The current buffer becomes a Body buffer. Such buffers are referred to as Tree buffers. The outline is displayed in a special buffer in a separate window which emulates the tree pane of a two-pane outliner. There is argument completion for installed markup modes: type ":Voom " and press or. To work with headlines in a different format, an argument specifying the desired markup mode must be provided, see above. By default, headlines are lines with a start fold marker (specified by option 'foldmarker') followed by a number. Scan the current buffer for headlines and construct an outline from them. There are four main Ex commands: Voom, Voomhelp, Voomexec, Voomlog. (Some markup modes are slower than other.) VOoM is fast and efficient enough to handle MB-sized files with >1000 headlines. It works with many popular light-weight markup languages. VOoM is not tied to a particular outline format. It has (almost) no side effects on the buffer being outlined. VOoM works with Vim buffers, not with files on disk as ctags-based tools. An outline is updated automagically on entering the corresponding Tree buffer. Boolean AND/NOT searches (OR is provided by Vim's \|). An outline can be searched (:Voomgrep).
VOoM is mice-friendly: outlines can be browsed with a mouse. There are many one-character mappings for efficient outline navigation which can be combined into complex commands, e.g., "UVD" selects all siblings of the current node. It has a complete set of commands for outline structure manipulation: move nodes up/down, promote/demote, copy/cut/paste, insert new node, sort in various ways, randomize. You can also run the command :Voominfo to see detailed information. The name of the current markup mode, if any, is noted on the first line of the Tree buffer. There is argument completion - type ":Voom " and press or. To outline another format, an argument specifying the desired markup mode must be provided.Īnd so on. NOTE: By default, the command :Voom without an argument creates the outline from lines with start fold markers with level numbers. Python - Python code browser, blocks between 'class' and 'def' are also nodes. Html - HTML heading tags, single line only Vimoutliner - VimOutliner plugin (vimscript #3515) Thevimoutliner - The Vim Outliner plugin (vimscript #517) Latex - LaTeX sectioning and some other commands
Txt2tags - txt2tags titles and numbered titles Īsciidoc - AsciiDoc document and section titles, both styles (Atx-style headers, a subset of Markdown format) Markdown - Markdown headers, both Setext-style and Atx-style Viki - Viki/Deplate plugin (vimscript #861) Vimwiki - vimwiki plugin (vimscript #2226) Wiki - MediaWiki, headlines are surrounded by '=' (Headlines are also called headings, headers, section headers, titles.) The following markup modes are available:įmr, fmr1, fmr2 - start fold markers with levels (variations of the default mode) VOoM can currently handle a variety of markup formats that have headlines and support an outline structure, including popular lightweight markup languages. VOoM was originally written to work with start fold markers with level numbers, that is 2, etc. VOoM (Vim Outliner of Markups) is a plugin for Vim that emulates a two-pane text outliner.