Re: Time to remove naming restrictions?

2006-10-02 Thread Nikolai Weibull
On 10/1/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: One thing that really annoys me with Vim is the limits it emposes on what names are legal for user-defined functions and commands. I know the reason for these restrictions, but I don't think they make much sense,

Fwd: Do Not Reply To This Message:Re: Time to remove naming restrictions?

2006-10-02 Thread Nikolai Weibull
I keep getting this f**king message every time I post to vim-dev. Seriously, wtf? nikolai (awaiting another notification for this mail not getting through) -- Forwarded message -- From: System Administrator [EMAIL PROTECTED] Date: 2 Oct 2006 14:19:05 -0400 Subject: Do Not Reply

Re: Searching for selected text

2006-10-02 Thread Charles E Campbell Jr
Bram Moolenaar wrote: Matt Mzyzik wrote: I don't like this one more, but it's a good alternative: g/ g? Also, I feel that one day might do something in visual; at least visual line mode. g? is already used for rot13 encoding. g/ is scheduled to be used to search

Re: Do Not Reply To This Message:Re: Time to remove naming restrictions?

2006-10-02 Thread Nikolai Weibull
On 10/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: Me too. I think it means that (1) email address at KNBT that is unavailable or no longer valid, and (2) it's time for you to add special filtering rule to your mail reader. I mean, who said mail bot cannot post to mailing list ? It's not

Re: Autocommand-Event for Clipboard-Changed

2006-10-02 Thread Bram Moolenaar
Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not really something I would like to add to Vim. -- Managers are like cats in a litter box. They

Re: gvim segfaulting on Solaris 10

2006-10-02 Thread Bram Moolenaar
Ali Akcaagac wrote: On Sun, 2006-10-01 at 23:13 +0200, Bram Moolenaar wrote: The bonobo stuff is only used when compiling for GTK 2 with Gnome support. I generally discourage compiling with Gnome, it has its problems. This is mentioned in the Makefile. If you compile without Gnome,

CursorHold when cursor is in command-line

2006-10-02 Thread Yakov Lerner
I observe that CursorHold is not triggered when cursor in spending long time in commandline, correct ? Is it possible to trigger CursorHold also when cursor is in command line ? (Maybe by some :au CursorHold commandline syntax ?) BTW does all this mean that if I enter commandline (:) within

Colorschemes Need Updating

2006-10-02 Thread Bill McCarthy
Hello Vim List, Motivated by the stunningly poor readability of highlighting group Pmenu (white on magenta or light-magenta), I looked for ways to change the meaning of at least Pmenu and PmenuSel. Their are no officially distributed colorschemes that support all the new groups and only 3, of

Re: Colorschemes Need Updating

2006-10-02 Thread Georg Dahn
Hi! --- Bill McCarthy [EMAIL PROTECTED] wrote: Motivated by the stunningly poor readability of highlighting group Pmenu (white on magenta or light-magenta), You are right, the defaults of this is awful. The same holds for the highlights of Constant and Title. These color schemes nearly hurt

Re: imd don't take effect under linux

2006-10-02 Thread Eddy Zhao
2006/10/1, Bram Moolenaar [EMAIL PROTECTED]: Eddy Zhao wrote: I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. I'm using gvim 7.0, with xim support, under

Re: imd don't take effect under linux

2006-10-02 Thread Eddy Zhao
2006/10/2, Alexis S. L. Carvalho [EMAIL PROTECTED]: Thus spake Eddy Zhao: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. I'm using gvim 7.0, with

Re: Colorschemes Need Updating

2006-10-02 Thread Peter Hodge
Hello, I found no way to change Gvim's default highlighting for these groups. What I found is a mapping of the groups to group names in the setting 'highlight'. I believe you're supposed to change these default mappings in your .vimrc file, but unfortunately your changes will get lost as

Re: change right arrow behaviour in normal mode

2006-10-02 Thread Kamaraju Kusumanchi
On Sunday 01 October 2006 12:31, Yakov Lerner wrote: See :help 'whichwrap' I have this in my .vimrc: :set whichwrap=,,[,] Perfect! Exactly what I was searching for! Thanks. raju

Re: forms support for Vim

