Re: [Vimprobable-users] suggested changes to implement zoom commands
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Hannes S. <ha...@yl...> - 2013-05-02 17:01:48
|
Hi Marcos! Marcos Cruz <vim...@pr...> wrote: > I miss Vimprobable's windows to open with a certain zoom level, > because usually I need a bigger font size. Keymaps let zoom in and > out, and it's possible to choose an alternative CSS too, but I miss a > simpler solution: zoom commands I could add to the config file (and > beside, they would let to config new keymaps for zooming, currently > hardcoded). > > { "zoomin", zoom,{ZoomIn | ZoomText} }, > { "zoomout",zoom,{ZoomOut | ZoomText} }, > { "zi",zoom,{ZoomIn | ZoomText} }, > { "zo",zoom,{ZoomOut | ZoomText} } I'm a but surprised to find "zi" and "zo" there, as the same combinations already exist as keybindings by default. What would be the benefit to define them for the command line as well? Apart from /having/ any command for this, that is, but that is covered by "zoomin" and "zoomout" already. I'd say either zoomin/zoomout *or* zi/zo would be enough, because that would then enable any user to have additional aliases in the config file. Any opinions on which combination to make default? > Do you find these commands useful enough to be included in a future > version? I'd say this cannot hurt! Just for the record, in case you didn't notice yet or in case someone else is looking for help on this subject later. There are two settings which might also be of help for these problems: - fontsize defines the default font size (surprise, surprise) to be used for websites. I.e. this will be the base size for any website which uses relative measures (like em or %). It will, unfortunately, not help on websites which define their fonts in absolute sizes (like px or pt). I can't think of any good reason to do that, but there are many sites which do. - minimumfontsize lets you specify... you know what. This will also override definitions made in absolute units - try it out! Again, this does not invalidate the usefulness of what you're proposing. Hannes |