vim-orgmode icon indicating copy to clipboard operation
vim-orgmode copied to clipboard

Key mappings are not added after installation

Open ilyaukin opened this issue 3 years ago • 4 comments

I installed plug-in to ~/.vim/pack/git-plugins/start/vim-orgmode and added loading to ~/.vimrc but no key bindings were added. :map does not show any org-mode-specific mappings.

ilyaukin avatar Mar 04 '21 10:03 ilyaukin

Can you post more details? I’ve installed/reinstalled this plugin on few occasions, switched forks and didn’t experience the issue. It may be good if someone would attempt to replicate this problem so details on your environment/config would help.

konradzdeb avatar Jan 08 '22 23:01 konradzdeb

@ilyaukin can you try with .vim/pack/plugins/start/vim-orgmode instead of ~/.vim/pack/git-plugins/start/vim-orgmode ? Explicit loading in ~/.vimrc shouldn’t be necessary.

jbpoittevin avatar Jan 09 '22 09:01 jbpoittevin

For the record, I use vim-plug and load the plugin in the following manner:

" Org mode installation
Plug 'jceb/vim-orgmode'		" Task list and Emacs-like org file managment
" Plug 'jbpoittevin/vim-orgmode'	" Maintained fork
Plug 'tpope/vim-speeddating' 	" Sensibly increases dates in vim-org mode
Plug 'tpope/vim-repeat' 	" Enable repeating of supported plugin maps 
Plug 'vim-scripts/utl.vim' 	" Universal text linking
Plug 'majutsushi/tagbar'  	" Displays tag in a side panel

I don't have many settings associated with this plugin, just tabs:

" Help settings for tabs in org files
au BufRead,BufNewFile *.org setlocal
			\ tabstop=2

and aggressive conceal:

" Aggressive conceal
let g:org_aggressive_conceal = 1

konradzdeb avatar Jan 11 '22 20:01 konradzdeb

I've experienced similar issue, when I installed vim-orgmode on vim without python3 support. In this case ftplugin silently doesn't start. You can verify wether vim-orgmode is loaded by running :scriptnames and you should see something like

...
~/.vim/pack/git-plugins/start/vim-orgmode/ftplugin/org.vim
...

Also, you can verify whether vim compiled with python3 by running vim --version So, i've installed vim compiled with py3.

vlitvin avatar Feb 22 '22 11:02 vlitvin