Variable replacement/interpolation/dereferencing(?)

2010-01-18 Thread Benjamin R. Haskell
I was trying to loop over parent directories to find cscope.out files. And I don't quite grok the following: Why does this print 'blah': :let file = "blah" | echo file while this complains that 'file' isn't found: :let file = "blah" | cs add file Just like with LISP, there's something about

Re: Hi all, I have a question about vim

2010-01-18 Thread Matt Wozniski
On Mon, Jan 18, 2010 at 10:45 PM, gaoxt1983 wrote: > > There is a situation I must use a source-compiled vim, so I downloaded vim72 > and run configure , make, make install. But I want to use nerdtree plugin, > when I copy the files into .vim directory, restart vim, it gives me error > message like

Hi all, I have a question about vim

2010-01-18 Thread gaoxt1983
There is a situation I must use a source-compiled vim, so I downloaded vim72 and run configure , make, make install. But I want to use nerdtree plugin, when I copy the files into .vim directory, restart vim, it gives me error message like this: Error detected while processing /home/huanghao/.vim/

Re: Question about the cursor location in quickfix window

2010-01-18 Thread Wu, Yue
On Mon, Jan 18, 2010 at 03:37:40PM +0100, Tony Mechelynck wrote: > On 18/01/10 11:16, Wu, Yue wrote: > > On Mon, Jan 18, 2010 at 06:04:32AM +0100, Tony Mechelynck wrote: > >> On 18/01/10 03:12, Wu, Yue wrote: > >>> Hi, list! > >>> > >>> After :vimgrep /pattern/j %, how to make the cursor in quickfi

Re: Parse file in background

2010-01-18 Thread Marc Weber
> readfile func reads the entire file into memory. i like to know, will > the memory be released once the auto complete function completes? -> :h garbagecollect() Marc Weber -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

Re: Parse file in background

