On 9/20/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
3.) Last "glued cursor" thingy: I want to glue the cursor on the text
and using "up" and "down" will not move the cursor on the text but
the text on the screen.
There are 2 methods:
a) 'set scrolloff=999' locks cursor at the m
Hi all!
Another replacement question:
how can I replace all occurrence of a pattern except a given one, e.g.
the first or third?
the code for all occurrences I use is:
:%s///g
Thanks in advance,
Nikos
On 9/20/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Hi all!
Another replacement question:
how can I replace all occurrence of a pattern except a given one, e.g.
the first or third?
the code for all occurrences I use is:
:%s///g
/pattern/+1,$s///g
Yakov
Yakov Lerner wrote:
On 9/20/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Hi all!
Another replacement question:
how can I replace all occurrence of a pattern except a given one, e.g.
the first or third?
the code for all occurrences I use is:
:%s///g
/pattern/+1,$s///g
Yakov
Th
Hi all,
I have a lot of python files without the .py extensions as I'm using
them as commands, those files are scripts in my ~/bin with execute bit
set.
I set up my editing environment for python files in my .vimrc using
autocmd using pattern *.py
But I would like these autocmd's to match those f
Is it possible to always scroll the screen that way, that pressing
"n" wll always take you to the middle of the screen (or in other
words: The cursor is glued to the middle of the screen and the text
jumps "under" the cursor)?
In addition to the 'scrolloff' setting mentioned by othe
On 9/20/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 9/20/06, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a lot of python files without the .py extensions as I'm using
> them as commands, those files are scripts in my ~/bin with execute bit
> set.
> I set up my editing enviro
On 9/20/06, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
Hi all,
I have a lot of python files without the .py extensions as I'm using
them as commands, those files are scripts in my ~/bin with execute bit
set.
I set up my editing environment for python files in my .vimrc using
autocmd using pattern
On 9/20/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 9/20/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 9/20/06, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I have a lot of python files without the .py extensions as I'm using
> > them as commands, those files are scripts in
Nikolaos A. Patsopoulos wrote:
Another replacement question:
how can I replace all occurrence of a pattern except a given one, e.g.
the first or third?
the code for all occurrences I use is:
:%s///g
Thanks in advance,
I see that others have given the answer to the specific question you
On 9/19/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
Hi,
I would like to accomplish three "tricks":
1.) Suppose you have a source code and have started an new search
task recently. With "n" you are jumping from match to
match. Sometimes the "next match" is right on the last lin
Yakov Lerner wrote:
On 9/20/06, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
But I would like these autocmd's to match those files without .py
extensions.
My question is :
Is it possible to make an autocmd pattern's to match something in the
first line's buffer with a regexp eg: ( ^#\!.+pyth
> We typically do it as follows:
>
>:au BufReadPost * if getline(1) =~ 'pattern' | do something | endif
Thanks all , it works ok
Also, one is "supposed" to put such things in
.vim/scripts.vim
(or vimfiles\scripts.vim if you're a Windozer)
That's why I won't use it. I like to have on
I hadn't seen a reply to this fly by, so I thought I'd let you
know it wasn't entirely ignored :)
It appears that ":s/pattern" produces the same result as
":s/pattern//". I couldn't find that behavior in the docs.
A hidden feature? (Or was I just not creative enough using
helpgrep?)
I'm no
On Wed 20-Sep-06 1:08pm -0600, Tim Chase wrote:
> I hadn't seen a reply to this fly by, so I thought I'd let you
> know it wasn't entirely ignored :)
>> It appears that ":s/pattern" produces the same result as
>> ":s/pattern//". I couldn't find that behavior in the docs.
>>
>> A hidden feature?
On Wed, 6 Sep 2006 at 7:27pm, Gary Johnson wrote:
> On 2006-08-27, Jim Tittsler <[EMAIL PROTECTED]> wrote:
> > On Aug 26, 2006, at 18:09, Gary Johnson wrote:
> >
> > > Pretty well. The monitors have dual inputs, so I can switch them
> > > easily between the two PCs. I don't have a way to switch
On Wed, 20 Sep 2006 at 1:08pm, Tim Chase wrote:
> I hadn't seen a reply to this fly by, so I thought I'd let you
> know it wasn't entirely ignored :)
>
> > It appears that ":s/pattern" produces the same result as
> > ":s/pattern//". I couldn't find that behavior in the docs.
> >
> > A hidden fea
From: "Gene Kwiecinski" <[EMAIL PROTECTED]>
Subject: RE: glued Cursor trick anyone ?
Date: Wed, 20 Sep 2006 12:25:42 -0400
Hi Vim-O-Logics ! :)
thank you very much for all your replies!
Again I see, that I have to learn more and better English to be able
to explain more exactly what I want to
I would like to define keywords for syntax highlighting that are
specific to a particular project. For example, when using some
third-party API there are often frequently used keywords that I'd like
to highlight when using that API. What's the best way to set this up
with Vim, and to have the sett
Kamil Kisiel wrote:
I would like to define keywords for syntax highlighting that are
specific to a particular project. For example, when using some
third-party API there are often frequently used keywords that I'd like
to highlight when using that API. What's the best way to set this up
with Vim,
Kamil Kisiel wrote:
On 9/21/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Kamil Kisiel wrote:
> I would like to define keywords for syntax highlighting that are
> specific to a particular project. For example, when using some
> third-party API there are often frequently used keywords that I'd li
21 matches
Mail list logo