Re: Copying a Massive amount of text to the clipboard

2007-03-20 Thread Theerasak Photha
On 3/20/07, mas [EMAIL PROTECTED] wrote: Hello, I have a 9MB XML files I am working with. I would like to select a block of about 90,000 lines in a file and copy them to the clipboard so they can be pasted in another file. Doing this with the mouse would probably take until the sun burns

Re: replace upper-case with lower-case

2007-03-08 Thread Theerasak Photha
On 3/8/07, Bin Chen [EMAIL PROTECTED] wrote: I want to replace below scheme within one command, that is left the capitalization the same but replace the word. SS-SS ss-ss 'guw' in normal mode will lower case a single word. Not sure if that's what you're asking for...

Re: replace upper-case with lower-case

2007-03-08 Thread Theerasak Photha
On 3/8/07, Bin Chen [EMAIL PROTECTED] wrote: Theerasak Photha 写道: On 3/8/07, Bin Chen [EMAIL PROTECTED] wrote: I want to replace below scheme within one command, that is left the capitalization the same but replace the word. SS-SS ss-ss 'guw' in normal mode will lower case a single word

Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Theerasak Photha
On 2/26/07, Peter Michaux [EMAIL PROTECTED] wrote: snip Yes, it has basically everything. Does vim have the concept of a project of files? I like the project drawer to the left of the editing window which shows the files and directory structure on my hard drive. c.f. taglist.vim (see below)

Re: trying to leave the GUI world and enter the world of VIM

2007-02-26 Thread Theerasak Photha
On 2/27/07, Peter Michaux [EMAIL PROTECTED] wrote: Hi Hanu, Thanks for the response On 2/26/07, Theerasak Photha [EMAIL PROTECTED] wrote: On 2/26/07, Peter Michaux [EMAIL PROTECTED] wrote: Does vim have the concept of a project of files? I like the project drawer to the left

Re: :wq vs ZZ

2007-02-15 Thread Theerasak Photha
On 2/15/07, Richard England [EMAIL PROTECTED] wrote: Theerasak Photha wrote the following on 02/13/2007 04:55 PM: On 2/13/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: 'vi' -- a *warrior's* editor... s/warrior/masochist/ s/vi/emacs/ To be fair, I think I'd rather use Emacs than

Re: entering copied text into command mode?

2007-02-15 Thread Theerasak Photha
On 2/15/07, Lev Lvovsky [EMAIL PROTECTED] wrote: I often find myself copy/pasting via my GUI text that I might have on the screen, and then pasting it into the command to be performed - is there any way to cut/paste text into the command area when I have it highlighted with just the keyboard?

Re: :wq vs ZZ

2007-02-15 Thread Theerasak Photha
On 2/15/07, Kev [EMAIL PROTECTED] wrote: My opinion, emacs and Vim are very powerful editors. (obvious) I used emacs for years. Within months of trying Vim, I was much more productive. Once you learn the basics and begin to build, you'll be amazed at what you can accomplish with Vim. Kevin

Fwd: entering copied text into command mode?

2007-02-15 Thread Theerasak Photha
-- Forwarded message -- From: Theerasak Photha [EMAIL PROTECTED] Date: Feb 15, 2007 8:45 PM Subject: Re: entering copied text into command mode? To: A. J. Mechelynck [EMAIL PROTECTED] OOPS On 2/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Of course, you should first copy

Re: Fwd: entering copied text into command mode?

2007-02-15 Thread Theerasak Photha
On 2/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: I don't know what the Gtk clipboard might be. On my system, + is for whatever is used for Edit = Copy, Edit = Cut and Edit = Paste in any X11 programs regardless of whether or not they are using Gtk widgets (Konqueror, for instance, uses Qt

Re: entering copied text into command mode?

2007-02-15 Thread Theerasak Photha
On 2/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Maybe -- I've never understood how to properly use the * register under X11. What comes from Edit = Copy (or Ctrl-C) in some non-Vim program arrives in the + register in gvim, and what I yank into the + register in gvim is available for Edit =

Re: :wq vs ZZ

2007-02-14 Thread Theerasak Photha
On 2/14/07, Matthew Winn [EMAIL PROTECTED] wrote: On Tue, 13 Feb 2007 18:22:34 -0500, Theerasak Photha [EMAIL PROTECTED] wrote: On 2/13/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: I imagine there is a rationale for 'ZZ', but it's not readily apparent. (Something to do with C-z in DOS

Re: :wq vs ZZ

2007-02-13 Thread Theerasak Photha
On 2/13/07, Vigil [EMAIL PROTECTED] wrote: I wonder why some people use :wq instead of ZZ. Maybe they just don't know about ZZ? Obviously that's not the case with Bram. :wq and its components are among the easiest features to remember in Vim's agglutinating command set, because they are

Re: :wq vs ZZ

2007-02-13 Thread Theerasak Photha
On 2/13/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: I imagine there is a rationale for 'ZZ', but it's not readily apparent. (Something to do with C-z in DOS, or the end of the alphabet?) 'z' is already used, and the shift and z keys are adjacent on Murrrcan keyboards, so you can easily just

Re: :wq vs ZZ

2007-02-13 Thread Theerasak Photha
On 2/13/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: 'vi' -- a *warrior's* editor... s/warrior/masochist/

Re: :wq vs ZZ