2010-01-18 Thread KKde
> completion-config.file > > word  path.txt > word2 path2.txt > > You want to have a look at > :h complete-functions > :h readfile (how to read a file and get a list of lines) > :h filter(  (remove the lines not matching your word by regex) > :h matchstr (match the file path ...) > Thanks..with r

Re: Session or file activity transcript replay?

2010-01-18 Thread Christian Brabandt
Hi Gary! On Mo, 18 Jan 2010, Gary Bickford wrote: > In other cases, when one either screwed up on a big change and wanted > to go back to just before the change, you could replay the transcript > to just before the big change, step forward and back one change at a > time, then stop the replay and

Re: visual_studio.vim

2010-01-18 Thread Max Dyckhoff
> Otherwise, I was unable to background-execute my perl script with "start" > from my win32-gvim. It was quite a long time ago, I don't remember what were > the various ways I tried back then. Hence I cannot tell without testing it > whether Ben's solution will actually work. Testing at home (n

Re: Session or file activity transcript replay?

2010-01-18 Thread Ben Fritz
On Jan 18, 9:56 am, Gary Bickford wrote: > Back in the day, on the Perq workstation, the text editor had a very > handy feature.  It retained a transcript file for every change made to > a file, from the time it was created.  The transcript could be > deleted, and then from then on it would reta

Re: visual_studio.vim

2010-01-18 Thread Luc Hermitte
"Max Dyckhoff" wrote: > A cursory search turns up nothing about that, sadly. > > In your experience, which part of Ben Fritz's solution didn't work? > I'm away from the office today so I'll be unable to try it til > Tuesday, but thanks for the suggestions; I'll let you know what > happens.

Session or file activity transcript replay?

2010-01-18 Thread Gary Bickford
Has anyone built a session transcript plug-in for vim? I am aware of the macro capability, and the kill-ring plug in, and some other suggestions but I haven't seen anything quite like this: Back in the day, on the Perq workstation, the text editor had a very handy feature. It retained a transcri

Re: visual_studio.vim

2010-01-18 Thread Max Dyckhoff
A cursory search turns up nothing about that, sadly. In your experience, which part of Ben Fritz's solution didn't work? I'm away from the office today so I'll be unable to try it til Tuesday, but thanks for the suggestions; I'll let you know what happens. Max Sent from my iPhone. On Jan

Re: visual_studio.vim

2010-01-18 Thread Luc Hermitte
Hello, "Ben Fritz" wrote: > On Jan 15, 2:31 pm, Max wrote: > > Does anyone know if it would be possible to make > > a non-blocking build command? > > In general no, Vim does not support non-blocking commands. > > In this case, you *might* be able to do something like ':!start > {build comma

unsubscribe

2010-01-18 Thread Sam, Renoy
-- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

Re: visual_studio.vim

2010-01-18 Thread Ben Fritz
On Jan 15, 2:31 pm, Max wrote: > Does anyone > know if it would be possible to make a non-blocking build command? > In general no, Vim does not support non-blocking commands. In this case, you *might* be able to do something like ':!start {build command} > {error file} && vim --remote-send ":c

Re: What is Alt-T supposed to do by default?

2010-01-18 Thread Tony Mechelynck
On 18/01/10 09:11, Foss User wrote: Could you please tell me what Alt-T is supposed to do in VIM by default? It returns me to the normal mode by default. So, it behaves similar to key. But I can't find this documented anywhere in :help. Well, it depends on your keyboard driver. In gvim, and

Re: Question about the cursor location in quickfix window

2010-01-18 Thread Tony Mechelynck
On 18/01/10 11:16, Wu, Yue wrote: On Mon, Jan 18, 2010 at 06:04:32AM +0100, Tony Mechelynck wrote: On 18/01/10 03:12, Wu, Yue wrote: Hi, list! After :vimgrep /pattern/j %, how to make the cursor in quickfix window be located on the most closing line according to the location of the buffer that

Re: How set "ç" to ":"

2010-01-18 Thread Ney
weird, i have no mapping for c-cedilla. Thanks anyway Tony. On Jan 17, 10:01 pm, Tony Mechelynck wrote: > On 16/01/10 03:45, Ney wrote: > > > > > Hi, i'm on abnt2 keyboard and would like to use the letter to access > > my command line. > > I tried this: > > > nnoremap : > > > from here[http://vi

Re: Question about the cursor location in quickfix window

2010-01-18 Thread Wu, Yue
On Mon, Jan 18, 2010 at 06:04:32AM +0100, Tony Mechelynck wrote: > On 18/01/10 03:12, Wu, Yue wrote: > > Hi, list! > > > > After :vimgrep /pattern/j %, how to make the cursor in quickfix window > > be located on the most closing line according to the location of the > > buffer that performs the vim

Re: accent grave in french(France) keyboard layout is not printing. win32 (Win XP) Platform

2010-01-18 Thread Boyko Bantchev
2010/1/18 Sergey Vakulenko : > When i worked in gvim(win32) last time, i had found strange behaivor > with french layout. When i type è (accent grave) character (in fr. > layout it will be type ' 7 ' ), vim put some phrases in my active > window. In different machines he put different buffers, it l

accent grave in french(France) keyboard layout is not printing. win32 (Win XP) Platform

2010-01-18 Thread Sergey Vakulenko
Hello to Everyone When i worked in gvim(win32) last time, i had found strange behaivor with french layout. When i type è (accent grave) character (in fr. layout it will be type ' 7 ' ), vim put some phrases in my active window. In different machines he put different buffers, it looks like he put r

Re: What is Alt-T supposed to do by default?

2010-01-18 Thread Benjamin R. Haskell
On Mon, 18 Jan 2010, Foss User wrote: > Could you please tell me what Alt-T is supposed to do in VIM by > default? It returns me to the normal mode by default. So, it behaves > similar to key. But I can't find this documented anywhere in > :help. > In many terminal emulators, 'Alt-(x)' where

Re: What is Alt-T supposed to do by default?

2010-01-18 Thread Foss User
I checked the behavior in VIM - Vi IMproved 7.1 (2007 May 12, compiled Oct 18 2008 09:05:15) on Debian 5.0 GNU/Linux However, I would like to know how it should behave on vim/gvim on Windows as well. I usually turn my menu off (:set go=), so what is the default behavior of Alt + t in absense of me

Re: What is Alt-T supposed to do by default?

2010-01-18 Thread bill lam
lun, 18 Jan 2010, Foss User skribis: > Could you please tell me what Alt-T is supposed to do in VIM by > default? It returns me to the normal mode by default. So, it behaves > similar to key. But I can't find this documented anywhere in > :help. > You have to tell us which version (vim vs gvim)

What is Alt-T supposed to do by default?

2010-01-18 Thread Foss User
Could you please tell me what Alt-T is supposed to do in VIM by default? It returns me to the normal mode by default. So, it behaves similar to key. But I can't find this documented anywhere in :help. -- You received this message from the "vim_use" maillist. For more information, visit http://www