Re: Subject: Re: vim on cygwin using win32 clipboard

2007-02-15 Thread Chris Sutcliffe
Also, is there anything I can do to help get the original patch accepted? Ask a few people to try it out and report their results here. I'll give it a shot. Is there somewhere I can grab the patch from, or should I go through the list archives to find it? Chris -- Chris Sutcliffe

Re: Vim crashing while starting nibbles game

2007-02-15 Thread Mikolaj Machowski
Dnia czwartek 15 luty 2007, Hari Krishna Dara napisał: After I updated the nibbles game, a user reported that his gvim crashes Cannot start Nibble at all: Error in function SNR29_Nibble..nibble#Nibble: line 50: E416: cleared latest genutils and nibble. m.

Re: Web-based editing [Was :wq vs ZZ]

2007-02-15 Thread A. S. Budden
On 15/02/07, Pete Johns [EMAIL PROTECTED] wrote: On Thu, 2007-02-15 at 03:31:21 +0100, Bram Moolenaar sent: Web-based editor? Why not use Vim as your editor from within Firefox? Works a treat for me! ViewSourceWith http://dafizilla.sourceforge.net/viewsourcewith/ Don't see something about Vim

Re: External command with arguments (WinXP): cmd /c problem

2007-02-15 Thread j.hofmann
Hm, this is strange, the windows shell cmd (not vim!) has problems with the following: cmd.exe /c C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE /a c:\Dokumente und Einstellungen\hofjoa41\Eigene Dateien\test.txt - C:\Programme\Microsoft not found If I use the command above directly at the

Re: External command with arguments (WinXP): cmd /c problem

2007-02-15 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hm, this is strange, the windows shell cmd (not vim!) has problems with the following: cmd.exe /c C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE /a c:\Dokumente und Einstellungen\hofjoa41\Eigene Dateien\test.txt - C:\Programme\Microsoft not found If I use the

Re: External command with arguments (WinXP): cmd /c problem

2007-02-15 Thread Dr. Uwe Schneider
Hi Joachim! This seems to correlate with the space in the directory name. Try C:\Programme\Microsoft\ Office\Office10\OUTLOOK.EXE Regards, Doc Hm, this is strange, the windows shell cmd (not vim!) has problems with the following: cmd.exe /c C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE

Re: Web-based editing [Was :wq vs ZZ]

2007-02-15 Thread A. S. Budden
On 15/02/07, A. S. Budden [EMAIL PROTECTED] wrote: On 15/02/07, Pete Johns [EMAIL PROTECTED] wrote: On Thu, 2007-02-15 at 03:31:21 +0100, Bram Moolenaar sent: Web-based editor? Why not use Vim as your editor from within Firefox? Works a treat for me! ViewSourceWith

typing cmds 2x for cygwin shell

2007-02-15 Thread Kev
I use the cygwin shell from within Vim by using the following in my _vimrc : set shell=c:\cygwin\cygwin.bat If I use :r!date to insert the current date, the shell will open and I have to type the command date again. Then after typing exit the shell exits and the date is placed in the buffer.

Re: External command with arguments (WinXP): cmd /c problem

2007-02-15 Thread Fan Decheng
A.J.Mechelynck wrote: [EMAIL PROTECTED] wrote: Hm, this is strange, the windows shell cmd (not vim!) has problems with the following: cmd.exe /c C:\Programme\Microsoft Office\Office10\OUTLOOK.EXE /a c:\Dokumente und Einstellungen\hofjoa41\Eigene Dateien\test.txt - C:\Programme\Microsoft not

RE: typing cmds 2x for cygwin shell

2007-02-15 Thread Dr. Uwe Schneider
@Kevin vim passes the date command somehow to the shell invoked. If you set the shell to your script, which is calling the real shell, the information about to invoke the date command gets lost. Regards, Doc I use the cygwin shell from within Vim by using the following in my _vimrc : set

Re: Web-based editing [Was :wq vs ZZ]

2007-02-15 Thread James Kanze
On 2/15/07, Bram Moolenaar [EMAIL PROTECTED] wrote: I'm using It's All Text! now. Just had to create a shell script to start gvim, because it doesn't allow you to give arguments to the command. I'm using this (on Unix, obviously): #!/bin/sh gvim -f $@ I can't seem to get

^M [Was] how to read the file created in PC in Linux correctly?

2007-02-15 Thread Guillaume Bog
On 15/02/07, frank wang [EMAIL PROTECTED] wrote: Thanks for the help. My gvim version is 7.0. The files are edited by Matlab editor. gvim cannot automatically handle the ^M. No matter what file format I set. The only thing to do is repleace them with %s/\r/\r/g. This ^M is hard to find in

save a file

2007-02-15 Thread Michael Phillips
How do you save a file in a vim script? I have a script that modify a file and I want to save it. After that send it to an external command. The last two lines are the important ones. Any help would be greatly appreciate it. exe normal! :%j\r while search(div class=\vpc_bcc_cell\,Wc) != 0

