-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, OK then. I've made a few tests and it seems that the if has('gui_running') statement does not detect the GUI properly every time (don't know why ... a race condition?). The execution of the source file however can be delayed by adding e.g. sleep 250m at the top of it. The value of 250 miliseconds seems to be enough (at least on my machine) in order the GUI to be detected every time and the code in the if has('gui_runing') statement to be executed. Also have in mind that the winsize command is obsolete and is recommended the set lines= and set columns= to be used. Hope that this what you are lookinng for. Regards, I. Petrov On Wed, 3 Jun 2015, toothpik wrote:
On Wed, 3 Jun 2015, toothpik wrote:
I am running openSUSE v 13.1, konsole v 2.11.3, gvim v 7.4.729
if I start a gvim session from the konsole command line it assumes the same dimensions as konsole -- if I instead start gvim from the alt-F2 run starter it assumes whatever dimensions I have specified in my startup script, or it defaults to a cute 25 line by 80 column display
can someone tell me how to end the tyranny of konsole sizing my gvim windows? -- On Thu, Jun 04, 2015 at 04:55:18AM +0300, I. Petrov wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Set the initial gvim window size in ~/.gvimrc e.g.
set lines=25 set columns=80
and start gvim again from the konsole.
thanx but no thanx -- I don't want the plan dimensions for all gvim windows, I want them when I am editing the plan, and only when I am editing the plan -- that's why I put the dang winsize command in ~/.vim/plan.vim and why I edit the plan with the
gvim -c 'source ~/.vim/plan.vim' plan_2015
command
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Signed by Topal iQIcBAEBAgAGBQJVcMOlAAoJEH8sJoKRFRU5tZwP/iH53GX5KAOb+OXYvQw+XbhF srZ+uhhMu9RkqhlMNM/8iAxNwAqGwe7FtXObTXSyS1qI2FOt53h23+PfvJCl5Woh VeRGxAobNVmSffCGAlvl5fGNfTrZmgA8iZNnGSKkrIpQKgJX1r6ntetqr9CUyg8d pnal0WahpCCSuGPIQRBJ151BBn+zfVA6ENO0COW/qWXj/rNFqbwAABLu4HXBJ0Kp NodFyYyqA9GjiUUJTBAoJ1dSorb+Dz1EzWD1A0zHrBlOiX8Wr/iLoHk3Dvc3JXii 9QC+DUjOWW3bvhuSql1GPCZk6QHcHvBxjRh+OtTWCU9VE1N54xZiCeMyADHpzyOn oXaLoyLgPYn95P90gZSiIAueeHVhYqAaS3TElY1vtGlnnRr6CK1XCegx9rSOWXtr 8tJeDXG192UOgUQ0TBUwe3br/fVZn8dRSCJ7jjzGUto4I6rQh7HWB21I9eoZ4ohm nGYK6aDO6k44XsffhutpsluJh2YlL7ASnGolKEs9CNNsvABx8BGrXfJ1kg8OsOx3 Fiu2YJQ6VdLtN9xWt6EAfaCXIn6KIpi3i5+E4dDWEr53LY/jiEGejD6kpxQ4HYk+ yQ9I9phjVP+emeCL85M0zVd5TZgWZmXXo9cfWLX6sUGGdGIDAPYFtNGYh5mIznum 3gzOr38lEHwLZAj43POr =LuO/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org