> For my edification, is there a way to detect if cscope is already
> loaded,  I know you can run cs show to see if there is one running,
> but how do code in vim?  Thanks.

This will do it using Vim7. 

redir => cs_conns
silent! exec 'cs show'
redir END

if cs_conns == 'no cscope connections'
endif

HTH,
Dave

Sent from my BlackBerry device on the Rogers Wireless Network
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to