2006-10-02 Thread Mikolaj Machowski
Dnia poniedziałek, 2 października 2006 01:41, Hari Krishna Dara napisał: First, a big thank you for trying it and giving feedback. On Sun, 1 Oct 2006 at 4:11pm, Mikolaj Machowski wrote: Hello, Interesting concept. The most difficult thing are Vim habits. Seeing spelling error in line

Re: Vi use up-down-left-right in insert mode

2006-10-02 Thread Yakov Lerner
On 10/1/06, samitj [EMAIL PROTECTED] wrote: I am a new vi user switching from emacs. Is it possible to use up-down-left-right,backspace and delete in Vi in insert mode. Are you using vim or [non-vim] vi ? What you ask works in vim, but does not work in vi. First make sure you use *vim*, not

Uppercase keywords

2006-10-02 Thread Marius Roets
Hi Vimmers, I have a big a (3000+ lines) source code file. The syntax highlighting works perfectly, so all keywords are highlighted correctly. Is there any way that I can use this fact to convert all keywords to uppercase, or do I have to do them all one by one? Thanks Marius

Re: imd don't take effect under linux

2006-10-02 Thread Dasn
On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. Does :set imd take effect in Normal mode

Re: Uppercase keywords

2006-10-02 Thread A.J.Mechelynck
Marius Roets wrote: Hi Vimmers, I have a big a (3000+ lines) source code file. The syntax highlighting works perfectly, so all keywords are highlighted correctly. Is there any way that I can use this fact to convert all keywords to uppercase, or do I have to do them all one by one? Thanks

Re: imd don't take effect under linux

2006-10-02 Thread A.J.Mechelynck
Dasn wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. Does :set imd take effect in

Re: imd don't take effect under linux

2006-10-02 Thread Eddy Zhao
2006/10/2, Dasn [EMAIL PROTECTED]: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. Does

Re: imd don't take effect under linux

2006-10-02 Thread Eddy Zhao
2006/10/2, A.J.Mechelynck [EMAIL PROTECTED]: Dasn wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting

Re: Vi use up-down-left-right in insert mode

