On 2020-02-14, M Kelly wrote:
> Hi,
>
> ok, thank you.
> I always thought there had to be quotes around each block, as in () ? 'foo' :
> 'bar'
> So I was trying \' and \\' and \" and \\" and extra quotes for each additional
> nested block to no success.
> I will remove all quotes and see if I can
Hi,
ok, thank you.
I always thought there had to be quotes around each block, as in () ? 'foo'
: 'bar'
So I was trying \' and \\' and \" and \\" and extra quotes for each
additional nested block to no success.
I will remove all quotes and see if I can get it to work.
take care,
-m
--
--
You
On 2020-02-13, M Kelly wrote:
> Hi,
>
> Is it posible to nest conditionals in a mapping, something like, just for
> demonstration:
>
> vnoremap vv (strlen(@y) == 1) ? ':let ...' : '("vcl" =~
> getregtype("*"))
> ? 'some foo' : 'some bar' ' some more ...
>
> Can we do this ?
Yes. See
Hi,
I suppose I can call a function to do this :-)
-m
--
--
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
---
You received this message because you are
Hi,
Is it posible to nest conditionals in a mapping, something like, just for
demonstration:
vnoremap vv (strlen(@y) == 1) ? ':let ...' : '("vcl" =~
getregtype("*")) ? 'some foo' : 'some bar' ' some more ...
Can we do this ? Do I use ''' (3 single quotes) to embed quotes ? (and
then 5