Vim Tips Wiki
(→‎Comments: formatting)
Line 6: Line 6:
 
:Ok, I am working on it, looks doable and fun.
 
:Ok, I am working on it, looks doable and fun.
   
==Comments==
+
==Comment==
   
 
I'm having difficulty getting Voom to work with files whose filenames contain spaces. I get the error "Only one file name allowed." Is there a workaround for this?
 
I'm having difficulty getting Voom to work with files whose filenames contain spaces. I get the error "Only one file name allowed." Is there a workaround for this?
Line 12: Line 12:
 
:: This has been fixed in version 4.3.[[User:Vlad.irnov|Vlad.irnov]] 14:26, May 14, 2012 (UTC)
 
:: This has been fixed in version 4.3.[[User:Vlad.irnov|Vlad.irnov]] 14:26, May 14, 2012 (UTC)
   
  +
==Comment==
* I can't get this plugin to contract/expand notes. As I read it should be "space" or following key combos which I mapped to F10:
+
I can't get this plugin to contract/expand notes. As I read it should be "space" or following key combos which I mapped to F10:
 
"Collapse or expand outline
 
"Collapse or expand outline
 
inoremap <F10> <C-O>za
 
inoremap <F10> <C-O>za

Revision as of 05:38, 17 May 2012

Use this page to discuss script 2657 VOoM (Vim Outliner of Markers) -- two-pane outliner and related utilities

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Improvements

Voom should also parse TeX-files


Ok, I am working on it, looks doable and fun.

Comment

I'm having difficulty getting Voom to work with files whose filenames contain spaces. I get the error "Only one file name allowed." Is there a workaround for this?

Probably you just need to escape it like all file names you edit on the command line, for example, :edit C:\Documents\ and\ Settings\exampleuser\My\ Documents\file.txtFritzophrenic 15:35, April 30, 2012 (UTC)
This has been fixed in version 4.3.Vlad.irnov 14:26, May 14, 2012 (UTC)

Comment

I can't get this plugin to contract/expand notes. As I read it should be "space" or following key combos which I mapped to F10:

"Collapse or expand outline
inoremap <F10> <C-O>za
nnoremap <F10> za
onoremap <F10> <C-C>za
vnoremap <F10> zf

I've got following plugins installed: vim-paster (upload documents to pastebin-services e.g. via :%Paste), vim-nerdcommenter (toggle comments), vim-nerdtree (file explorer), vim-taglist (source code browser), vim-live-latex-preview, vim-supertab vim-spell-de. I hope these plugins won't conflict vim-voom in this aspect?! --79.227.131.123 13:24, May 14, 2012 (UTC)

This is strange. If you see folds in the Tree buffer then you should be able to toggle the current node's folding with <Space>. Standard Vim commands za, zM, zR, etc. should work as usual. Vlad.irnov 14:26, May 14, 2012 (UTC)
Oh okay, maybe I'm mistaken with that. I thought one could also contract the node of the main text buffer. E.g. if I have an function in Python I would like to contract and expand the content of it. Isn't that possible with this plugin? --Onnuex 15:43, May 14, 2012 (UTC)
No, that is not possible. Voom does not configure folding or any other settings in the source buffer. That should be done by filetype-specific plugins. There is the "R" command: in the Tree buffer you can select some nodes and hit "R" to select corresponding Range in the source buffer. Then you can create fold with "zf" if &foldmethod is manual. Vlad.irnov 16:43, May 14, 2012 (UTC)