In bash, I can do something like this:

foo=`cat bar`

... and then the variable $foo will be the content of the file "bar."

I want to use the cat command to assign a value in my vimrc.  I'm sure this
is possible, but I can't figure it out.

--
View this message in context: 
http://vim.1045645.n5.nabble.com/can-I-do-command-substitutions-in-vimscript-tp4982601p4982601.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to