Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight visually #4

Open
elvis-sik opened this issue Jan 17, 2017 · 4 comments
Open

Highlight visually #4

elvis-sik opened this issue Jan 17, 2017 · 4 comments

Comments

@elvis-sik
Copy link

I installed the plugin in my oh-my-zsh configuration.

I notice I can select things in visual mode, but there is no visual indication of the selected text being highlighted. It's as if I am in insert mode and the cursor walks around when I press the navigation keys.

Another plugin that I used that offered a visual mode did offer such visual highlighting.

Now, I don't know if this is a problem with my configuration or intended behavior. What is it?

@kutsan
Copy link

kutsan commented Sep 12, 2017

What's your terminal emulator?

@elvis-sik
Copy link
Author

urxvt

I am not currently using this plugin, and TBH during all the presumably months in which I wasn't, I don't think I ever tried to use the visual selection functionality (which would open the command in vim). I'll let you do it, but I say we close this issue, pretend this whole ordeal never happened and move on with our (presumably busy) lives.

@kutsan
Copy link

kutsan commented Sep 13, 2017

That's okay but for future wonderers, I don't think it's a issue about this project. I use Mac and iTerm terminal emulator respects visual selection differently than system terminal emulator which is showing exactly like others when text selected under this plugin.

I don't use this either. I think zsh's default visual mode enough to work with. It doesn't have different mapping group but whatever.

@kutsan
Copy link

kutsan commented Sep 18, 2017

I found a solution for this.

Insert the following statement to your .zshrc.

zle_highlight=(region:bg=yellow)

For docs or read more: man zshzle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants