On Jan 19, 1:36 am, Benjamin R. Haskell v...@benizi.com wrote:
I was trying to loop over parent directories to find cscope.out files.
And I don't quite grok the following:
Why does this print 'blah':
:let file = blah | echo file
while this complains that 'file' isn't found:
:let file
While the :echo command takes an expression, the :cs add command takes
a file name. The commands expect completely different arguments. You
will NEED to use :exec in order to dynamically build a :cs command.
I think the analogy to lisp macros actually is quite adequate since it
seems to be the
On Wed, Jan 20, 2010 at 11:23 AM, Ben Fritz wrote:
I have additionally found (at least on Windows) that the :cs add
command will NOT work with spaces in the path. Not sure why, but I've
The backend code for it uses strtok() to split its argument apart on
spaces, rather than following vim's
I was trying to loop over parent directories to find cscope.out files.
And I don't quite grok the following:
Why does this print 'blah':
:let file = blah | echo file
while this complains that 'file' isn't found:
:let file = blah | cs add file
Just like with LISP, there's something about Vim