-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Description
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:
- turn off relative numbers
- turn off line highlight (I changed the colour of my cursor to be brighter so no pressing need for highlighted lines)
- set in renderoptions for directx to use GDI for rendering.
renmode:2
orrenmode:3
For more on the renderoptions
, check :h renderoptions
.
li-ruijie, lucasteles, LKI, 9999years, hsiktas and 31 morebruchmann, adelarsq, 9999years, ratacibernetica, hakatashi and 14 more
Metadata
Metadata
Assignees
Labels
No labels