Re: VIM as C++ IDE

2006-10-18 Thread Peng Yu
On 10/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Peng Yu [EMAIL PROTECTED] 写于 2006-10-14 05:59:29: map F12 ESC:wkEnter:makekEnter Can some body provide some script to satisfy my more general requirement? I want press F12, then make is called. The error window will not be closed

Re: VIM as C++ IDE

2006-10-18 Thread panshizhu
Peng Yu [EMAIL PROTECTED] 写于 2006-10-18 23:18:14: On 10/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: for that simple, don't need any plugin: map F12 ESC:wkEnter:makekEnter:copekEnter You see, just add the :cope will do the trick. Note that the cursor will be in :cope window

Re: VIM as C++ IDE

2006-10-18 Thread Peng Yu
On 10/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Peng Yu [EMAIL PROTECTED] 写于 2006-10-18 23:18:14: On 10/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: for that simple, don't need any plugin: map F12 ESC:wkEnter:makekEnter:copekEnter You see, just add the :cope will do the

Re: VIM as C++ IDE

2006-10-18 Thread panshizhu
Peng Yu [EMAIL PROTECTED] 写于 2006-10-19 10:17:55: On 10/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Peng Yu [EMAIL PROTECTED] 写于 2006-10-18 23:18:14: Is it possible to not to press the last enter key? It is not very convenient. Thanks, Peng try this instead: map F12

Re: VIM as C++ IDE

2006-10-18 Thread Yegappan Lakshmanan
Hi, On 10/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Peng Yu [EMAIL PROTECTED] 写于 2006-10-18 23:18:14: On 10/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: for that simple, don't need any plugin: map F12 ESC:wkEnter:makekEnter:copekEnter You see, just add the :cope will do

Re: [SPAM?]Re: VIM as C++ IDE

2006-10-16 Thread Robert Cussons
This is brilliant, I've never used make from inside Vim before, please surpress your sniggersAs I am working on Linux with a microsoft ergonomic keyboard, I have an unused windows button or two, how would I map the right hand one to the same mapping as below, i.e. instead of F12? As KDE's

Re: VIM as C++ IDE

2006-10-16 Thread panshizhu
As far as I know Vim cannot recognize the Win key (Please correct me if I'm wrong). In fact, it isn't that difficult to type all those, so I'd refer to keep the :cope window on all the time, and I have the habit to input :w everytime I changed a new line. So all I need to do is to type :make,

Re: [SPAM?]Re: VIM as C++ IDE

2006-10-16 Thread Raimon Grau
On 10/16/06, Robert Cussons [EMAIL PROTECTED] wrote: This is brilliant, I've never used make from inside Vim before, please surpress your sniggersAs I am working on Linux with a microsoft ergonomic keyboard, I have an unused windows button or two, how would I map the right hand one to the

Re: VIM as C++ IDE

2006-10-16 Thread Robert Cussons
[EMAIL PROTECTED] wrote: As far as I know Vim cannot recognize the Win key (Please correct me if I'm wrong). In fact, it isn't that difficult to type all those, so I'd refer to keep the :cope window on all the time, and I have the habit to input :w everytime I changed a new line. So all I need

Re: VIM as C++ IDE

2006-10-16 Thread panshizhu
Robert Cussons [EMAIL PROTECTED] 写于 2006-10-16 16:43:53: [EMAIL PROTECTED] wrote: As far as I know Vim cannot recognize the Win key (Please correct me if I'm wrong). In fact, it isn't that difficult to type all those, so I'd refer to keep the :cope window on all the time, and I have the

Re: VIM as C++ IDE

2006-10-15 Thread panshizhu
Peng Yu [EMAIL PROTECTED] 写于 2006-10-14 05:59:29: Hi, Currently, I use F12 to map to make command. However, the cursor will jump to the file which contains the first error or the first warning. It will leave the current file that I'm editing if it is different from the file contain the

Re: VIM as C++ IDE

2006-10-15 Thread panshizhu
Peng Yu [EMAIL PROTECTED] 写于 2006-10-14 05:59:29: map F12 ESC:wkEnter:makekEnter Can some body provide some script to satisfy my more general requirement? I want press F12, then make is called. The error window will not be closed unless I do so. When I brower the error, the file where the