Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key mappings are not added after installation #367

Open
ilyaukin opened this issue Mar 4, 2021 · 4 comments
Open

Key mappings are not added after installation #367

ilyaukin opened this issue Mar 4, 2021 · 4 comments

Comments

@ilyaukin
Copy link

ilyaukin commented Mar 4, 2021

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.

@konradzdeb
Copy link

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.

@jbpoittevin
Copy link
Collaborator

@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.

@konradzdeb
Copy link

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

@vlitvin
Copy link

vlitvin commented Feb 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants