[Vimoutliner] Re: My VO does not work anymore
Stefan Hassenstein
s at hassenstein.net
Thu Dec 13 14:22:52 EST 2007
Hi !
Listen to Steve Litt - he is the absolute pro
at this topic.
>From my point of view, your :version-text confirms,
that you are using at least vim 7.1 -
as you use Ubuntu, there might be the same root
of problems you (and i) run into (upgrade on Debian from vim6.somthing
to vim71)
Meaning, vim 7.1 introduced some new path structure.
1. search for your vimrc
mine is located in /etc/vim/vimrc
this is debian-specific and loads a runtimepath,
i show you mine:
"set
runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,\
/usr/share/vim/addons,\
/usr/share/vim/vim71,\
usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after"
originally without "
linebreaks done by myself.
2. Search for and compare your runtimepath.
3. Search your /usr/share/vim root for "vo_base.vim",
it should still be located in /usr/share/vim/addons
and is crucial for VimOutliner as Steve Litt pointed out.
on my system there are 3 vo_base.vim files
/usr/share/vim/addons/ftplugin/vo_base.vim
/usr/share/vim/addons/ftdetect/vo_base.vim
/usr/share/vim/addons/syntax/vo_base.vim
if you do not have these files you should install VimOutliner from
the scratch. (but might not expect that its working without any handmade
changes...)
4. i copied /usr/share/vim/addons/syntax/vo_base.vim
to /usr/share/vim/vim71/syntax/vo_base.vim
5. and /usr/share/vim/addons/ftplugin/vo_base.vim
to /usr/share/vim/vim71/ftplugin/vo_base.vim
6. I had to copy and paste the code from
/usr/share/vim/addons/ftdetect/vo_base.vim
into the new file
/usr/share/vim/vim71/filetype.vim
(alphabetically sorted)
" Viminfo file
au BufNewFile,BufRead .viminfo,_viminfo setf viminfo
" VimOutliner file
" am 26.11.07 -
" stefan
au BufRead,BufNewFile *.otl setf vo_base
" Virata Config Script File
au BufRead,BufNewFile *.hw,*.module,*.pkg setf virata
7. had to copy the other vo_* files
vo_checkbox.vim
vo_hoist.vim
from /usr/share/vim/addons/ftplugin
to /usr/share/vim/vim71/ftplugin/
8. make sure that vimoutlinerc exist in /etc/vim/
with these changes,
a. help to VimOutline was accessible again
b. .otl files in vim are handled as expected
c. no try until now to gvim.
Your mileage may vary !
i bet there are quite better ways to accomplish the goal,
so please no flames - just stepped into the discussion,
coz it seems to be a coincidence of problems.
Greetings
and many thanks to Steve !
Stefan
on_ <on_groups.2007 at edpnet.be> schrieb:
> Stefan,
>
> Does this help?
>
>:version
> VIM - Vi IMproved 7.1 (2007 May 12, compiled Oct 5 2007 00:47:59)
> +xterm_clipboard -xterm_save
> fichier vimrc système : "$VIM/vimrc"
> fichier vimrc utilisateur : "$HOME/.vimrc"
> fichier exrc utilisateur : "$HOME/.exrc"
> fichier gvimrc système : "$VIM/gvimrc"
> fichier gvimrc utilisateur : "$HOME/.gvimrc"
> fichier menu système : "$VIMRUNTIME/menu.vim"
> $VIM par défaut : "/usr/share/vim"
More information about the VimOutliner
mailing list