Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

305 results from messages in vimdev

Advanced Search
  • On 31-May-2013 21:27 +0200, ZyX wrote: >> Using strings here was just a quick way of making it work. What we >> would really need is some kind of lambda function. So the argument >> would be one of three types: >> expression - mainly for backwards compatibility, but also allows >> building the functionality from pieces. >> function name or reference - for bigger functions...
    Ingo Karkat May 31, 2013
  • On 31-May-2013 15:14 +0200, mattn wrote: > Hi all. > > filter() or map() is given {string} expression to compare the items. But sort() is given function name or funcref for that. > I hope to give expression to {func}. > > I guess this is useful to call sort(). > > :echo sort([{"foo":3},{"foo":2},{"foo":4}], "v:lhs.foo - v:rhs.foo") > [{'foo': 2}, {'foo': 3}, {'foo': 4}] > > Below...
    Ingo Karkat May 31, 2013
  • On 31-May-2013 15:43 +0200, Alexey Radkov wrote: > Hi vim_dev! > > Thinking about possible enhancements in vim 7.4 i found that it would > be probably useful to implement two new autocmd events: ModeEnter and > ModeLeave which arguments would be the name of the mode being entered > / left. Currently there are two similar autocmds InsertEnter and > InsertLeave but as their names say...
    Ingo Karkat May 31, 2013
  • Fetching Sponsored Content...
  • On 29-May-2013 09:20 +0200, Gary Johnson wrote: > On 2013-05-29, Marc Weber wrote: > >> I wrote something similar initially, because >> >> if exists('g:is_loaded') >> finish >> endif >> let g:is_loaded = 1 >> >> is just verbose. I returned a string and executed it using "exec". I >> hate copy paste as you do. So I undestand why you want to "outsource" >> this. >> >> However I...
    Ingo Karkat May 29, 2013
  • On 09-May-2013 00:54 +0200, ZyX wrote: > > > [10 sentences deleted] > >> I've heard the dislike of Vimscript, but much of that is probably due to >> the developers' relative unfamiliarity with it. For extensions that are >> closely related to text-editing, I found it quite nice and powerful, and >> there is no mismatch between the Vim API and another language to bridge. >> But I...
    Ingo Karkat May 13, 2013
  • On 10-May-2013 04:09 +0200, mattn wrote: I beg your pardon, but I find your entire argument weak and unconstructive. > On Thursday, May 9, 2013 7:54:38 AM UTC+9, ZyX wrote: > > > I don't hope that capture() contains highlight attributes. It should > be plain text. Both ZyX's and my recent messages have already shown cases where this additional information is essential. If you don't...
    Ingo Karkat May 13, 2013
  • On 08-May-2013 22:10 +0200, ZyX wrote: >> I've seen your many recent Python patches, and it's certainly good to >> have more things exposed in a native language way. However, I'm a bit >> concerned if (but I know too little about your patches to be sure) you >> have to write all the plumbing from Vim's internal structures to the >> Python interface in a Python-specific way. I would...
    Ingo Karkat May 8, 2013
  • On 08-May-2013 19:57 +0200, ZyX wrote: >>> 1. Fix :redir to allow nesting. >> >> I think everyone agrees with this, and it should be first priority. >> >>> 2. Fix :redir to hold reference to dictionary containing variable (like l:, g:, s: or such) to workaround problem I mentioned in https://groups.google.com/forum/#!searchin/vim_dev/redir/vim_dev/1M3QS46SrAk/a13SqNpPWywJ...
    Ingo Karkat May 8, 2013
  • On 07-May-2013 21:44 +0200, ZyX wrote: >> The functions in message.c write message with color attributes. So if splitting per line, it must get whole contents at the first. >> I guess someone want to get the contents as text which contains \n, but someone want to get the contents as array of lines. So I want to keep the contents as text. >> >> Thanks. > > Almost never used not...
    Ingo Karkat May 7, 2013
  • On 07-May-2013 05:11 +0200, Bram Moolenaar wrote: > Ingo Karkat wrote: > >> On 04-May-2013 14:59 +0200, Fanhe Fanhed wrote: >> >>> Agreed too. >>> So, Ingo, can you offer a full patch? >>> And please offer a global way to disable matchparen in insert mode. >>> Because I found I really not need it in insert mode. :) >>> >>> >>> 2013/5/3 Bram Moolenaar > >>> >>> >>> Ingo Karkat wrote...
    Ingo Karkat May 7, 2013