[Off-topic] Vimperator

2007-04-23 Thread Martin Stubenschrott
I am sorry, if this kind of messages are highly despised on this list. But since vim-users are my main target group, I created a new Firefox extension, which makes browsing the web feel like browsing a vim buffer: http://vimperator.mozdev.org Maybe it helps you vim users, that :wq actually

Re: [Off-topic] Vimperator

2007-04-23 Thread Asiri Rathnayake
On Mon, 2007-04-23 at 11:34 +0200, Martin Stubenschrott wrote: I am sorry, if this kind of messages are highly despised on this list. But since vim-users are my main target group, I created a new Firefox extension, which makes browsing the web feel like browsing a vim buffer:

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Viktor Kojouharov
On 4/23/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Виктор Кожухаров wrote: Hello, I think there might be a bug with vim7, and they way it handles the arrow keys in a terminal. The problem is, that in insert mode, the arrow keys don't navigate through the text, but output letters. For

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Viktor Kojouharov
On 4/23/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Виктор Кожухаров wrote: Hello, I think there might be a bug with vim7, and they way it handles the arrow keys in a terminal. The problem is, that in insert mode, the arrow keys don't navigate through the text, but output letters. For

Re: suggestion

2007-04-23 Thread Marc Weber
On Tue, Apr 17, 2007 at 10:35:14PM -0400, David Howland wrote: Dear Vim gods, Please consider adding the following command to Vim: :bc (for buffer close) It acts just like :bd , except that if the buffer is in a split window, it does not remove the window. Thank you. I've seen this

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Charles E Campbell Jr
Viktor Kojouharov wrote: It turned out that these mappings broke the arrow keys in the terminal: inoremap expr Esc pumvisible()?\C-E:\Esc inoremap expr CR pumvisible()?\C-Y:\CR inoremap expr Down pumvisible()?\C-N:\Down inoremap expr Up pumvisible()?\C-P:\Up inoremap expr

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Виктор Кожухаров
В пн, 2007-04-23 в 19:56 +0200, Nikolai Weibull написа: On 4/23/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Viktor Kojouharov wrote: It turned out that these mappings broke the arrow keys in the terminal: inoremap expr Esc pumvisible()?\C-E:\Esc IMHO, if one is expecting

Re: wish: allow a: in the function def

2007-04-23 Thread Nikolai Weibull
On 4/23/07, Yakov Lerner [EMAIL PROTECTED] wrote: wish: allow a: in the function definition line: function foo(a:line1, a:line2) This is currently not allowed. But it seems logical to allow it. Why should it be? Extra typing? Counterwish: implement better semantics for VimScript so

Re: [PATCH] Determining whether a window used :lcd

2007-04-23 Thread Nikolai Weibull
On 4/20/07, Bram Moolenaar [EMAIL PROTECTED] wrote: On 4/11/07, Bob Hiestand [EMAIL PROTECTED] wrote: The attached patch very simply implements the following from the todo: 7 There is no way to change directory and go back without changing the local and/or global directory. Add

Auto-replies, delayed bounces, challenge-response authentication, ... (Was: Split window with interpreter)

2007-04-23 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: I apologize for this automatic reply to your email. To control spam, I now allow incoming messages only from senders I have approved beforehand. If you would like to be added to my list of approved senders, please fill out the short request form (see link below).

Re: VimWin

