I usually do search like this:
$ grep Word *.* | vim -u myvimrc -
$ cat myvimrc
:autocmd StdinReadPost * :sav! /tmp/x
but when I quit :q, vim always asks me to save the file again,
why is the file marked as modified?
I tried all combinations of flags, but can't get vim to
mark the file as
Mechelynck,
It has to be done with one mapping, the reason being *simultaneous*
display, since
sometimes the same word is with wrong case, should be immediately visible
without having to make a mental switch to find it.
I will try using with the syntax/highlight mappings.
thanks,
mohsin.
On
Is it possible to display (highlight) matches for /Word
simultaneously in 3 different colors:
1. Word .. hlsearch
2. \ .. hlsearchword
3. (?i)word .. hlsearchicase
how hard would it be? I don't want to use script to it.
thanks,
mohsin.
with implementation just the hard theoretical limit,
I am afraid, this might not work on slower machines.
thanks
mohsin
On 8/5/06, Benji Fisher <[EMAIL PROTECTED]> wrote:
On Fri, Aug 04, 2006 at 04:01:38PM -0700, Mohsin wrote:
>
> On 8/4/06, A.J.Mechelynck <[EMAIL PR
The problem is I want to apply the highlighting to
multiple blocks of text simultaneously, so regexp doesn't help.
mohsin.
On 8/4/06, Ilya <[EMAIL PROTECTED]> wrote:
Mohsin wrote:
> I want to use a highlighter mode on my text file, example:
>
> :color_region bold li
54l.\%<78l\&\%>14v.\%<39v/
match User1 /\%>84l.\%<88l\&\%>14v.\%<39v/
- mohsin.
On 8/4/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
A.J.Mechelynck wrote:
> Mohsin wrote:
>> I want to use a highlighter mode on my text file, example:
>>
>>
I want to use a highlighter mode on my text file, example:
:color_region bold line1 col1 line2 col2
:color_region bold 5 5 6 6
:color_region underline 5 5 6 6
I couldn't do this in vim. Vim only has syntax coloring with regexps.
Emacs has functions to apply properties to text blocks, and I
The thesaurus option doesn't work in vim6/7 when infercase is set.
C-x C-t will do same as C-n/C-p completions. Is this by design?
My ~/.vimrc
set infercase
set thesaurus=/doc/roget13a.txt
thanks,
- Mohsin.
laying stale results.
Can I clear reset the Balloon value before starting a lookup?
Because the Balloon interface only uses the return value of my function.
4. Any function to pick phrase under mouse?
thanks for the earlier help (I used eval to interface with python).
Mohsin
On 5/24/06, Il
t in a balloon.
A transparent clean py/vim interface will allow us to
reuse a large part of python library inside vim scripts.
Any help appreciated.
thanks,
Mohsin
10 matches
Mail list logo