Discussion:
[vimb-users] default window size and zooming
Jethro Tull
2016-12-16 12:09:52 UTC
Permalink
is it possible to set in the config file a default window size and zoom?
Leonardo Taccari
2016-12-16 14:11:02 UTC
Permalink
Hello Jethro,
Post by Jethro Tull
is it possible to set in the config file a default window size and zoom?
Regarding the zoom I have the following in the config file in order to
increase the zoom level a bit (for vimb/2.11):

normal 3zi

Newer versions will have also a `default-zoom' option for that.
cdlscpmv
2016-12-16 14:37:25 UTC
Permalink
Regarding the first part of your question, it may be possible, but
with the help of your window manager.
Post by Jethro Tull
is it possible to set in the config file a default window size and zoom?
Daniel Carl
2016-12-20 09:19:32 UTC
Permalink
Hi Jethro Tull,

at the time the default window size can't be set direct in the config file.
But i think you can patch the src/main.c file in the init_core function where
the `GdkGeometry hints = {10, 10};` is set. But I'm not sure if this would
work, because my window manager does not follow theses hints.
Maybe you can add some normal mode keymapping to run something like
`sh! xdotool getactivewindow windowsize 200 100<CR>` from within vimb to
resize the window.

Daniel Carl

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
vimb-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vimb-users

Loading...