Sourcing Remote Sesssions / Vimscript question

2013-07-11 Thread steadystatic
I love Vim's sessions and create them all the time locally enjoying the use of my .vimrc with plugins and color schemes, etc. But I would love to do this on servers I regularly work on from my local machine like: :source scp://server-name/work.vim This works somewhat but the files are empty

Re: Vimscript Question

2011-04-21 Thread niva
Ok I was looking in another approach...more objects. Maybe I can use elseif like Ben says for instant. Thank you -- 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

Vimscript Question

2011-04-20 Thread niva
Hi, I am writing a vimscript that contains recursivecondition block. if cond1 else if cond2 else if condN else endif endif endif How canI code to avoidrecursive conditional block and have an object approach? Thank you -- You received this message from the

Re: Vimscript Question

2011-04-20 Thread Marc Weber
Excerpts from niva's message of Wed Apr 20 21:25:48 +0200 2011: Hi, I am writing a vimscript that contains recursivecondition block. if cond1 else if cond2 else if condN else endif endif endif How canI code to avoidrecursive conditional block

Re: Vimscript Question

2011-04-20 Thread Ben Fritz
On Apr 20, 2:25 pm, niva nivaem...@gmail.com wrote: Hi, I am writing a vimscript that contains recursivecondition block. What is a recursive condition block? Are you just looking for elseif? -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: Vimscript Question

2011-04-20 Thread Tim Chase
On 04/20/2011 06:15 PM, Marc Weber wrote: let conditions = [['a=7','echo 7'],['a=8','echo 8']] for [c,action] in conditions exec 'let c_result = '.action if c_result exec action I think, to mimic the OP's structure, you need a break in here endif unlet c, c_result, action