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

Disable automatic start in IDE mode

Open tflori opened this issue 7 years ago • 2 comments

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?

tflori avatar Feb 23 '17 10:02 tflori

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.

dmonllao avatar Mar 03 '17 23:03 dmonllao

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

tflori avatar Mar 04 '17 06:03 tflori