I have tried to follow instructions in orgguide.txt to install the plugin to Vim 9 on my Mac. Particularly I did this:
Run these commands in shell
mkdir -p ~/.vim/pack/git-plugins/start
cd ~/.vim/pack/git-plugins/start
git clone https://github.com/jceb/vim-orgmode
Added this content to a (newly created) ~/.vimrc:
packloadall
silent! helptags ALL
Then I created a dummy.org file and put the following content
* Task 1
** Task 2
It showed me the file but I could not use any org-mode functionality, neither was any syntax highlighting enabled.
I suspect that the reason is that packpath value on Mac's vim is different from that on popular Linux distros.
Anyway now I have to figure out how Vim scans paths to load packages based on packpath, just to start using orgmode.
Did anyone encounter a similar problem and how did you solve it?
P.S. My packpath value on startup is ~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim90,/usr/share/vim/vimfiles/after,~/.vim/after
Ok I have solved the problem for myself by using pathogen. Anyway the documented steps are clearly not working on some problems, so documentation can be improved there.
I have tried to follow instructions in
orgguide.txt
to install the plugin to Vim 9 on my Mac. Particularly I did this:Then I created a
dummy.org
file and put the following contentIt showed me the file but I could not use any org-mode functionality, neither was any syntax highlighting enabled. I suspect that the reason is that
packpath
value on Mac's vim is different from that on popular Linux distros. Anyway now I have to figure out how Vim scans paths to load packages based onpackpath
, just to start using orgmode.Did anyone encounter a similar problem and how did you solve it?
P.S. My
packpath
value on startup is~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim90,/usr/share/vim/vimfiles/after,~/.vim/after