Saturday, February 17, 2018

Re: autocomand inline unlet conditionned

Le samedi 17 février 2018 22:32:11 UTC+1, Christian Brabandt a écrit :
> On Sa, 17 Feb 2018, Ni Va wrote:
>
> > How can I write unlet var if var exists on this autocommand please ?
> >
> >
> > au CmdlineLeave * exists('g:currentnode') ? unlet g:currentnode : ''
>
> Have you read :h :unlet?
>
>
> Best
> Christian
> --
> Ein Panzer, ein U-Boot oder die 'Concorde' sind viel ästhetischer als
> alle heute zur Verfügung stehenden Kunstwerke von Picasso bis zu
> meinem Mist.
> -- Joseph Beuys

Ok sorry, thank you. :unlet!

--
--
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 subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: