Thursday, April 13, 2023

Re: Quick Vim question

Sorry I don't understand.  I currently have hlsearch in my _vimrc file so the search words are highlighted but I can't see the cursor and I don't know how to make it a black blinking square.  Also in Unix Vi I was able to type a number and the letter l - lower case L (100l for example) and it would take the cursor to column 100.  Is there a way to do this in Vim for windows?

I really appreciate the help!

Susan McElheny
Senior Analyst, Data Operations
703.536.0923 direct

703.536.0500 main


Travel Intel Logo



On Thu, Apr 13, 2023 at 6:12 PM Gary Johnson <garyjohn@spocom.com> wrote:
On 2023-04-13, Roy Fulbright wrote:

>> On Thursday, April 13, 2023 at 4:15:19 PM UTC-4 Susan McElheny wrote:

>>     I've used the Vi editor on Unix for over 30 years and had to recently
>>     switched my software to Windows so I am now using Vim on my c:drive.  I'm
>>     confused about how to change settings.  When I do a search all the items
>>     are highlighted but there is no indicator for which word in the search I am
>>     currently on. How do make Vim indicate which search word I'm currently on?

> Your cursor (normally a blinking black square) should be on the current word in
> the search.

Also, if your cursor does not stand out enough, you might consider
setting 'hlsearch' and setting the highlight for CurSearch to
something different than Search.  By default,

    :hi CurSearch
    CurSearch      xxx links to Search

See

    :help 'hlsearch'
    :help CurSearch
    :help Search
    :help 06.3
    :help highlight-link
    :help highlight-args

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230413221233.GA21381%40phoenix.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANrhvDGARzREhS%2B8sK-zxLP2nvwQbCok2jU%3DnuKbcAPNnsbKoA%40mail.gmail.com.

No comments: