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

Ligatures working in Windows gvim with the correct setting #462

Closed
li-ruijie opened this issue Jul 24, 2017 · 0 comments
Closed

Ligatures working in Windows gvim with the correct setting #462

li-ruijie opened this issue Jul 24, 2017 · 0 comments

Comments

@li-ruijie
Copy link

Just putting this up so that people will know that ligatures work in Windows gvim. Hopefully somebody can pick up on the documentation which currently lists gvim as not working.

To get the ligatures to work, put the following in vimrc:
set renderoptions=type:directx
set encoding=utf-8

Sometimes the ligatures don't appear immediately after typing. You can manually get it to appear by doing screen refresh CTRL+L.

If turning on directx makes scrolling unbearably sluggish, a couple of things you can do:

  1. turn off relative numbers
  2. turn off line highlight (I changed the colour of my cursor to be brighter so no pressing need for highlighted lines)
  3. set in renderoptions for directx to use GDI for rendering.
    renmode:2 or renmode:3

For more on the renderoptions, check :h renderoptions.

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

1 participant