Colour currently selected search/substitute option

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Colour currently selected search/substitute option

David Woodfall
Is it possible to change the colour of the currently selected item
when doing a search or substitution? I have a hard time seeing which
item is selected.

//dave

:(){;printf "\x"$(printf "%x" $1);};: 0x53;: 0x6C;: 0x61;: 0x63;: 0x6B;: 0x77;: 0x61;: 0x72;: 0x65;: 0x20;: 0x52;: 0x6F;: 0x63;: 0x6B;: 0x73;: 0x21;: 0x0D;: 0x0A

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Colour currently selected search/substitute option

Kwezilomso Mhaga
not sure if I'm correct, but I think it might have to do with your current colour scheme.
you could also try messing with the :hi[ghlight] command (that is, if you don't wish to change your current colours).

:help highlight
:help hl-Search

these might lead you to the right direction. you could always change your theme though.

On January 28, 2018 6:25:11 PM GMT+02:00, David Woodfall <[hidden email]> wrote:
Is it possible to change the colour of the currently selected item
when doing a search or substitution? I have a hard time seeing which
item is selected.

//dave

:(){;printf "\x"$(printf "%x" $1);};: 0x53;: 0x6C;: 0x61;: 0x63;: 0x6B;: 0x77;: 0x61;: 0x72;: 0x65;: 0x20;: 0x52;: 0x6F;: 0x63;: 0x6B;: 0x73;: 0x21;: 0x0D;: 0x0A

--
Regards,
Kwezilosmo Mhaga

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Colour currently selected search/substitute option

David Woodfall
>not sure if I'm correct, but I think it might have to do with your current colour scheme.
>you could also try messing with the :hi[ghlight] command (that is, if you don't wish to change your current colours).
>
>:help highlight
>:help hl-Search
>
>these might lead you to the right direction. you could always change your theme though.

Thanks. IncSearch works for substitutions, but I didn't find a similar
setting for normal searches. I've just picked a darker colour so that
my cursor stands out more.

>On January 28, 2018 6:25:11 PM GMT+02:00, David Woodfall <[hidden email]> wrote:
>
>Is it possible to change the colour of the currently selected item
>when doing a search or substitution? I have a hard time seeing which
>item is selected.
>
>//dave
>
>:(){;printf "\x"$(printf "%x" $1);};: 0x53;: 0x6C;: 0x61;: 0x63;: 0x6B;: 0x77;: 0x61;: 0x72;: 0x65;: 0x20;: 0x52;: 0x6F;: 0x63;: 0x6B;: 0x73;: 0x21;: 0x0D;: 0x0A
>
>--
>Regards,
>Kwezilosmo Mhaga
>
>--
>--
>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 [hidden email].
>For more options, visit https://groups.google.com/d/optout.


//dave

:(){;printf "\x"$(printf "%x" $1);};: 0x53;: 0x6C;: 0x61;: 0x63;: 0x6B;: 0x77;: 0x61;: 0x72;: 0x65;: 0x20;: 0x52;: 0x6F;: 0x63;: 0x6B;: 0x73;: 0x21;: 0x0D;: 0x0A

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Colour currently selected search/substitute option

Kwezilomso Mhaga
for regular searches I tested with ":highlight Search ctermfg=1" and it worked.

On January 28, 2018 7:50:03 PM GMT+02:00, David Woodfall <[hidden email]> wrote:
not sure if I'm correct, but I think it might have to do with your current colour scheme.
you could also try messing with the :hi[ghlight] command (that is, if you don't wish to change your current colours).

:help highlight
:help hl-Search

these might lead you to the right direction. you could always change your theme though.

Thanks. IncSearch works for substitutions, but I didn't find a similar
setting for normal searches. I've just picked a darker colour so that
my cursor stands out more.

On January 28, 2018 6:25:11 PM GMT+02:00, David Woodfall <[hidden email]> wrote:

Is it possible to change the colour of the currently selected item
when doing a search or substitution? I have a hard time seeing which
item is selected.

//dave

:(){;printf "\x"$(printf "%x" $1);};: 0x53;: 0x6C;: 0x61;: 0x63;: 0x6B;: 0x77;: 0x61;: 0x72;: 0x65;: 0x20;: 0x52;: 0x6F;: 0x63;: 0x6B;: 0x73;: 0x21;: 0x0D;: 0x0A

--
Regards,
Kwezilosmo Mhaga

--
--
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+[hidden email].
For more options, visit https://groups.google.com/d/optout.


//dave

:(){;printf "\x"$(printf "%x" $1);};: 0x53;: 0x6C;: 0x61;: 0x63;: 0x6B;: 0x77;: 0x61;: 0x72;: 0x65;: 0x20;: 0x52;: 0x6F;: 0x63;: 0x6B;: 0x73;: 0x21;: 0x0D;: 0x0A

--
Regards,
Kwezilosmo Mhaga

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.