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

Disable automatic start in IDE mode #15

Open
tflori opened this issue Feb 23, 2017 · 2 comments
Open

Disable automatic start in IDE mode #15

tflori opened this issue Feb 23, 2017 · 2 comments

Comments

@tflori
Copy link
Contributor

tflori commented Feb 23, 2017

I'm not only using vim for IDE stuff - otherwise mostly I'm using vim for editing /etc/* but I don't want it to open IDEmode when editing /etc/hosts ;)

You mentioned in README how to start IDE mode (:IDEOpen) and how to close IDE mode (:IDEClose). I'm sure it is possible and I think I did it previous time when I installed vim-IDE but now I cant remember. Maybe you mention it in README?

@dmonllao
Copy link
Owner

dmonllao commented Mar 3, 2017

Hi @tflori, sorry for the late reply. g:IDEAlways would be the opposite of what you want, but there is no command for that, it is up for each file type plugin to call autocmd vimenter * IDEOpen.

You may be interested in adding let g:IDEOnlyEditor = 1 in your ~/.vim/custom.vim though (https://github.com/dmonllao/vim-IDE/blob/master/custom.vim.dist#L42) it is the closest to what you want.

@tflori
Copy link
Contributor Author

tflori commented Mar 4, 2017

currently I commented out the vimenter line in the ftplugin file. does the * mean that should start for every file? maybe we can write /home/*/projects/* or mention this in the readme

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

2 participants