2007-02-13 Thread Theerasak Photha
On 2/14/07, Dr. Uwe Schneider [EMAIL PROTECTED] wrote: Sure, ZZ is quite faster than :wq, but :wq is more consistent, thinking about other actions, like :wn. Greetz, Doc I think this is the idea we're getting at: http://en.wikipedia.org/wiki/Agglutination

Re: Vim + MzScheme on Ubuntu

2007-02-07 Thread Theerasak Photha
On 2/7/07, George V. Reilly [EMAIL PROTECTED] wrote: I tried to build Vim with MzScheme support on Ubuntu a few months ago and couldn't figure out what I needed to do to get MzScheme included in Vim. I got everything all the other supported languages working. This implies an error rose. Or

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-07 Thread Theerasak Photha
On 2/7/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: I am getting Vim from Subversion and will install as soon as I know what patches I should apply. All of them? I am using wget to download them now. If you are getting the sources by subversion, I think it means you have the full

Re: Using (g)vim without installing it

2007-02-06 Thread Theerasak Photha
On 2/6/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Preference 2: Is it possible to install gvim on a usb-stick. Of course. Install from Steve Hall's installer as above, but instead of My Documents\Vim, install under, for instance, Q:\Vim if Q: is your USB stick. Again, I don't know whether

Re: Using (g)vim without installing it

2007-02-06 Thread Theerasak Photha
On 2/6/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: They're idiots and assfaces. Tell them I said so, too. They'd rather have conformity over productivity. The appropriate term is 'asshat'; mind your language, young man...

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-06 Thread Theerasak Photha
On 2/7/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Home-compiled 7.0.0. Theerasak (or is it Photha?) Well, it's a nym, so it doesn't really matter that much, but you would be correct in addressing me as Theerasak, disregarding any deferential terms. To simplify things, just call me 'hanu'.

Re: How to maximize my vim window when I start it?

2007-02-05 Thread Theerasak Photha
On 2/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, The :set lines=9 columns=9 does not really maxmize the Vim window. Since there's still borders for the window, a maximized window have no borders (AFAIK this is true for WinXP and KDE). Since you are highly unlikely to use a

Re: Breaking long lines

2007-01-31 Thread Theerasak Photha
On 1/31/07, Jack Tucker [EMAIL PROTECTED] wrote: Christopher Hever [EMAIL PROTECTED] replied: Well, it seems you're making it a bit to difficult. All you have to do is :set textwidth=n in your .vimrc, and then you can use facilities like gqmotion operator to break lines; e.g., gq} will wrap

Re: perl x modifier regex ?

2006-12-28 Thread Theerasak Photha
On 12/28/06, Marc Chantreux [EMAIL PROTECTED] wrote: hi all, Is there a way to obtain the perl x modifier behaviour in vim regex (spaces are non significants, comments are allowed). This is very usefull to make a regexp more readable. No, but there is this:

Re: i_CTRL-Y on Windows

2006-12-27 Thread Theerasak Photha
On 12/27/06, striker [EMAIL PROTECTED] wrote: I frequently use i_CTRL-Y on my *nix box to insert the character above. How can I make i_CTRL-Y work on Windows? i_CTRL-E does however work. TIA, Kevin For anyone else who might want or need this: :iunmap C-Y

Re: error in help on tag-highlight ?

2006-12-27 Thread Theerasak Photha
On 12/27/06, Toon Knapen [EMAIL PROTECTED] wrote: Hi all, I'm looking into using ctags in combination with vim and was looking for highlighting the tags in vim. The :help tag-highlight explains how the necessary tags.vim file can be generated. I do have two questions regarding this info

Re: multi-mark

2006-12-20 Thread Theerasak Photha
On 12/21/06, Yakov Lerner [EMAIL PROTECTED] wrote: Hello, I am looking for the multi-marks plugin. I want to mark multilpe lines (not with 'a,'b,'c, but with some kind of mark that can mark multiple lines), then cycle through the marked lines. Even better, if marked lines are visually marked,

Re: Ignore matches that are commented out - was How to edit a macro

2006-11-02 Thread Theerasak Photha
On 11/2/06, Robert Cussons [EMAIL PROTECTED] wrote: First of all, very sorry, I sent this out with the wrong subject line before as it was going to be a different question that I then managed to resolve myself. Thanks for your reply Theerasak, would folding the comments make any difference

Re: Vietnamese VIQR keymap

2006-11-01 Thread Theerasak Photha
On 11/1/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Theerasak Photha wrote: http://turkey.fvdh.net/~hanumizzle/vietnamese_utf-8.vim This appears to do the same viqr method as the keymap that's included in the distribution. Can you get together with the author of the keymap currently included

pythoncomplete#Complete crashes

2006-11-01 Thread Theerasak Photha
Omnicompletion crashes Vim with a SIGABRT using Vim 7.0 and Python 2.5 on Linux x86. It mentions moreover that glibc detected double free or corruption. Does anyone else have such a problem?

Re: How to edit a macro

2006-11-01 Thread Theerasak Photha
On 11/1/06, Robert Cussons [EMAIL PROTECTED] wrote: Hi everyone, In a C programme for example is there a way to get Vim to ignore matches that are commented out when searching for a string? With / or ?, no. But you may be able to fold all comments.

Vietnamese VIQR keymap

2006-10-31 Thread Theerasak Photha
http://turkey.fvdh.net/~hanumizzle/vietnamese_utf-8.vim