Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Vim hlsearch

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

Vim hlsearch

#1 Post by shogun1234 »

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

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Vim hlsearch

#2 Post by Head_on_a_Stick »

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 :)
deadbang

loki
Posts: 13
Joined: 2017-08-02 22:01

Re: Vim hlsearch

#3 Post by loki »

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...
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

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Vim hlsearch

#4 Post by Head_on_a_Stick »

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.
deadbang

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

Re: Vim hlsearch

#5 Post by shogun1234 »

Apologize for posting to the wrong place. Thanks for pointing to the Ubuntu forum.

Post Reply