Re: Gvim closing unexpectedly

2006-11-08 Thread Edward Wong
Yup, I can confirm it too. I'm in Windows with cygwin and command :echo has("tcl") crashes gvim. :) On 10/5/06, Steve Hall <[EMAIL PROTECTED]> wrote: From: "Greg Dunn", Thu, October 05, 2006 9:36 am > On 10/4/06, Steve Hall wrote: > > On Thu, 2006-10-05 at 10:04 +1000, Robbie Gates wrote: > > >

Re: gvim-7-0-118.exe virus found??

2006-10-16 Thread Edward Wong
the instruction on compiling my own Vim. Will give it a try later when I have time. :) Ed On 10/17/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Benji Fisher wrote: > On Mon, Oct 16, 2006 at 03:08:58PM +0800, Edward Wong wrote: >> Dear all, >> >> Just tried downloading gvim-7

gvim-7-0-118.exe virus found??

2006-10-16 Thread Edward Wong
Dear all, Just tried downloading gvim-7-0-118 from sourceforge and AVG detects there is a trojan virus. Can it be a false alarm? Ed

hiding files in netrw

2006-09-07 Thread Edward Wong
Hello all, I'm trying to hide files with certain extensions but it doesn't do anything, either using or setting g:netrw_list_hide. patterns tried: \.rel .rel .*\.rel \.REL \.rel,\.old PS: g:netrw_hide is 1. I also tried command 'a' to toogle and to reflesh Any clue? Thanks a lot Ed

Re: having a function within an abbreviation

2006-08-21 Thread Edward Wong
On 8/21/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: ca grf =(getcmdpos() == 1 && getcmdtype() == ':' ? 'grep -i ' .expand("%:f") . Reposition() : 'grf') function! Reposition() call feedkeys("\\") return "" endfun Thanks Yakov! It works. :) I still don't understand why ^V^V^M or ^V^V

Re: Omnicompletion top window

2006-08-20 Thread Edward Wong
On 8/21/06, Panos Laganakos <[EMAIL PROTECTED]> wrote: Although, doesn't it make sense to make it go away, once you type something else except Ctr_X or Ctr_O to move up or down? Yes. IMHO I would have to agree that it will be prefect if the preview window is another popup near the completing wo

having a function within an abbreviation

2006-08-20 Thread Edward Wong
Dear all, I'm trying to accomplish sth similar as follow: ca grf =(getcmdpos() == 1 && getcmdtype() == ':' ? 'grep -i ' . expand("%:f") . ^V^V^V^V : grf) but I'm having difficulty with evaluating the function "expand()". I tried doing: 'grep -i ^V^V^R=expand("%:f")^V^V^M^V^V^V^V' and it does

Re: vim7: another bug with ins-mode-completion

2006-06-19 Thread Edward Wong
Yes. I can reproduce it as well. I'm using the same version as Hari. :) $ gvim --version VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:23:43) MS-Windows 32 bit GUI version with OLE support Compiled by [EMAIL PROTECTED] -- Ed On 6/20/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrot

Re: negative match pattern, again

2006-06-13 Thread Edward Wong
PROTECTED] >> >> For example, to match a line that contains "foo" but does not contain >> "bar" between "big" and "tummy": >> >> /\%(.*big.*bar.*tummy\)[EMAIL PROTECTED] > Edward Wong wrote: > Learn a lot more a

Re: negative match pattern, again

2006-06-12 Thread Edward Wong
> It follows the general form of a negative line search for embedded > : > > /^\%(.*[.*][.*]\)[EMAIL PROTECTED] > > For example, to match a line that contains "foo" but does not contain > "bar" between "big" and "tummy": > > /\%(.*big.*bar.*tummy\)[EMAIL PROTECTED] Learn a lot more about rege

Re: Extending Vim7 with plugins

2006-05-19 Thread Edward Wong
haha I like that Meino. :) The best way to learn scripting language is to read others. Choose some simple well known plugins. Vim help :help is always ur vim buddy. You can basically learn everything there. In addition, when your cursor is over a vim keyword, simply press and help opens the

Re: Column Selection

2006-05-12 Thread Edward Wong
This is cool tip! Thanks Hari and Gerald. :) On 5/12/06, Gerald Lai <[EMAIL PROTECTED]> wrote: On Thu, 11 May 2006, Hari Krishna Dara wrote: > > On Thu, 11 May 2006 at 7:57pm, Gerald Lai wrote: > >> On Thu, 11 May 2006, Hari Krishna Dara wrote: >> >>> >>> On Thu, 11 May 2006 at 6:37pm, Geral

Re: Bug i_CTRL-X s and arrow

2006-05-10 Thread Edward Wong
oh dearI just realize I kept saying omni this and omni that when I read the thread again! Please forgive my stupidity and ignore any word about "omni"...it should be "completion", IT IS *i_ctrl-x_s*. I should stop working and go home. :)

Re: Bug i_CTRL-X s and arrow

2006-05-10 Thread Edward Wong
Hi Suresh, I'm assuming you have: set cot=menu,preview by default. 1) -- just doing 1 -- after i_CTRL-X s actually inserts an entry -- Bram says it will not, but it does in fact. Moreover, even though the message at the bottom says Bram's intent "Back at original", the wo

Re: Fullscreen help without loosing other buffers ?

2006-04-23 Thread Edward Wong
There are many ways of getting a full screen help menu. The simplest way I can think of is to open "help" in a new tab: :tab help Then u can use commands 'gt' ('gT' for backward) to switch between tabs. > The problem I currently have in the very beginning of using vim is > that I even dont know