Re: Issues with ftdetect

2009-11-05 Thread Chris Sutcliffe
I don't see anything wrong with your setup for sharing configuration files between Windows and Cygwin, but instead of modifying 'rtp', I put all my personal configuration files in ~/vimfiles and created ~/.vim as a Cygwin symbolic link to ~/vimfiles.  I assume that you've verified that your

Re: Issues with ftdetect

2009-11-05 Thread Chris Sutcliffe
I just put your in.vim in my ~/vimfiles/ftdetect directory and 'ft' was set to make when I executed vim foo.in as it should.  I also verified that 'ft' was not set when opening foo.in before I created in.vim.  So it works for me. Hrmm thank you for checking. I don't see anything wrong

Re: compiling problem too many arguments to function do_ecmd

2009-11-05 Thread Bram Moolenaar
Andy Wokula wrote: Andrey Voropaev schrieb: On Wed, Nov 4, 2009 at 10:15 AM, Andrey Voropaev voropaev.and...@googlemail.com wrote: Actually, I was doing all of this to find what has happened with Ctrl-U in insert mode. If I compile vim72 with patches 1-100 then Ctrl-U in insert mode

Re: cygwin gvim selectpaste problem

2009-11-05 Thread SungHyun Nam
Brett Stahlman wrote: On Nov 5, 3:58 am, SungHyun Namgow...@gmail.com wrote: The problem is: 1. run 'gvim -u NONE -U NONE --noplugin somefile' 2. double click string 'AAA' in gvim (any string). 3. paste by clicking middle mouse button on a putty terminal or

Re: How to seach and category some strings in one file?

2009-11-05 Thread Wu, Yue
On Thu, Nov 05, 2009 at 10:09:47AM -0500, Chris Suter wrote: On Thu, Nov 5, 2009 at 6:27 AM, Wu, Yue vano...@gmail.com wrote: Hi list, Let's begin with my issue: I want to get some strings which matches with a particular regex, say '@\S\+', then category them into an array, so

Re: coding file ANSIUNICODE and reverse

2009-11-05 Thread winterTTr
On Thu, Nov 5, 2009 at 9:02 PM, Paolo Baruffa win...@people.it wrote: Hi! I need to perform ANSI/UNICODE commands in my GVIM. I read many docs on the web about and I did set these: -- .vimrc includes -- :set

Re: coding file ANSIUNICODE and reverse

2009-11-05 Thread bill lam
On Thu, 05 Nov 2009, Paolo Baruffa wrote: -- my menu includes -- :set fileencoding=latin1CREsc:set ff=dosCR:w!CR ANSI Dos :set fileencoding=utf-8CR:w!CREscUNICODE --- does

last executed command

2009-11-05 Thread anna
Hi, Is is possible to get the last executed command in normal mode? I want to echo the last executed command. For example, I type d6w, then d6w is executed and this command is also echoed. Thank you. Anna --~--~-~--~~~---~--~~ You received this message from the

RE: coding file ANSIUNICODE and reverse

2009-11-05 Thread John Beckett
Paolo wrote: I need to perform ANSI/UNICODE commands in my GVIM. The procedure is pretty baffling. Generally, by the time you have read the file, it is too late. I used the following code to convert several files a year ago. I have the following in my vimrc, but I _think_ that this does not

Re: How to confine search to highlighted text?

2009-11-05 Thread Peng Yu
On Nov 4, 8:26 am, Stahlman Family brettstahl...@comcast.net wrote: Peng Yu wrote: I can copy highlighted text. I'm wondering if there is a way to search only in highlighted text. Use the \%V regex assertion :help /\%V If there are multiple matches in the highlighted region, when I

Re: Yanking text between two markers into a named buffer

2009-11-05 Thread Gary Johnson
On 2009-11-05, Jürgen Krämer wrote: Hi, Frans Grotepass wrote: As the title states, is there a way to yank the text between two markers into a named buffer? 'ary'b yanks the text between and including markers a and b into register r. As does :'a,'by r Regards, Gary

Re: How to seach and category some strings in one file?

2009-11-05 Thread Christian Brabandt
Hi Wu,! On Fr, 06 Nov 2009, Wu, Yue wrote: On Thu, Nov 05, 2009 at 10:09:47AM -0500, Chris Suter wrote: First, open an empty buffer window with C-wn -- this should open a new window above the window with your file, assuming you only had one window open to start. Now, type C-wj to