Hacker News new | ask | show | jobs
by badhrink 2138 days ago
Any idea if there is a way to check for presence of Ideavim in vimrc/init.vim?

I have a single config for all vim related things(vimrc) and source it for neovim as well, hence I was curious. For example,

has('nvim') checks for neovim.

Something like this for 'ideavim' would mean I can add IntelliJ related stuff inside that check.

1 comments

I haven’t tried it but there are a couple of suggested workarounds here:

https://stackoverflow.com/questions/34528322/how-to-include-...