Re: :b file like behavior for :tabn

2011-11-20 Thread philipx
Thank you very much to both of you, but neither command doesn't do quite what I was looking for (thank you for the lesson though - I didn't know about either :tab sbuffer nor :drop). Either command opens a *new* tab with the file - I'd like it to go to the tab that already has the file open. The

RE: :b file like behavior for :tabn

2011-11-20 Thread John Beckett
philipx wrote: Either command opens a *new* tab with the file - I'd like it to go to the tab that already has the file open. reason is that the tabs often have certain window setups that I'd like to go back to. I haven't tried it, but you could investigate: :set switchbuf=usetab :sb

Re: Dotfile and Github

2011-11-20 Thread Jacobo de Vera
On Sat, Nov 19, 2011 at 11:01, Carlos Villuendas Zambrana carlosvi...@gmail.com wrote: Hi all, I want use Git to manage my dotfiles. Meaby using github. I was looking for in internet for a good tutorials but i dont found it. Please can you help me with any tip and trick. Thx for all

Re: Dotfile and Github

2011-11-20 Thread Rich Healey
I went the other way, I have a script to copy my dotfiles out into another repo ( and to strip private data in transit ) The reason for this is that the full and unabridged versions live in SVN (which makes more sense, I don't care about history, I just want the latest copy, generally) --

Re: :b file like behavior for :tabn

2011-11-20 Thread Taylor Hedberg
philipx, Sun 2011-11-20 @ 00:52:35-0800: Either command opens a *new* tab with the file - I'd like it to go to the tab that already has the file open. The main reason is that the tabs often have certain window setups that I'd like to go back to. I believe that's actually what `:tab drop` is

Re: :b file like behavior for :tabn

2011-11-20 Thread Albin Olsson
On Sun, Nov 20, 2011 at 9:52 AM, philipx goo...@poi1.com wrote: Thank you very much to both of you, but neither command doesn't do quite what I was looking for (thank you for the lesson though - I didn't know about either :tab sbuffer nor :drop). Either command opens a *new* tab with the file

In script always search from start of buffer

2011-11-20 Thread porphyry5
In a script, how can I get repeated searches always to begin at the start of the buffer? If I precede the search with gg or :cursor(1, 1) I get E492, with 1G I get E464. :map p$ ggdd:while @ != CR:b#CR:cursor (1, 1)CR:silent! /^RCR0i$SpaceEsc:b#CRdd:endwhile -- View this message in context:

Re: In script always search from start of buffer

2011-11-20 Thread Tim Chase
On 11/20/11 14:58, porphyry5 wrote: In a script, how can I get repeated searches always to begin at the start of the buffer? If I precede the search with gg or :cursor(1, 1) I get E492, with 1G I get E464. :map p$ ggdd:while @ != CR:b#CR:cursor (1, 1)CR:silent! /^RCR0i$SpaceEsc:b#CRdd:endwhile

Re: In script always search from start of buffer

2011-11-20 Thread Gary Johnson
On 2011-11-20, porphyry5 wrote: In a script, how can I get repeated searches always to begin at the start of the buffer? If I precede the search with gg or :cursor(1, 1) I get E492, with 1G I get E464. :map p$ ggdd:while @ != CR:b#CR:cursor (1, 1)CR:silent!

_vimrc file on Windows with 7.3

2011-11-20 Thread Henry Hertz Hobbit
I use these function keys on Linux with no problems (the zz is lower case, not upper case and was done to get rid of some strange behavior on OpenSuse 11.2 until I altered what caused it not to come back to where I was at but shoved the line to the bottom of the window). map F5 :nCRzz map F6

Re: In script always search from start of buffer

2011-11-20 Thread Tony Mechelynck
On 20/11/11 22:24, Gary Johnson wrote: On 2011-11-20, porphyry5 wrote: In a script, how can I get repeated searches always to begin at the start of the buffer? If I precede the search with gg or :cursor(1, 1) I get E492, with 1G I get E464. :map p$ ggdd:while @ != CR:b#CR:cursor (1,

Re: _vimrc file on Windows with 7.3

2011-11-20 Thread Tony Mechelynck
On 21/11/11 01:44, Henry Hertz Hobbit wrote: I use these function keys on Linux with no problems (the zz is lower case, not upper case and was done to get rid of some strange behavior on OpenSuse 11.2 until I altered what caused it not to come back to where I was at but shoved the line to the

RE: _vimrc file on Windows with 7.3

2011-11-20 Thread John Beckett
Henry Hertz Hobbit wrote: I have the _vimrc file in these two locations: %UserProfile%\_vimrc %ProgramFiles%\Vim The Wiki mentions $Home for Windows. The wiki is correct. Vim does NOT use %USERPROFILE% or %ProgramFiles%. I also have these environment variables Vim=C:\Program Files\Vim

Re: :b file like behavior for :tabn

2011-11-20 Thread philipx
switchbuf it is - thank you John., Albin. On Nov 20, 3:54 am, John Beckett johnb.beck...@gmail.com wrote: philipx wrote: Either command opens a *new* tab with the file - I'd like it to go to the tab that already has the file open. reason is that the tabs often have certain window setups