2007-04-23 Thread Matthew Winn
On Sun, 22 Apr 2007 21:48:58 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: - virtual desktops. This may need some explaining to Windows-only people: On Windows there is one desktop, period. On X11, at least with some window managers, you may have up to 20 virtual desktops (you choose how

Re: VimWin

2007-04-23 Thread A. S. Budden
On 23/04/07, Matthew Winn [EMAIL PROTECTED] wrote: On Sun, 22 Apr 2007 21:48:58 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: - virtual desktops. This may need some explaining to Windows-only people: On Windows there is one desktop, period. On X11, at least with some window managers, you

Re: eterm and vim

2007-04-23 Thread J. Erik Heinz
Hi, A.J.Mechelynck [EMAIL PROTECTED] words on 23.04.2007 - 03:08 (+0200 Zulu-Time): J. Erik Heinz wrote: A.J.Mechelynck [EMAIL PROTECTED] words on 12.03.2007 - 08:30 (+0100 Zulu-Time): Simon Jackson wrote: Open Console Vim with an empty [No Name] buffer, hit i or a to

Re: VimWin

2007-04-23 Thread Bernd Strohhäcker
A. S. Budden schrieb: On 23/04/07, Matthew Winn [EMAIL PROTECTED] wrote: On Sun, 22 Apr 2007 21:48:58 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: - virtual desktops. This may need some explaining to Windows-only people: On Windows there is one desktop, period. On X11, at least with

Re: VimWin

2007-04-23 Thread Zhichao Hong
The best virtual window manager I have used is VirtuaWin(http://virtuawin.sourceforge.net/). It is lightweight and have a plugin architecture. I have tried Virtual Dimension. But I still prefer the VirtuaWin for some reasons I don't remember. If you really need a *NIX lf, you can try the

problem with repeat and point (.)

2007-04-23 Thread Christian Anthon
The following is the result of doing i1.1CRESC. 1.1 1¬1 that is inserting 1.1 and a newline, and then repeating. For some strange reason the . isn't repeated as it should be. I'm running the text version of vim in a gnome terminal on fedora core 6 using utf-8. Any ideas how to fix this?

Re: problem with repeat and point (.)

2007-04-23 Thread Tim Chase
The following is the result of doing i1.1CRESC. 1.1 1¬1 that is inserting 1.1 and a newline, and then repeating. For some strange reason the . isn't repeated as it should be. I'm running the text version of vim in a gnome terminal on fedora core 6 using utf-8. I don't get the behavior you

Re: problem with repeat and point (.)

2007-04-23 Thread Christian Anthon
Turned out to be a problem with the vimspell plugin. Deleted that and it worked. Thanx, Christian.

blank line at end of file

2007-04-23 Thread Vlad GURDIGA
Hello! I use vim7 on Win32 and every time I save a file, vim adds a new blank (CR+LF) line at the end of the file although it is not visible when in vim. Is there an option to disable this behaviour? Thanks!

Re: blank line at end of file

2007-04-23 Thread Tim Chase
I use vim7 on Win32 and every time I save a file, vim adds a new blank (CR+LF) line at the end of the file although it is not visible when in vim. Is there an option to disable this behaviour? yes, there is a way to break expectations :) The problem is that if you don't have a terminal newline

open remote file in vim/gvim

2007-04-23 Thread ben lieb
This might have been discussed before, but how can I open a file remotely in vim? Via, ftp, ssh, etc.

Re: open remote file in vim/gvim

2007-04-23 Thread Zhaojun WU
Hi, Ben, I think netrw [ http://www.vim.org/scripts/script.php?script_id=1075 ] is what you want, although, personally, I haven't used it so far 'cause I am used to edit a file after SSH login. :-) HTH, Zhaojun On 4/23/07, ben lieb [EMAIL PROTECTED] wrote: This might have been discussed

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Gene Kwiecinski
I can't think of any valid reason why one lonely user - me for instance - would want to fire up several instances of vim to edit the same file. It can be. For example, in LNX user can edit file in text console, then switch to X11 and then start editor again to edit the same file, forgetting that

What plugin is the one that does the following ...

2007-04-23 Thread Andrew Falanga
Hi, I'm doing some reading on vim.org in the documentation areas and found that the ability to browse a directory from within a buffer is actually accomplished by plugins rather than being built into the vim binary. I didn't know this. So, what plugin is it that accomplishes what is referenced

Re: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Yakov Lerner
On 4/23/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: I can't think of any valid reason why one lonely user - me for instance - would want to fire up several instances of vim to edit the same file. It can be. For example, in LNX user can edit file in text console, then switch to X11 and then

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Gene Kwiecinski
I'd be seriously uncomfortable with that as a feature. Imagine absentmindedly editing the same file 2x or more. Make some changes in one instance, make different changes in another instance, save/quit the first, save/quit the second, trash all the edits made in the first instance. In the

Re: open remote file in vim/gvim

2007-04-23 Thread Charles E Campbell Jr
ben lieb wrote: This might have been discussed before, but how can I open a file remotely in vim? Via, ftp, ssh, etc. vim ftp://host/path/to/file vim scp://host/path/to/file Both of these use the netrw plugin, BTW. Both may ask you for passwords, although one can work around that

Re: What plugin is the one that does the following ...

2007-04-23 Thread Charles E Campbell Jr
Andrew Falanga wrote: I'm doing some reading on vim.org in the documentation areas and found that the ability to browse a directory from within a buffer is actually accomplished by plugins rather than being built into the vim binary. I didn't know this. So, what plugin is it that accomplishes

Re: What plugin is the one that does the following ...

2007-04-23 Thread Taylor Venable
On Mon, 23 Apr 2007 09:27:18 -0600 Andrew Falanga [EMAIL PROTECTED] wrote: I'm doing some reading on vim.org in the documentation areas and found that the ability to browse a directory from within a buffer is actually accomplished by plugins rather than being built into the vim binary. I

Re: turning arbitrary word change into substitution

2007-04-23 Thread Yakov Lerner
On 4/22/07, Tim Chase [EMAIL PROTECTED] wrote: Is it possible to do the following, or maybe some plugin already exist. If not, how would I script it. Let's say I have some long identifier EXPECTED_GCONFIG scattered around the file. I put cursor after _ and change it to EXPECTED_CONTENTS

sh.vim - Syntax Highlighting Issues

2007-04-23 Thread George
I'd like to get the 'sh' filetype syntax highlighting working on FreeBSD. The following (supported) constructs, for example, show as errors. -- #!/bin/sh # Parameter Expansion: SCRIPTNAME=${0##*/} # Command Substitution: COMMAND=$(echo 'What is

Re: [OT] Toolbars in Windows

2007-04-23 Thread Gary Johnson
On 2007-04-22, Suresh Govindachar [EMAIL PROTECTED] wrote: In the thread titled VimWin, Gary Johnson recently wrote: [snip] Plus, KDE allows me to put menus of often-used programs in the task bar. The Windows Quick Launch menu is similar, but there's only one of them so it

Re: Filename completion with all directories in 'path'?

2007-04-23 Thread Ben Kovitz
On Apr 19, 2007, at 7:12 PM, Jean-Rene David wrote: Is there a way to make filename completion (pressing tab at the command line in :find) use all the directories in the 'path'? Not exactly what you ask, but here is a nice little script I use quite a bit which you might find helpful:

Re: What plugin is the one that does the following ...

2007-04-23 Thread Andrew Falanga
On 4/23/07, Taylor Venable [EMAIL PROTECTED] wrote: Do you mean the ability to edit a directory and read its contents? yes The documentation says that it's distributed with vim. However, I installed vim using the FreeBSD ports system on my FreeBSD system and this pluglin, apparently,

Re: Changing directory on start-up

2007-04-23 Thread Tim Chase
cd's to the directory that contains the file I'm editing. Does anyone know what's causing that or how I can turn if off? In more detail, what happens is this. I type something like: vi /some/other/dir/filename at the command line, and then when I'm in gvim, if I type: :pwd I get:

Re: sh.vim - Syntax Highlighting Issues

2007-04-23 Thread Charles E Campbell Jr
George wrote: I'd like to get the 'sh' filetype syntax highlighting working on FreeBSD. The following (supported) constructs, for example, show as errors. Read :help sh.vim and set one of the variables mentioned there in your .vimrc. Regards, Chip Campbell

Re: What plugin is the one that does the following ...

2007-04-23 Thread Gary Johnson
On 2007-04-23, Andrew Falanga [EMAIL PROTECTED] wrote: On 4/23/07, Taylor Venable [EMAIL PROTECTED] wrote: Do you mean the ability to edit a directory and read its contents? yes The documentation says that it's distributed with vim. However, I installed vim using the FreeBSD

Re: What plugin is the one that does the following ...

2007-04-23 Thread Andrew Falanga
On 4/23/07, Gary Johnson [EMAIL PROTECTED] wrote: On 2007-04-23, Andrew Falanga [EMAIL PROTECTED] wrote: On 4/23/07, Taylor Venable [EMAIL PROTECTED] wrote: Do you mean the ability to edit a directory and read its contents? yes The documentation says that it's distributed with

Re: sh.vim - Syntax Highlighting Issues

2007-04-23 Thread George
On Mon, Apr 23, 2007 at 03:23:34PM -0400, Charles E Campbell Jr wrote: George wrote: I'd like to get the 'sh' filetype syntax highlighting working on FreeBSD. The following (supported) constructs, for example, show as errors. Read :help sh.vim and set one of the variables

Re: turning arbitrary word change into substitution

2007-04-23 Thread Arun Easi
How about the U operation to get the original word and redo U to get back to the current. This will mapp F3, modify according to your needs (add \ and \ etc) nn F3 UyiwU:%s/c-r/c-rc-w/g OR to save the :s for subsequent use, nn F3 UyiwU:.s/c-r/c-rc-w/ecr regards, -Arun On Sun, 22 Apr 2007,

search vs closed folds

2007-04-23 Thread Yakov Lerner
When I search and I have closed folds, vim will automatically open the closed fold if next match is in the closed fold. Is there setting to disable this auto-opening ? Not to open the closed fold when searching ? Yakov

Re: turning arbitrary word change into substitution

2007-04-23 Thread Yakov Lerner
On 4/23/07, Arun Easi [EMAIL PROTECTED] wrote: How about the U operation to get the original word and redo U to get back to the current. This will mapp F3, modify according to your needs (add \ and \ etc) nn F3 UyiwU:%s/c-r/c-rc-w/g OR to save the :s for subsequent use, nn F3

Re: search vs closed folds

2007-04-23 Thread Georg Dahn
When I search and I have closed folds, vim will automatically open the closed fold if next match is in the closed fold. Is there setting to disable this auto-opening ? Not to open the closed fold when searching ? You may want to add set foldopen-=search to your vimrc file. Just read :h

:sp tab completion

2007-04-23 Thread Jack Eidsness
My question is easiest to describe in terms of bash. When you're using a plain bash configuration (plain, or maybe its common configuration for most linux distros), and try to open a file at the command line using tab for autocompletion, like this: [ /etc ]$ vim rc.(tab) rc.drc.local

Re: Multiple commands.

2007-04-23 Thread Gary Johnson
On 2007-04-22, John R. Culleton [EMAIL PROTECTED] wrote: I want to activate a whole string of substitute commands by a single F key, perhaps 6 or 8. Can I call a script from an F key? How? Alternatively, can I string them together in a line or multiple lines in gvimrc? How? I asked

how to determine what filetype vim is using

2007-04-23 Thread Andrew Falanga
Hi again, I've finally found the answer to the indenting problems I was having. I found that the indenting I was used to is present if I start cindent in my .vimrc file. However, now I've got a problem. When I have the starting for all files, when I edit TCL scripts, the indenting behavior is

Re: how to enable mouse in vim of cygwin

2007-04-23 Thread Gary Johnson
On 2007-04-23, sun [EMAIL PROTECTED] wrote: If it's a Cygwin build, you may need to make sure that Cygwin can get mouse actions (which may need running the gpm daemon, or something) and that Vim has the corresponding feature (such as +mouse_gpm or +mouse_xterm) compiled-in. Best

Re: how to determine what filetype vim is using

2007-04-23 Thread Yakov Lerner
On 4/24/07, Andrew Falanga [EMAIL PROTECTED] wrote: Hi again, I've finally found the answer to the indenting problems I was having. I found that the indenting I was used to is present if I start cindent in my .vimrc file. However, now I've got a problem. When I have the starting for all

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Peter Hodge
Hello, Couldn't the 'patch' command do this? E.g., Vim#1 has made some changes to example.c (but not saved them), and Vim#2 makes some different changes and saves them. Vim#1 sees that example.c has changed, and makes a diff between the new example.c and what it originally was, and also makes a

Re: how to determine what filetype vim is using

2007-04-23 Thread A.J.Mechelynck
Yakov Lerner wrote: On 4/24/07, Andrew Falanga [EMAIL PROTECTED] wrote: Hi again, I've finally found the answer to the indenting problems I was having. I found that the indenting I was used to is present if I start cindent in my .vimrc file. However, now I've got a problem. When I have the

Re: :sp tab completion

2007-04-23 Thread A.J.Mechelynck
Jack Eidsness wrote: My question is easiest to describe in terms of bash. When you're using a plain bash configuration (plain, or maybe its common configuration for most linux distros), and try to open a file at the command line using tab for autocompletion, like this: [ /etc ]$ vim

Re: -----how can i unsubscribe the vim alias

2007-04-23 Thread A.J.Mechelynck
Mimi Tam wrote: Hi, Do you know what is the administrator email for the vim@vim.org alias? I received emails sent by others to this alias fine, but I can't seem to be able to send emails to this alias to ask question myself. I never see them posted and I never got any replies to my

Re: Lost in Space -- extended approach

2007-04-23 Thread Gary Johnson
On 2007-04-24, [EMAIL PROTECTED] wrote: Hi, A similiar problem I had was solved previously. Now I got stuck in the advanced version of this. Suppose I have the following text (:set list) : ljdh $ laskjdl $ sdj $ aslkdjldjlad$ a $ askdj $