Detecting PIDA in your .vimrc

PIDA provides a variable (PIDA_EMBEDDED) that you can read in .vimrc that you can use to do specific configurations based on whether or not vim is running in PIDA:

if !exists("PIDA_EMBEDDED")

" your vim-only vimrc commands here

endif

if exists("PIDA_EMBEDDED")

" your vim-in-pida vimrc commands here

endif