Hi,
I am searching for a way to switch "hlsearch" half on (or half
off...).
Normally hlsearch is nice when searching regulary for a keyword or
phrase.
On the other side it highlight half of my text, if I do things like
y/
. Is there a way to sitch off hlsearch when using
Vincent Wang <[EMAIL PROTECTED]> wrote on 11/08/2006 (03:57) :
> That's great! In fact, I don't want to learn vim's tips from dozens of
> website, that is not good to propagate the knowledge. Wiki is better
> than the official vim tips page. I will be glad to enjoy others'
> smart tips and share
Hello,
I'm working with some plain text files, to prepare them for LaTeX. I'm
trying to search for a whole line of text, then put it into brackets.
for the text:
3.0 some words in the line
I want to replace it with:
\subsection{some words in the line}
There is a tab between the last digit
> y/
>
> . Is there a way to sitch off hlsearch when using y and other action
> which are not "searching for something" actions from the users point
> of view ?
Don't think there is an easy way to do this...
It's no problem to switch it on or off (just use a mappinng
noremap / :
Marc Weber <[EMAIL PROTECTED]> wrote:
> Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > y/
> >
> > . Is there a way to sitch off hlsearch when using y and other action
Wouldn't have a
ye
or
yE
the desired effect in most cases?
--
Cheers,
Tobias
From: "Tobias Herp" <[EMAIL PROTECTED]>
Subject: Re: half of hlsearch
Date: Fri, 11 Aug 2006 09:50:32 +0200
> Marc Weber <[EMAIL PROTECTED]> wrote:
> > Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > > y/
> > >
> > > . Is there a way to sitch off hlsearch when using y and other a
On 8/11/06, Brian Anderson <[EMAIL PROTECTED]> wrote:
Hello,
I'm working with some plain text files, to prepare them for LaTeX. I'm
trying to search for a whole line of text, then put it into brackets.
for the text:
3.0 some words in the line
I want to replace it with:
\subsection{some words
Hi,
Meino Christian Cramer wrote:
>
> I am searching for a way to switch "hlsearch" half on (or half
> off...).
>
> Normally hlsearch is nice when searching regulary for a keyword or
> phrase.
>
> On the other side it highlight half of my text, if I do things like
>
> y/
>
Hi, everyone,
The 'hlsearch' can be turned off by :set nohls
However, it will be automatically turned on when I'd done a search, which
is annoying me.
What I want is that it will not be turned on automatically. but it will be
turned on when I :set hlsearch. (i.e. only when I really need it)
I
Hi,
[EMAIL PROTECTED] wrote:
>
> The 'hlsearch' can be turned off by :set nohls
>
> However, it will be automatically turned on when I'd done a search, which
> is annoying me.
this does not happen here nor is it documented that way. Are you
possibly confusing ":set nohls" and ":nohls"? Or do y
Hi all,
As you know, ``The Vim book'' can be downloaded from
vim.org in pdf form, but it has no table of contents.
Well, I did a reconstruction of the TOC in LaTeX and
I will gladly send it over to whoever is interested, or
even better -- upload it somewhere that anyone can
make use of it, if onl
Hi all,
came across this [Emacs] link the other day and wondered if Vim
can do this?
http://steve-yegge.blogspot.com/
in summary...
change these to Bob, Sue, Ralph etc (capitalised)
bob
sue
ralph
alice
jimmy
preston
billy joe jim bob
:s/\w\+/\u\0/g
capitalise last letter (eg boB)
:'<,'>s/\(\
Hi,
Mark Woodward wrote:
>
> came across this [Emacs] link the other day and wondered if Vim
> can do this?
> http://steve-yegge.blogspot.com/
[snip]
> 1. change these to number order starting at 1 (1, 2, 3, 4 etc)
> 2. change these to alpha list (a, b, c, etc)
> [This one has me stumped altho
Thanks Jürgen,
On Fri, 11 Aug 2006 11:54:50 +0200
Jürgen Krämer <[EMAIL PROTECTED]> wrote:
snip...
> 1.) if this text starts at line 1
>
> %s/^\d\+:/\=line('.') . '.) '/
>
> 2.) for at most 26 lines
>
> %s/^\d\+:/\=nr2char(char2nr('a') + line('.') - 1) . ') '/
>
> Regards,
> Jürgen
Is
How can I find help for ye/ye ?
:help ye
or
:help yE
gives me help for the year-2000 compliance which is not
directly what I wanted ...
That's kinda funny that it drops you in y2k information.
The trick to searching for them (and for that matter, grokking
vi/vim) is to understand that what
Hi,
What algorithm does vim use for the encryption of buffers ?
AES? Twofish? Blwofish? Serpent? MARS?
Thanks for any info in advance !
mcc
From: Tim Chase <[EMAIL PROTECTED]>
Subject: Re: half of hlsearch
Date: Fri, 11 Aug 2006 05:37:38 -0500
Hi Tim,
that raises a question I am often feeling to ask:
If one is learning vim he first uses the help function by
common "keywords" like "searching" and command sequences,
from which s/h
Hi,
Mark Woodward wrote:
> Thanks Jürgen,
>
> On Fri, 11 Aug 2006 11:54:50 +0200
> Jürgen Krämer <[EMAIL PROTECTED]> wrote:
>
> snip...
>
>> 1.) if this text starts at line 1
>>
>> %s/^\d\+:/\=line('.') . '.) '/
>>
>> 2.) for at most 26 lines
>>
>> %s/^\d\+:/\=nr2char(char2nr('a') + line('
Hi all,
sorry if this is blindingly obvious to all except me, but where is (are)
the vim icon(s) stored in a windows install of vim7, I had a look for
about half an hour this morning and couldn't find them, not helped by
the fact that I didn't know the file extension, are they stored in some
Hi!
--- Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> What algorithm does vim use for the encryption of buffers ?
> AES? Twofish? Blwofish? Serpent? MARS?
:h encryption
tells me the following:
Pkzip uses the same encryption, and US Govt has no objection to its export.
Pkzip's public fil
On Fri, 2006-08-11 at 13:08 +0200, Robert Cussons wrote:
>
> sorry if this is blindingly obvious to all except me, but where is
> (are) the vim icon(s) stored in a windows install of vim7, I had a
> look for about half an hour this morning and couldn't find them, not
> helped by the fact that I di
From: Georg Dahn <[EMAIL PROTECTED]>
Subject: Re: VIMCrypt: Algo ?
Date: Fri, 11 Aug 2006 12:14:52 +0100 (BST)
Hi,
> Hi!
>
> --- Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > What algorithm does vim use for the encryption of buffers ?
> > AES? Twofish? Blwofish? Serpent? MARS?
>
> :h
Meino Christian Cramer wrote:
From: Tim Chase <[EMAIL PROTECTED]>
Subject: Re: half of hlsearch
Date: Fri, 11 Aug 2006 05:37:38 -0500
Hi Tim,
that raises a question I am often feeling to ask:
If one is learning vim he first uses the help function by
common "keywords" like "searching" and co
I recently updated my netrw to v102. Since that upgrade there are
two things that I miss.
1) using tab for completion when using :Exp
:Exp c:\do # used to go to the first completion i.e. C:
\Documents and Settings\
2) the ability to open a directory using :e H:\notes\ # now I can
Yakov Lerner wrote:
On 8/11/06, Brian Anderson <[EMAIL PROTECTED]> wrote:
Hello,
I'm working with some plain text files, to prepare them for LaTeX. I'm
trying to search for a whole line of text, then put it into brackets.
for the text:
3.0 some words in the line
I want to replace it with:
\
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: half of hlsearch
Date: Fri, 11 Aug 2006 14:03:37 +0200
Hi Tony,
> Meino Christian Cramer wrote:
> > From: Tim Chase <[EMAIL PROTECTED]>
> > Subject: Re: half of hlsearch
> > Date: Fri, 11 Aug 2006 05:37:38 -0500
> >
> > Hi Tim,
> >
> > th
Steve Hall wrote:
On Fri, 2006-08-11 at 13:08 +0200, Robert Cussons wrote:
sorry if this is blindingly obvious to all except me, but where is
(are) the vim icon(s) stored in a windows install of vim7, I had a
look for about half an hour this morning and couldn't find them, not
helped by the fac
In addition to the other responses, you can open the buffer you are
working with in a new tab, then close the tab when you are done working
on it in an exclusive manner.
On Thu, 2006-08-10 at 10:44 -0700, Steve Amerige wrote:
> Hi all,
>
> The ability to split windows is an absolute essential;
I am using colorscheme vo_dark. When I :set cul or use visual
highlighting, the color for the highlight is light gray and makes the
highlighted text very difficult to see.
The first few lines are:
let g:colors_name="VO Dark"
hi normal guifg=darkgreen guibg=black ctermfg=darkgreen ctermbg=
> Why is wiki better? I find the tips pages great place for info as it is
> easy to search for the info too. The best thing is that all info is at
> one place. Nothing is more annoying than to chase down broken links...
>
> Of course I wouldn't mind if somebody compiled a Vim Cookbook/Tipbook
> lik
striker wrote:
I recently updated my netrw to v102. Since that upgrade there are
two things that I miss.
1) using tab for completion when using :Exp
:Exp c:\do # used to go to the first completion i.e. C:
\Documents and Settings\
2) the ability to open a directory using :e H:\not
Theres a set called "completeopt" make sure that it
does not contain the string preview. Here are two
lines from my .vimrc, I coment one out depending on
which feature I would like. Put the second line in
your .vimrc and see if it helps.
set completeopt=menu,preview "turn on preview menu for
om
Tom Purl wrote:
The big downside of a wiki is administrative costs. It would probably
be slightly more difficult to fight spam, and you would need a heck of a
lot more moderators.
And the spam problem has already afflicted the tips, at the cost of
using moderators to elide them.
I can jus
From: Charles E Campbell Jr, Fri, August 11, 2006 11:31 am
> Tom Purl wrote:
> >
> > The big downside of a wiki is administrative costs. It would
> > probably be slightly more difficult to fight spam, and you would
> > need a heck of a lot more moderators.
No more than we currently have. A lot of
[EMAIL PROTECTED] wrote:
Hi, everyone,
The 'hlsearch' can be turned off by :set nohls
You must be confusing ":nohls" with ":set nohls" (see below).
However, it will be automatically turned on when I'd done a search, which
is annoying me.
What I want is that it will not be turned on automa
Mike Bradley <[EMAIL PROTECTED]> wrote:
Theres a set called "completeopt" make sure that it
does not contain the string preview. Here are two
lines from my .vimrc, I coment one out depending on
which feature I would like. Put the second line in
your .vimrc and see if it helps.
set completeopt
Mark Woodward wrote:
Hi all,
came across this [Emacs] link the other day and wondered if Vim
can do this?
http://steve-yegge.blogspot.com/
in summary...
change these to Bob, Sue, Ralph etc (capitalised)
bob
sue
ralph
alice
jimmy
preston
billy joe jim bob
:s/\w\+/\u\0/g
capitalise last lette
A.J.Mechelynck wrote:
Mark Woodward wrote:
[...]
[...]
Oops, I misread your post. I thought you wanted to remove the accents;
apparently you wanted to renumber the items. But maybe my approach can
help someone else in another circumstance.
Best regards,
Tony.
Thanks Chip!
This worked great! Even a few issues that I hadn't mentioned are now
working.
Once again, Life is Good!
Kevin
On Aug 11, 2006, at 11:28 AM, Charles E Campbell Jr wrote:
striker wrote:
I recently updated my netrw to v102. Since that upgrade there
are two things that I mis
Meino Christian Cramer wrote:
[...]
I'd never said, that there is something /MISSING/ in the help texts!!!
But as your explanations shows: One need help to use help. And the
tips are...hrmmm...not directly "straight forward". Even key mappings
are suggested to make thinks faster/better...
As i
> spammers wiping out existing
> tips' contents and inserting their garbage. Of course, I'm not a wiki
The wmii people tried tackling this problem by introducing a wiki
password which you can get at their chatroom..
Marc
> 1. change these to number order starting at 1 (1, 2, 3, 4 etc)
> 2. change these to alpha list (a, b, c, etc)
> [This one has me stumped although I'm sure I've seen something
> along these lines before. ? something to do with sub-replace-special
> and submatch?]
>
>
> 1987:Bogotá
> 5243:Fabergé
striker wrote:
I am using colorscheme vo_dark. When I :set cul or use visual
highlighting, the color for the highlight is light gray and makes the
highlighted text very difficult to see.
The first few lines are:
let g:colors_name="VO Dark"
hi normal guifg=darkgreen guibg=blackctermfg=dar
On 8/11/06, striker <[EMAIL PROTECTED]> wrote:
I am using colorscheme vo_dark. When I :set cul or use visual
highlighting, the color for the highlight is light gray and makes the
highlighted text very difficult to see.
What do I need to look for and change in order to implement a new
col
> From: Charles E Campbell Jr, Fri, August 11, 2006 11:31 am
>> Tom Purl wrote:
>> >
>> > The big downside of a wiki is administrative costs. It would
>> > probably be slightly more difficult to fight spam, and you would
>> > need a heck of a lot more moderators.
>
> No more than we currently have
striker wrote:
I am using colorscheme vo_dark. When I :set cul or use visual
highlighting, the color for the highlight is light gray and makes the
highlighted text very difficult to see. ..snip..
My question is this:
What do I need to look for and change in order to implement a new
c
Close. I mean, the regexp is ok, but the LaTeX is not.
You seem to intentionaly match 1.2.3, but as far as I remember, the
\subsection{} command of LaTeX is for 1.2 only, 1.2.3 should be a
\subsubsection{}.
So...
s/^\d\+\.\d\+\s\+\(.*\)$/\\subsection{\1\}/
s/^\%(\d\+\.\){2}\d\+\s\+\(.*\)$/\\sub
On Fri, 11 Aug 2006 10:06:13 -0500 (CDT)
"Tom Purl" <[EMAIL PROTECTED]> wrote:
> I agree that the tips page is a very good resource. It is my opinion,
> however, that a wiki would work better in this situation. Here's some
> of the reasons:
>
> 1. It's easier to edit a wiki page. If I make a
On 2006-08-10, Eddy Zhao <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Very often, I open a lot of files to edit. When I exiting vim, vim
> prompt me to save every file which contain changes not saved yet. So,
>
> - Is there plugin that could highlight the
> changed-yet-not-saved-lines (possibly with ye
On 2006-08-11, Eddy Zhao <[EMAIL PROTECTED]> wrote:
> Seems vim still lack of these two features.
I don't see that it lacks the features--they're just not built-in or
presented in the way you're used to.
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wirele
On Fri, 11 Aug 2006 at 1:31pm, Eddy Zhao wrote:
> Hi Hari:
>
> I tried the new plugin. Excellent! Exactly what I want. There are
> several missing features I think could make lookupfile even more
> effecient & useful. Can you evaluate these features also ?
>
> - include opened buffer as matchi
On 8/11/06, Gary Johnson <[EMAIL PROTECTED]> wrote:
On 2006-08-10, Eddy Zhao <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Very often, I open a lot of files to edit. When I exiting vim, vim
> prompt me to save every file which contain changes not saved yet. So,
>
> - Is there plugin that could highlight
Hi Gary,
On Fri, 11 Aug 2006 13:20:15 -0700
Gary Johnson <[EMAIL PROTECTED]> wrote:
> On 2006-08-10, Eddy Zhao <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Very often, I open a lot of files to edit. When I exiting vim, vim
> > prompt me to save every file which contain changes not saved yet.
> >
To search the string say /a/b/c/d/e/f/g/h/i in a file, is there a way to do
it without going to each / and escaping it to \/
I select and paste the string with my mouse, so it is a real pain to then go
and escape each forward /
--
View this message in context:
http://www.nabble.com/search-a-b-c
pannayar wrote:
To search the string say /a/b/c/d/e/f/g/h/i in a file, is there a way to do
it without going to each / and escaping it to \/
I select and paste the string with my mouse, so it is a real pain to then go
and escape each forward /
:let @/ = escape('string with /slashes/, \backsla
To search the string say /a/b/c/d/e/f/g/h/i in a file, is there a way to do
it without going to each / and escaping it to \/
:let @/ = escape('string with /slashes/, \backslashes\, .periods.,
*asterisks* etc.', '/\.*')
n
Building on Tony's good suggestion...it's a good one, and an
Tim Chase wrote:
To search the string say /a/b/c/d/e/f/g/h/i in a file, is there a way
to do
it without going to each / and escaping it to \/
:let @/ = escape('string with /slashes/, \backslashes\, .periods.,
*asterisks* etc.', '/\.*')
n
Building on Tony's good suggestion...it's
The ?/a/b/c solution is really cool. I have had this question in my mind for
a very long time and I cant believe I could not think of this ultra simple
solution...!
Thanks!
A.J.Mechelynck wrote:
>
> Tim Chase wrote:
To search the string say /a/b/c/d/e/f/g/h/i in a file, is there a way
>
On Fri 11-Aug-06 6:55pm -0600, Mark Woodward wrote:
>> This command was posted by Piet Delport a few years ago. I use it
>> all the time.
>>
>> command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis |
>> wincmd p | diffthis
>>
>> Gary
>
> I can see why you use this all the time. BRILL
> Bram, you have an overflow in your signature :)
> > --
> > hundred-and-one symptoms of being an internet addict:
> > 102. When filling out your driver's license application, you give
> > your IP address.
hundred-and-one symptoms of being an internet addict:
256. You are able to write down
Edward L. Fox wrote:
> Sorry for sending this mail for the second time because my previous
> mail with attachment was rejected by the mail daemon. :-(
>
> On 8/11/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> >
> > [...]
> >
> > The menu.vim file should never change 'encoding'. It should load
On 8/12/06, mwoehlke <[EMAIL PROTECTED]> wrote:
Bram Moolenaar wrote:
> hundred-and-one symptoms of being an internet addict:
> 256. You are able to write down over 250 symptoms of being an internet
> addict, even though they only asked for 101.
So where is the complete list? ;-)
I believ
Bram Moolenaar wrote:
Edward L. Fox wrote:
[...]
The menu.vim file should never change 'encoding'. It should load menus
that are appropriate for the current 'encoding' and language.
But gvim doesn't support an encoding named 'gbk'. If the system
encoding is 'gbk', the menu and toolbar get mal
63 matches
Mail list logo