Package: notmuch-vim
Version: 0.6
Severity: normal

I installed notmuch-vim with aptitude, then did the usual:

        vim -c NotMuch

and it gave a "command not found"-ish error.

The notmuch-vim package installs several .vim files under
/usr/share/vim/addons. Specifically, these:

/usr/share/vim/addons/plugin/notmuch.vim
/usr/share/vim/addons/syntax/notmuch-compose.vim
/usr/share/vim/addons/syntax/notmuch-search.vim
/usr/share/vim/addons/syntax/notmuch-git-diff.vim
/usr/share/vim/addons/syntax/notmuch-folders.vim
/usr/share/vim/addons/syntax/notmuch-show.vim

This is problematic, because /usr/share/vim/addons is not in vim's
&runtimepath by default. I tracked down how runtimepath gets set:

        /etc/vim/vimrc

does:

        runtime! debian.vim

which is at:

        /usr/share/vim/vim73/debian.vim

and contains this line:

        set 
runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after


So perhaps these files should be moved to /var/lib/vim/addons?


Thanks,   - Jason

P.S. WORKAROUND: add /usr/share/vim/addons to your runtimepath.
(paste the above line from debian.vim into your ~/.vimrc and add
/usr/share/vim/addons)



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages notmuch-vim depends on:
ii  notmuch                       0.6        thread-based email index, search a
ii  vim-addon-manager             0.4.3      manager of addons for the Vim edit

notmuch-vim recommends no packages.

notmuch-vim suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to