Re: Editorkrieg '05
On 2005-01-05 16:29:29 +0100, Thorsten Haude wrote:
> Moin,
>
> * Björn Zachej wrote (2005-01-05 16:11):
> >>>* Thorsten Haude <debian@thorstenhau.de> [20050105 03:10]:
> >>>>Das sucht bei mir nicht inkrementell. Fehlt da noch eine Option?
> >
> >:set incsearch
>
> Danke! Geht das auch smart, so wie Mutt sucht? Case-sensitive nur,
> wenn man einen großen Buchstaben eingibt?
,----
| 'smartcase' 'scs' boolean (default off)
| global
| {not in Vi}
| Override the 'ignorecase' option if the search pattern contains upper
| case characters. Only used when the search pattern is typed and
| 'ignorecase' option is on. Used for the commands "/", "?", "n", "N",
| ":g" and ":s". Not used for "*", "#", "gd", tag search, etc.. After
| "*" and "#" you can make 'smartcase' used by doing a "/" command,
| recalling the search pattern from history and hitting <Enter>.
| NOTE: This option is reset when 'compatible' is set.
`----
Ich habe u.a. in meiner ~/.vimrc
,----[ ~/.vimrc ]-
| set ignorecase " Do case-insensitive matching
| set smartcase " but don't ignore case when pattern contains upper-case
| set incsearch " Incremental search
`----
Michael
Reply to: