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
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 http://www.vim.org/maillist
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, act
On Apr 20, 2:25 pm, niva 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 the text you are
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 co
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 "vim