coolwanglu / neovim-e

Electron UI for Neovim
MIT License
271 stars 29 forks source link

feat: (Font Resize) - map keys [Meta] + [0, -/_, =/+] for font resizi… #44

Open anzellai opened 9 years ago

anzellai commented 9 years ago

Referring to issues #43

Currently when pressing Meta + "0, -/_, +/=" doesn't trigger font size changing like in Terminals or Browser. Currently I have a quick dirty hack to check on ui.coffee keydown event and change the fontsize dynamically, then force window.resizeTo() for redrawing the frames.

This is a feature enhancement pull request, but I'm open to better suggestion/advice and improve this implementation.