Re: undo line numbers wrong

2007-05-02 Thread Yakov Lerner
On 5/2/07, Robert Cussons <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > On 4/27/07, Robert Cussons <[EMAIL PROTECTED]> wrote: > >> Thanks Tony, doubt he'll be that interested as he's an emacs user! But >> anyway some time next week I will try and convince him. > > > You can install latest vim

Re: A challenge for those who feel like it

2007-05-02 Thread Dolazy
Thanks for your replies. I like the first solution, but it doesn't return to the original tab, which was what I found most difficult. Ian's solution works :-) I didn't know about the function tabpagenr(), my solution was: :function OpenFile() : let tab_id = expand("%") : tab split : tabm

Re: undo line numbers wrong

2007-05-02 Thread Robert Cussons
Yakov Lerner wrote: On 5/2/07, Robert Cussons <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > On 4/27/07, Robert Cussons <[EMAIL PROTECTED]> wrote: > >> Thanks Tony, doubt he'll be that interested as he's an emacs user! But >> anyway some time next week I will try and convince him. > > > You c

Re: moving virual rectange about in virtualedit mode

2007-05-02 Thread Charles E Campbell Jr
Yakov Lerner wrote: I 'set ve=all' and selected a rectangle with Ctrl-V. How can I move this rectangle up/down left/right with arrows ? With DrawIt v8d, you can move a selected rectangle about with your mouse. Here's the relevant portion of the help for DrawIt: One may drag and move a se

How to set -P argument for the cscope being run by the vim6.3

2007-05-02 Thread Natesh Kedlaya
Hi, I have added following lines to my .vimrc if has("cscope") set csprg=/usr/local/bin/cscope set csto=0 set cst set nocsverb " add any database in current directory if filereadable("cscope.out") cs add cscope.out " else add database pointed to by environment elseif $CSCOP

Re: moving virual rectange about in virtualedit mode

2007-05-02 Thread Gary Johnson
On 2007-05-02, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: > Yakov Lerner wrote: > > > I 'set ve=all' and selected a rectangle with Ctrl-V. > > How can I move this rectangle up/down left/right with arrows ? > > With DrawIt v8d, you can move a selected rectangle about with your mouse. > He

Re: How to set -P argument for the cscope being run by the vim6.3

2007-05-02 Thread Taylor Venable
On Wed, 2 May 2007 09:05:38 -0700 (PDT) Natesh Kedlaya <[EMAIL PROTECTED]> wrote: > As one can see from the output, the "prepend path" is set to . > How do I set the "prepend path" to some value that I want? > > I am able to use -P argument of cscope outside the vim to get the > intended results

Re: moving virual rectange about in virtualedit mode

2007-05-02 Thread Charles E Campbell Jr
Gary Johnson wrote: On 2007-05-02, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: I 'set ve=all' and selected a rectangle with Ctrl-V. How can I move this rectangle up/down left/right with arrows ? With DrawIt v8d, you can move a selected rectangle about

Display position marks in splitted window

2007-05-02 Thread Informationen
Hi, how can I permanently display my position marks(:marks) in an extra window? Kind regards and thanks in advance Chris

Re: How to set -P argument for the cscope being run by the vim6.3

2007-05-02 Thread Natesh Kedlaya
Thank you Taylor. Your suggestion worked. I had to make two changes though. 1. unset the env parameter CSCOPE_DB 2. Add an extra condition to handle the non-existing CSCOPE_DB env as elseif $CSCOPE_DB = "" cs add /my/path/cscope.out my/prepend/path endif For some reason if the CSCO

savevers plugin

2007-05-02 Thread Waters, Bill
I am looking at using the savevers plugin. I don't think it does exactly what I am looking for. I want the old version of my file to be saved regardless of what savevers_max is set to. If I set savevers_max to three and I save for the fourth time, I want the oldest, saved version of the file to

code_complete plug-in help

2007-05-02 Thread madiyaan
Hello all, I am trying to install the code_complete plug-in written by Ming Bai. Please see link below: http://vim.sourceforge.net/scripts/script.php?script_id=1764 I am using gVim 7.0 on Windows XP. I copied the *.vim files in the zipped plug-in to my c:\Program Files\Vim\vim70\plugin director

figlet script

2007-05-02 Thread Troy Piggins
I was looking for some helper commands for using something like 'figlet' from within vim. Searched the vim scripts and closest I could find was the larlet.vim script http://www.vim.org/scripts/script.php?script_id=1357 At present I have this in my .vimrc: map ,f :r!figlet I was wondering if an

Re: undo line numbers wrong

2007-05-02 Thread Yakov Lerner
On 5/2/07, Robert Cussons <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > On 5/2/07, Robert Cussons <[EMAIL PROTECTED]> wrote: > >> Yakov Lerner wrote: >> > On 4/27/07, Robert Cussons <[EMAIL PROTECTED]> wrote: >> > >> >> Thanks Tony, doubt he'll be that interested as he's an emacs user! But >>

Re: savevers plugin

2007-05-02 Thread Yakov Lerner
On 5/3/07, Waters, Bill <[EMAIL PROTECTED]> wrote: I am looking at using the savevers plugin. I don't think it does exactly what I am looking for. Why don't you set savevers_max to 9 ? Do you plan to have more than 9 versions ? (if I underdtand your request right). Otherwise,