Vim hlsearch

If none of the more specific forums is the right place to ask

Vim hlsearch

Postby shogun1234 » 2017-10-21 12:15

I use Ubuntu 16.04 LTS. Vim version is 7.4 with patches 1-1689, and extra patches 8.0.0056. After setting up `:set hlserach`, then searching by '/' + keyword; however, keyword is not highlighted. How can I enabled search highlight?

Thanks
shogun1234
 
Posts: 80
Joined: 2006-07-13 08:04

Re: Vim hlsearch

Postby Head_on_a_Stick » 2017-10-21 13:37

shogun1234 wrote:I use Ubuntu 16.04 LTS

Why are you posting here?

I don't think anyone here uses Ubuntu, try https://ubuntuforums.org/ instead.

For the record, keyword highlighting works just fine in vim for my Debian jessie & stretch systems :)
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6681
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Vim hlsearch

Postby loki » 2017-10-21 21:34

Head_on_a_Stick wrote:
shogun1234 wrote:I use Ubuntu 16.04 LTS

Why are you posting here?

Probably for the same or similar reasons you direct Debian users to ubuntu forums...

Head_on_a_Stick wrote:https://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists
Source: viewtopic.php?f=10&t=135049#p656848

Head_on_a_Stick wrote:Looks like you need a "key hash" as well:

https://ubuntuforums.org/showthread.php?t=2196704
Source: viewtopic.php?f=10&t=135049#p656848
loki
 
Posts: 13
Joined: 2017-08-02 22:01

Re: Vim hlsearch

Postby Head_on_a_Stick » 2017-10-21 21:42

loki wrote:
Head_on_a_Stick wrote:
shogun1234 wrote:I use Ubuntu 16.04 LTS

Why are you posting here?

Probably for the same or similar reasons you direct Debian users to ubuntu forums...

Erm, how is providing solutions in the form of external links in any way similar to posting questions about an unsupported operating system?

Also, please try to stay on topic and refrain from hijacking other user's threads.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6681
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Vim hlsearch

Postby shogun1234 » 2017-10-26 18:34

Apologize for posting to the wrong place. Thanks for pointing to the Ubuntu forum.
shogun1234
 
Posts: 80
Joined: 2006-07-13 08:04


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable