Re: VimScript for Python developers

2020-06-01 Thread Yegappan Lakshmanan
Hi Christian, On Mon, Jun 1, 2020 at 9:31 AM Christian Brabandt wrote: > > On So, 31 Mai 2020, Yegappan Lakshmanan wrote: > > > Hi all, > > > > I have put together the following gist to help Python developers > > with VimScript: > > > > https://gist.github.com/yegappan/16d964a37ead0979b05e655aa0

Re: VimScript for Python developers

2020-06-01 Thread Yegappan Lakshmanan
Hi Bram, On Mon, Jun 1, 2020 at 5:09 AM Bram Moolenaar wrote: > > Yegappan wrote: > > > I have put together the following gist to help Python developers > > with VimScript: > > > > https://gist.github.com/yegappan/16d964a37ead0979b05e655aa036cad0 > > Very useful! > > > Let me know if you have an

Re: VimScript for Python developers

2020-06-01 Thread Christian Brabandt
On So, 31 Mai 2020, Yegappan Lakshmanan wrote: > Hi all, > > I have put together the following gist to help Python developers > with VimScript: > > https://gist.github.com/yegappan/16d964a37ead0979b05e655aa036cad0 > > Let me know if you have any comments/suggestions. Very nice. Are you keepi

Re: VimScript for Python developers

2020-06-01 Thread Bram Moolenaar
Yegappan wrote: > I have put together the following gist to help Python developers > with VimScript: > > https://gist.github.com/yegappan/16d964a37ead0979b05e655aa036cad0 Very useful! > Let me know if you have any comments/suggestions. Some things are identical. Instead of the reader starin

Re: function definition for only one file, not for other simultaneously opened files

2020-06-01 Thread Manas
On 01/06/20 10:13 am, Gary Johnson wrote: You wrote that you want to have insert the date at the start of the next line, but only in one buffer. Wouldn't making that mapping buffer-local solve your problem? Something like this? inoremap =PrependTime() function! PrependTime()