Re: save a file

2007-02-15 Thread Tom Whittock
exe normal! :%j\r Hello Michael. vim script can be thought of as a series of ex commands (colon commands), therefore the first line of your script could be rewritten: %j which should give a clue as to how you might want to *write* your file. also, you probably don't need the exe command all

Encoding problem

2007-02-15 Thread David Woodfall
I have a bit of a problem with encoding. A particular file (made in windows btw) shows characters wrong in vim, but ok in gvim. Example: ¹²³€ (made by holding alt-gr key and typing 1234). Gvim shows encoding as utf-8 as does vim, so I thought maybe it was a problem with my terminal (mrxvt)

AW: External command with arguments (WinXP): cmd /c problem workaround

2007-02-15 Thread j.hofmann
-Ursprüngliche Nachricht- Von: A.J.Mechelynck [mailto:[EMAIL PROTECTED] If you replace Microsoft Office by its 8.3 equivalent (MICROS~1 or similar) OK, this works: C:\PROGRA~1\MI1933~1\OFFICE10\outlook.exe /a %:p I found this strange short path by calling command.com from

How to get destructive backspace in command mode?

2007-02-15 Thread Larry Alkoff
What is the proper way to have a destructive backspace key in command mode that works like the X key in vim version 6.4.6. That is, the backspace key should move to the left and delete the character there. Currently my backspace key backspaces but does not delete the character to the left.

Re: How to get destructive backspace in command mode?

2007-02-15 Thread Tim Chase
What is the proper way to have a destructive backspace key in command mode that works like the X key in vim version 6.4.6. That is, the backspace key should move to the left and delete the character there. Currently my backspace key backspaces but does not delete the character to the left.

Re: How to get destructive backspace in command mode?

2007-02-15 Thread Larry Alkoff
Tim Chase wrote: What is the proper way to have a destructive backspace key in command mode that works like the X key in vim version 6.4.6. That is, the backspace key should move to the left and delete the character there. Currently my backspace key backspaces but does not delete the

Re: Help needed on pt_BR spell checking

2007-02-15 Thread Leonardo Fontenelle
Hello, Bram, thanks for the reply! I'm sorry, but I can't find the famous $RUNTIMEPATH/spell/*.diff files. They are don't seem to be part of the vim or the vim-spell-xx packages in gentoo, and I can't find them in vim's ftp server. I can't find the a-a-p recipes either... I'm sorry if this

Re: Encoding problem

2007-02-15 Thread David Woodfall
SOLVED! Well I think I fixed by rtfm: :set termenc=cp1252 Seems to work, but I don't know yet whether it breaks anything else. On (15:20 15/02/07), David Woodfall [EMAIL PROTECTED] put forth the proposition: I have a bit of a problem with encoding. A particular file (made in windows btw)

Re: How to get destructive backspace in command mode?

2007-02-15 Thread Tim Chase
You can easily add the following line to your .vimrc: nnoremap bs X Thanks for your very prompt reply Tim. After putting 'nnoremap bs X in ~.vimrc I see that backspace works differently than X. X will move the cursor left, deleting the character that was there, and 'pulling' all the

Re: How to get destructive backspace in command mode?

2007-02-15 Thread Larry Alkoff
Tim Chase wrote: You can easily add the following line to your .vimrc: nnoremap bs X Thanks for your very prompt reply Tim. After putting 'nnoremap bs X in ~.vimrc I see that backspace works differently than X. X will move the cursor left, deleting the character that was there, and

Status Line problems on buffer refresh

2007-02-15 Thread Justin Randall
Hi everyone, I've been having a problem with the non-gui mode of vim in any terminal emulator (xterm, gnome-terminal etc.). The problem is that whenever I try to scroll down the buffer, the status line becomes part of the buffer and scrolls up along with the rest of the text file. It's

Re: :wq vs ZZ

2007-02-15 Thread Richard England
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/

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: searching for a string that has many '/' characters

2007-02-15 Thread malahal
Gary Johnson [EMAIL PROTECTED] wrote: On 2007-02-02, [EMAIL PROTECTED] wrote: I have a string that has lots of forward slashes. I need to search it and delete it (e.g. unix path name). I could use a backslash for everything forward slash and find it in vim. Is there a way I need not do

Re: Workspace concept ala TextPad

2007-02-15 Thread Yegappan Lakshmanan
Hi Eric, On 2/14/07, Eric Leenman [EMAIL PROTECTED] wrote: Hi Yeggapan, [...] You can try using the workspace manager plugin: http://vim.sourceforge.net/scripts/script.php?script_id=1410 [...] I got it so far working. One question. When I give the command af(AddFile) in the filebuffer, the

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

entering copied text into command mode?

2007-02-15 Thread Lev Lvovsky
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? thanks! -lev

Re: Encoding problem

2007-02-15 Thread A.J.Mechelynck
David Woodfall wrote: SOLVED! Well I think I fixed by rtfm: :set termenc=cp1252 Seems to work, but I don't know yet whether it breaks anything else. 'termencoding' tells Vim (in both the Console and GUI versions) how your keyboard translates data and (in the Console version only) how the

Re: entering copied text into command mode?

2007-02-15 Thread Gary Johnson
On 2007-02-15, Theerasak Photha [EMAIL PROTECTED] wrote: 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

Re: tips project

2007-02-15 Thread Gary Johnson
On 2007-02-16, Bram Moolenaar [EMAIL PROTECTED] wrote: Hi all, Google code has now added support for a wiki. This means open source projects can have a wiki that's free, fast and reliable (hopefully :-). http://code.google.com/hosting/ During my presentation last Tuesday the idea

Re: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Theerasak Photha wrote: 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

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: tips project

2007-02-15 Thread A.J.Mechelynck
Bram Moolenaar wrote: Hi all, Google code has now added support for a wiki. This means open source projects can have a wiki that's free, fast and reliable (hopefully :-). http://code.google.com/hosting/ During my presentation last Tuesday the idea came up (again) to move the Vim tips

Re: Encoding problem

2007-02-15 Thread A.J.Mechelynck
A.J.Mechelynck wrote: David Woodfall wrote: SOLVED! Well I think I fixed by rtfm: :set termenc=cp1252 Seems to work, but I don't know yet whether it breaks anything else. 'termencoding' tells Vim (in both the Console and GUI versions) how your keyboard translates data and (in the Console

Re: entering copied text into command mode?

2007-02-15 Thread Gary Johnson
On 2007-02-16, A.J.Mechelynck [EMAIL PROTECTED] wrote: Theerasak Photha wrote: 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

Re: Fwd: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Theerasak Photha wrote: -- 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

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 A.J.Mechelynck
Gary Johnson wrote: On 2007-02-16, A.J.Mechelynck [EMAIL PROTECTED] wrote: Theerasak Photha wrote: 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

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: entering copied text into command mode?

2007-02-15 Thread A.J.Mechelynck
Theerasak Photha wrote: On 2/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: [...] -- Confidence is the feeling you have before you understand the situation. LOL @ your sig. :-) Courtesy of the fortune program available on SuSE Linux. (One time in five I vary it with the fortunes from

Re: Feature request: off_t / off64_t

2007-02-15 Thread Mathieu Malaterre
On 2/8/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: Could someone please add off_t / off64_t to the C syntax file. I'll add off_t, I think it's a generic type. I don't know off64_t. Is that for Linux? Yeah I am not sure, leave it alone. This comes from the

Re: Web-based editing [Was :wq vs ZZ]

2007-02-15 Thread Cameron Simpson
On 15Feb2007 15:30, James Kanze [EMAIL PROTECTED] wrote: | On 2/15/07, Bram Moolenaar [EMAIL PROTECTED] wrote: | I'm using It's All Text! now. Just had to create a shell script to | start gvim, because it doesn't allow you to give arguments to the | command. I'm using this (on Unix, obviously):

Re: Feature request: off_t / off64_t

2007-02-15 Thread Cameron Simpson
On 15Feb2007 22:59, Mathieu Malaterre [EMAIL PROTECTED] wrote: | On 2/8/07, Bram Moolenaar [EMAIL PROTECTED] wrote: | Mathieu Malaterre wrote: |Could someone please add off_t / off64_t to the C syntax file. | | I'll add off_t, I think it's a generic type. | I don't know off64_t. Is that for

Re: Help needed on pt_BR spell checking

2007-02-15 Thread Bram Moolenaar
Leonardo Fontenelle wrote: Hello, Bram, thanks for the reply! I'm sorry, but I can't find the famous $RUNTIMEPATH/spell/*.diff files. They are don't seem to be part of the vim or the vim-spell-xx packages in gentoo, and I can't find them in vim's ftp server. I can't find the a-a-p recipes

vim on calcs, PDAs, palms

2007-02-15 Thread John Doe
Calculators these days have plenty of RAM on them, as do the other hand-held gadgets. C (cross)compilers exist for them all. I'd like to know if any ports of vim to them are supported out of the box, without changing the code. I've seen ports of vim to odd architectures, but I think some of the

Re: entering copied text into command mode?

2007-02-15 Thread Erlend Hamberg
On Friday 16 February 2007, A.J.Mechelynck 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 =

setlocal enc=utf8 and mappings

2007-02-15 Thread DervishD
Hi all :) I'm having a problem that I know how to solve, but I wonder if I'm doing the right thing... Some weeks ago I asked a couple of things about encodings on the list, and based on the answers, I finally did a proper setup to edit UTF-8 files from time to time in my latin1