2006-10-02 Thread Tim Chase
Note that this mailing list deals only with vim, not with any other flavors of vi. Some of us are a little more cosmopolitan, willing to discuss obscure features of other versions of vi... :) (at least if we have access to 'em, such as the stock version of vi I have on my OpenBSD machines).

Re: imd don't take effect under linux

2006-10-02 Thread A.J.Mechelynck
Eddy Zhao wrote: 2006/10/2, A.J.Mechelynck [EMAIL PROTECTED]: Dasn wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under

How to check the difference with the origin file

2006-10-02 Thread Gregory SACRE
Hello Vimmers, I was wondering if there is a way to see the differences between the file you are modifying and its original version. For example: Let's say I'm editing a text file. I finished editing it and I'd like to see all the changes I've performed on it since I opened it (to write down

Re: How to check the difference with the origin file

2006-10-02 Thread Péter Zsoldos
Hi, Gregory SACRE wrote: I was wondering if there is a way to see the differences between the file you are modifying and its original version. Let's say I'm editing a text file. I finished editing it and I'd like to see all the changes I've performed on it since I opened it (to write down the

Re: How to check the difference with the origin file

2006-10-02 Thread Yakov Lerner
On 10/2/06, Gregory SACRE [EMAIL PROTECTED] wrote: I was wondering if there is a way to see the differences between the file you are modifying and its original version. The following nice thing comes from Donn Washburn: command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis |

Re: How to check the difference with the origin file

2006-10-02 Thread Tim Chase
I was wondering if there is a way to see the differences between the file you are modifying and its original version. If you haven't saved the file yet, you can compare the current buffer with the original file contents as described at http://tech.groups.yahoo.com/group/vim/message/72287 a

Re: How to check the difference with the origin file

2006-10-02 Thread Gregory SACRE
Thank you very much Yakov! It worked perfectly! On 10/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/2/06, Gregory SACRE [EMAIL PROTECTED] wrote: I was wondering if there is a way to see the differences between the file you are modifying and its original version. The following nice thing

Re: imd don't take effect under linux

2006-10-02 Thread Eddy Zhao
2006/10/2, A.J.Mechelynck [EMAIL PROTECTED]: Eddy Zhao wrote: 2006/10/2, A.J.Mechelynck [EMAIL PROTECTED]: Dasn wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set

Re: I cannot install gvim7.0

2006-10-02 Thread Tom Purl
Please reply to the list so that others can learn from our mistakes :) I think it works. But it's really surprising. I run apt-get build-dep vim-gnome, then run ./configure the same result:checking --enable-gui argument... no GUI support. You can also try the `apt-get build-dep` command

Nul ?

2006-10-02 Thread Meino Christian Cramer
Hi, what does it mean or what is the meaining of: When i_Ctrl-k key returns Nul ??? Do I have pressed a ghost-key ??? Keep hacking mcc

@ macro history

2006-10-02 Thread Tom Purl
I'm trying to execute a series of Vim commands on multiple files. Here's the workflow: 1. Open a file using gvim 2. Execute a named macro (that was recorded using the `q + a` command) 3. Save and close my file (which forces me to close gvim in this example). 4. Repeat on the next file without

Re: @ macro history

2006-10-02 Thread Tom Purl
Thanks for the quick reply Tim! I did a little more research based on your help, and I found the options.txt help file. From what I understand, to do what I want to do, I should put the following line in my ~/.vimrc: set viminfo='50,1000,s100 However, this still doesn't cause vim to

Re: @ macro history

2006-10-02 Thread Tim Chase
Thanks for the quick reply Tim! I did a little more research based on your help, and I found the options.txt help file. From what I understand, to do what I want to do, I should put the following line in my ~/.vimrc: set viminfo='50,1000,s100 However, this still doesn't cause vim to

Re: @ macro history

2006-10-02 Thread Tom Purl
Thanks again for all of the great tips Tim! set viminfo='50,1000,s100 Strange. You are correct that the viminfo setting you list *should* do the trick. To evidence this, I started up vim, recorded a macro to the q register, ran it a couple times, and quit, then restarted vim, and

Re: @ macro history

2006-10-02 Thread Tim Chase
recorded a macro to the q register, ran it a couple times, and quit, then restarted vim, and tried @a again to execute the macro. Worked like a charm. I looked in my .viminfo file under the #Registers: section, and I didn't see a q register. I saw 0-9, and a few other letters, but no q. So I

Re: Nul ?

2006-10-02 Thread Yakov Lerner
On 10/2/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: what does it mean or what is the meaining of: When i_Ctrl-k key returns Nul ??? It means you pressed Ctrl-@ Yakov

Re: Nul ?

2006-10-02 Thread Meino Christian Cramer
From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Nul ? Date: Mon, 2 Oct 2006 22:12:46 +0300 On 10/2/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: what does it mean or what is the meaining of: When i_Ctrl-k key returns Nul ??? It means you pressed Ctrl-@ Yakov

Re: Nul ?

2006-10-02 Thread Yakov Lerner
On 10/2/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Nul ? Date: Mon, 2 Oct 2006 22:12:46 +0300 On 10/2/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: what does it mean or what is the meaining of: When i_Ctrl-k key returns

Re: Mapping of keysequences...

2006-10-02 Thread Andy Wokula
Meino Christian Cramer schrieb: Thanks for all, Tony!!! :O) I think Bram should add :he Tony -support in vim which prints your email address... or may be it is not what you really want, isn't ir ;O) (just kidding) Keep hacking! mcc Add it yourself :e ~/.vim/doc/tony.txt

Re: copy a word without moving cursor

2006-10-02 Thread Charles E Campbell Jr
Osho GG wrote: I am already putting this segment in much larger map that does other things on a contents. However, the way I currently do it has a disadvantage that the cursor moves and then it moves back and then the screen flashes - all for nothing really. ayaw or ayiw doesn't work for me

Re: vim backspace

2006-10-02 Thread Charles E Campbell Jr
cga2000 wrote: I don't suppose there's any way I can save the current interactively- modified colorscheme to a file? Perhaps http://vim.sourceforge.net/scripts/script.php?script_id=1081 will be helpful for what you want to do. Interactively adjust the colorscheme using hicolors'

Re: Mapping of keysequences...

2006-10-02 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2-Oct-06, at 3:51 PM, Andy Wokula wrote: Meino Christian Cramer schrieb: Thanks for all, Tony!!! :O) I think Bram should add :he Tony Add it yourself :e ~/.vim/doc/tony.txt :i *tony.txt* Tony's mail address *Tony* A.J.Mechelynck

Re: @ macro history

