You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 had the same issue.
Seems like the plugin is not loaded unless we explicitly tell vim where to look for.
I added this to my vimrc set runtimepath+=~/.vim/pack/git-plugins/start/vim-orgmode/
I agree that the documentation should be fixed (or the plugin should just work according to the documentation)
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 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
The text was updated successfully, but these errors were encountered: