coolwanglu / neovim-e

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

[idea] Fontsize should change when pressing Meta + "0, -/_, +/=" keystroke #43

Open anzellai opened 9 years ago

anzellai commented 9 years ago

Love this neovim-e! And here is a idea suggestion for enhancement.

Currently when pressing Meta + "0, -/_, +/=" doesn't trigger font size changing like in Terminals or Browser, or is there but I am not aware of?

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.

I am sure there are better ways to implement this properly.