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

Advanced Search
  • On 7/3/06, Yakov Lerner wrote: > On 7/3/06, Eric Arnold wrote: > > On 7/3/06, Yakov Lerner wrote: > > > On 7/3/06, Yakov Lerner wrote: > > > > On 6/30/06, Hari Krishna Dara wrote: > > > > > ... The Funcref obtained via function('s:T') can't be > > > > > called from outside the script ... [unexpectedly] > > > > > > > > I agree, Hari. I'd expect funcref function('s:T') to be callable...
    Eric Arnold Jul 3, 2006
  • On 7/3/06, Yakov Lerner wrote: > On 7/3/06, Yakov Lerner wrote: > > On 6/30/06, Hari Krishna Dara wrote: > > > ... The Funcref obtained via function('s:T') can't be > > > called from outside the script ... [unexpectedly] > > > > I agree, Hari. I'd expect funcref function('s:T') to be callable > > outside of the script, too. > > To make myself more clear. I expect g:Xxx() to be...
    Eric Arnold Jul 3, 2006
  • On 7/2/06, Hari Krishna Dara wrote: > > On Thu, 29 Jun 2006 at 10:50pm, Eric Arnold wrote: > > > Ok. For starters, it seems that you *can* call a numbered function > > from anywhere: > > > > > > > > function! s:T() > > echomsg "here" > > echomsg 'SID=' . expand( ' ' ) > > endfunction > > > > let F=function('s:T') > > echomsg F() > > > > let F1 = function( ' 66_T' ) > > echomsg F1...
    Eric Arnold Jul 3, 2006
  • Fetching Sponsored Content...
  • I can't remember why or when (it was so long ago), but I've always used 's' and 'S' in 'vi'. It never really occured to me to use 'cl' instead. It was just another command in the list. It was part of the original 'vi', but I'm not sure if you meant that by 'put in to be complete'. It is no more enigmatic then a lot of things in 'vi' which are there just to make editing...
    Eric Arnold Jun 30, 2006
  • Ok. For starters, it seems that you *can* call a numbered function from anywhere: function! s:T() echomsg "here" echomsg 'SID=' . expand( ' ' ) endfunction let F=function('s:T') echomsg F() let F1 = function( ' 66_T' ) echomsg F1() echomsg string( F ) let s:dict = {} function s:dict.init() dict echomsg "in dict function" endfunction unlet! F2 let F2 = s:dict.init call call(F2...
    Eric Arnold Jun 29, 2006
  • See Vim tip #1266: http://www.vim.org/tips/tip.php?tip_id=1266 Note that Vim isn't replaced 'wrong' \r with 'correct' \r. It is replacing it with a linebreak, which is then interpreted as a \n for unix and a \r\n for dos by the s/// command. It is just one of many odd cases. On 6/27/06, Kai Weber wrote: > * Michael Naumann : > > >> I'm curious though - is there any way to...
    Eric Arnold Jun 27, 2006
  • This $ vim -u NONE :runtime ftplugin/man.vim :Man cvs worked for me, and :r! man cvs | col -b failed with my normal .vimrc , so I tracked it down to needing: set shellxquote=\" The backslash is required. I had shellxquote=' for other situations. I seems like I've got some shell commands which require different settings :-(
    Eric Arnold Jun 26, 2006
  • On 6/26/06, Charles E Campbell Jr wrote: > Eric Arnold wrote: > > > I was having some problems getting manpageview to work on Windows: > > Thank you for the feedback! I'll look into it (I hope) later on my > WinXP machine. > Do you use cygwin? Yes.
    Eric Arnold Jun 26, 2006
  • I was having some problems getting manpageview to work on Windows: For :Man cat I got: Error detected while processing function 29_ManPageView: line 282: E485: Can't read file c:/DOCUME~1/Owner/LOCALS~1/Temp/VIo20F.tmp Error detected while processing C:/cygwin/home/Owner/vimfiles/syntax/man.vim: line 71: E174: Command already exists: add ! to replace it ***warning*** no manpage...
    Eric Arnold Jun 26, 2006
  • Sorry, when I said I'd put in a "plug" it was kinda pun (i.e. plug==advertisement) :-) It is actually a source patch (not a Vim script plugin), which is the only real way to intercept character events. You can get it on sourceforge, http://www.vim.org/scripts/script.php?script_id=1541 but you'll have to be able to compile your own copy of Vim. If you do decide to try it out, please...
    Eric Arnold Jun 26, 2006