2006-10-02 Thread Torur Andreassen
On Mon, Oct 02, 2006 at 01:13:47PM -0500, Tom Purl wrote: I'm trying to execute a series of Vim commands on multiple files. Here's the workflow: 1. Open a file using gvim 2. Execute a named macro (that was recorded using the `q + a` command) 3. Save and close my file (which forces me to

Re: Colorschemes Need Updating

2006-10-02 Thread Bill McCarthy
On Mon 2-Oct-06 1:34am -0600, Georg Dahn wrote: --- Bill McCarthy [EMAIL PROTECTED] wrote: From my 161 colorschemes in vimfiles\colors (obtained at Vim Online): What do you do with so many color schemes? Some of them have been updated already, just fetch the new versions. For example,

Re: vim backspace

2006-10-02 Thread cga2000
On Mon, Oct 02, 2006 at 04:07:10PM EDT, Charles E Campbell Jr wrote: cga2000 wrote: I don't suppose there's any way I can save the current interactively- modified colorscheme to a file? Perhaps http://vim.sourceforge.net/scripts/script.php?script_id=1081 will be helpful for what you

Forms highlighting

2006-10-02 Thread Mikolaj Machowski
Hello, Below patch to yesterday version of forms.vim . Rather proof of concept than full solution but looks much nicer: Features: - highlight header of form in Comment - highlight labels of fields as Questions - hightlight hotkeys as Statements Limitations: - Buttons are not supported

Re: Forms highlighting

2006-10-02 Thread Hari Krishna Dara
My comments below. If anyone is still interested to try, here is how you do it: - Download the below file and put it in your autoload directory: http://haridara.googlepages.com/forms.vim - Start a fresh Vim session and execute: :call forms#demo() - Optionally, remove the downloaded file after you

Re: imd don't take effect under linux

2006-10-02 Thread Dasn
On Mon, Oct 02, 2006 at 01:50:44PM +0200, A.J.Mechelynck wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the

Questions regarding auto-guessing the encoding

2006-10-02 Thread Yongwei Wu
Hi Bram and Vim gurus, I wrote a little program to guess the encoding of a text file, and I intend to use it with vim. (So it currently supports ASCII, Latin1, GB2312, GBK, and Big5 files, but no UTF-x, since it might not be necessary.) While trying to make it work together, I encountered some

RE: Detecting when in omnicomplete

2006-10-02 Thread David Fishburn
-Original Message- From: Karl Guertin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 4:10 PM To: [EMAIL PROTECTED] Cc: VIM Help Subject: Re: Detecting when in omnicomplete On 9/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If you have a look at

RE: Uppercase keywords

2006-10-02 Thread David Fishburn
-Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 7:44 AM To: Marius Roets Cc: vim@vim.org Subject: Re: Uppercase keywords Marius Roets wrote: Hi Vimmers, I have a big a (3000+ lines) source code file. The syntax

Re: Nul ?

2006-10-02 Thread Meino Christian Cramer
From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Nul ? Date: Mon, 2 Oct 2006 22:18:31 +0300 On 10/2/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Nul ? Date: Mon, 2 Oct 2006 22:12:46 +0300 On 10/2/06, Meino Christian Cramer

Re: Questions regarding auto-guessing the encoding

2006-10-02 Thread Yongwei Wu
On 10/3/06, Yongwei Wu [EMAIL PROTECTED] wrote: * Why keymap/accents.vim is opened as UTF-8 and fails the conversion when fencs=ucs-bom,utf-8,cp936? (It is opened as Latin1 when fencs=ucs-bom,utf-8,latin1, and this inconsistency is a little annoying to me to determine in a handler whether the

Re: Questions regarding auto-guessing the encoding

2006-10-02 Thread Yegappan Lakshmanan
Hello, On 10/2/06, Yongwei Wu [EMAIL PROTECTED] wrote: * Is there a way to tell a user-defined command to have file name completion? Yes. You can use the -complete=file option when defining the command. For example, command -nargs=1 -complete=file EditFile edit args For additional

php online help in windowsXP

2006-10-02 Thread Vu The Cuong
I already read vim tip about online-refer to function of PHP. http://www.vim.org/tips/tip.php?tip_id=598 It said: == set keywordprg=a_script What it does: default, when you ar with the cursor on a WORD and press K (SHIFT+k) in `command mode', the vim will