wish: collaboration of N vim instances editing same file

2007-04-11 Thread Yakov Lerner
Hello Bram, Is it possible to add this item to the vim voting list ?: collaboration of N vim instances editing same file -- Ability of N instances of vim to absorb, merge and show changes to the same file made by other running vim instances [ either by reading other vim's swapfiles, or

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

2007-04-11 Thread Bob Hiestand
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 a way to find out if the current window uses a local directory. Add cdcmd() that returns :cd or :lcd? I

Re: how to replace ESC to some other key?

2007-04-11 Thread panshizhu
map something to C-Vtab, and it will insert a real tab character for you. for example: inoremap silent F6 c-vtab will map F6 for you, replace it with anything you want. I always need such a map, since I've set 'expandtab' all the time. -- Sincerely, Pan, Shi Zhu. ext: 2606 wangxu [EMAIL

Re: remote-silent and stdin

2007-04-11 Thread Yakov Lerner
On 4/10/07, Mahesh Sivasubramanian [EMAIL PROTECTED] wrote: I am trying to do something to the effect of ls | gvim - --remote-client. or ls | gvim --remote-client - However, vi sees the - as a file name and opens a new filename. Is there way to open the stdin output on a gvim server? Do

Re: remote-silent and stdin

2007-04-11 Thread msivasub
Mahesh Sivasubramanian/Lex/Lexmark 04/11/2007 10:57 AM To Yakov Lerner [EMAIL PROTECTED] cc vim@vim.org Subject Re: remote-silent and stdin Sorry I wasn't clear last time. I am trying to redirect the output of stdin to a remote client(not necessarily ls). Like if I want to do a cat file |

wish: collaboration of N vim instances editing same file

2007-04-11 Thread Yakov Lerner
Hello Bram, Is it possible to add this item to the vim voting list ?: collaboration of N vim instances editing same file -- Ability of N instances of vim to absorb, merge and show changes to the same file made by other running vim instances [ either by reading other vim's swapfiles, or

A nice efm for javac

2007-04-11 Thread Michael F. Lamb
Hello, I've put some spare time into an errorformat string and a filter script which I think makes plain-old javac compilation (read: not using JUnit, not using Ant) quite a bit nicer than the examples from :help errorformat-javac, without being too heavy or complicated. I've tested this with

Re: remote-silent and stdin

2007-04-11 Thread Charles E Campbell Jr
[EMAIL PROTECTED] wrote: Mahesh Sivasubramanian/Lex/Lexmark 04/11/2007 10:57 AM To Yakov Lerner [EMAIL PROTECTED] cc vim@vim.org Subject Re: remote-silent and stdin Sorry I wasn't clear last time. I am trying to redirect the output of stdin to a remote client(not necessarily ls). Like if

Determining whether a window used :lcd

2007-04-11 Thread Bob Hiestand
Hello, all. Is there any way to determine whether a particular window has its path set with :lcd? Thank you, Bob

RE: Silly Question

2007-04-11 Thread Gene Kwiecinski
Vowels are a problem. Unless you have an escape in your name, a, i and o are boring letters. I know someone named Veerle and her name is actually quite destructive, overwriting an entire line with l. What's the most interesting name anyone can find, and also the most damaging? I think my friend

Re: Silly Question

2007-04-11 Thread Tim Chase
Vowels are a problem. Unless you have an escape in your name, a, i and o are boring letters. I know someone named Veerle and her name is actually quite destructive, overwriting an entire line with l. What's the most interesting name anyone can find, and also the most damaging? I think my friend

Re: Silly Question

2007-04-11 Thread Mitch Wiedemann
Tim Chase wrote: Vowels are a problem. Unless you have an escape in your name, a, i and o are boring letters. I know someone named Veerle and her name is actually quite destructive, overwriting an entire line with l. What's the most interesting name anyone can find, and also the most

Re: Silly Question

2007-04-11 Thread Phil Edwards
On 4/11/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: What's the most interesting name anyone can find, and also the most damaging? I think my friend :1,$d would win that particular contest... I was going to make a joke about my middle name being :!chmod -R 0 / and causing confusion as a

gvim invalid expression error

2007-04-11 Thread Chad Gulley
i recently upgraded from vim 6.3 to vim 7.0 on RHEL 4. i also enabled gvim with vim7. using gvim, i get the following error: Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. the

gvim invalid expression error

2007-04-11 Thread Chad Gulley
sorry all, i just realized i had a bum statement in my gvimrc file. please disregard previous email. i recently upgraded from vim 6.3 to vim 7.0 on RHEL 4. i also enabled gvim with vim7. using gvim, i get the following error: Scanning tags. E15: Invalid expression:

Re: gvim invalid expression error

2007-04-11 Thread Tim Chase
Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. I suspect your gvimrc loads something that causes the problem. It seems odd that the problem would only occur in gvim, but not be

Re: gvim invalid expression error

2007-04-11 Thread Tim Chase
Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. I suspect your gvimrc loads something that causes the problem. It seems odd that the problem would only occur in gvim, but not be

Re: gvim invalid expression error

2007-04-11 Thread Tim Chase
Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. I suspect your gvimrc loads something that causes the problem. It seems odd that the problem would only occur in gvim, but not be

Re: gvim invalid expression error

2007-04-11 Thread Tim Chase
Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. I suspect your gvimrc loads something that causes the problem. It seems odd that the problem would only occur in gvim, but not be

Re: gvim invalid expression error

2007-04-11 Thread Tim Chase
Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. I suspect your gvimrc loads something that causes the problem. It seems odd that the problem would only occur in gvim, but not be

Re: gvim invalid expression error

2007-04-11 Thread Tim Chase
Scanning tags. E15: Invalid expression: substitute(v:fname,'s$','','g')substitute(v:fname,'s$','','g') i get this error only in gvim. vim7 and vim6.3 work fine. I suspect your gvimrc loads something that causes the problem. It seems odd that the problem would only occur in gvim, but not be

Sorry for duplicates (mailserver problems. Was: Re: gvim invalid expression error)

2007-04-11 Thread Tim Chase
Sorry for the duplicate emails...my mailserver was giving me fits telling me that it hadn't sent, yet was apparently not so truthful. -tim

Re: script boolean operators

2007-04-11 Thread Mikolaj Machowski
On środa 11 kwiecień 2007, Jürgen Krämer wrote: normal G let numberofrows = line(.) oh, and the above two statements can also be replaced by let numberofrows = line($) Very good advice. normal command can cause flickering of screen when executing scripts. m.

Re: Determining whether a window used :lcd

2007-04-11 Thread Yakov Lerner
On 4/11/07, Bob Hiestand [EMAIL PROTECTED] wrote: Is there any way to determine whether a particular window has its path set with :lcd? I think vi has no direct simple way to determine this. I needed this once in of my script. I ended with some rude simplification/workaround, lackng the

Re: Determining whether a window used :lcd

2007-04-11 Thread Bob Hiestand
On 4/11/07, Yakov Lerner [EMAIL PROTECTED] wrote: I needed this once in of my script. I ended with some rude simplification/workaround, lackng the direct simple solution. I don't know your specific case, but you might find simlpistic workaround. One weird attempt to determine this would be to

what is the language for vim development

2007-04-11 Thread flyfish
Hi, i would like to do some contribution in vim development, i have used vim more than one year in programming and text edit, but when i want to start to code for vim, i even do not know what language is used for vim development, could you give me some information and steps how to do? -- View

Re: what is the language for vim development

2007-04-11 Thread Tim Chase
i would like to do some contribution in vim development, i have used vim more than one year in programming and text edit, but when i want to start to code for vim, i even do not know what language is used for vim development, could you give me some information and steps how to do? Vim is

Re: what is the language for vim development

2007-04-11 Thread Reid Thompson
flyfish wrote: Hi, i would like to do some contribution in vim development, i have used vim more than one year in programming and text edit, but when i want to start to code for vim, i even do not know what language is used for vim development, could you give me some information and steps

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

2007-04-11 Thread Peter Hodge
Hello Yakov, Couldn't you hook into the FileChangedShell autocmd event and merge the changes into your buffer from there? You can also handle the swap file message with SwapExists event. regards, Peter --- Yakov Lerner [EMAIL PROTECTED] wrote: Hello Bram, Is it possible to add this item to

Re: script boolean operators

2007-04-11 Thread Yakov Lerner
On 4/10/07, Horvath Adam [EMAIL PROTECTED] wrote: Thanks, it's really straightforward, but where is it in the manual? http://vimdoc.sourceforge.net/htmldoc/usr_41.html - here I can not find. Notice that usr_41.html is not all-covering. It is not a *reference*. It is only a manual(tutorial).