Hi Tony,

Thanks very much!  That will come in very handy to workaround the
kde/vim issue.  Sorry I didn't notice that information in the docs.

Best regards,

-- 
Mun


On Thu, May 14, 2009 at 12:01 AM PDT, Tony Mechelynck wrote:
TM> 
TM> 
TM> 
TM> On 09/05/09 01:20, Mun Johl wrote:
TM> >
TM> > Hi,
TM> >
TM> > I'm running gvim under Red Hat Enterprise Linux 5.3 and in KDE 3.5 .  I
TM> > am having a weird problem such that if I maximize the gvim window, I
TM> > cannot get it to go back to the previous size.  For comparison purposes,
TM> > I've tried to do the same thing on konsole and mrxvt terminals (and
TM> > other apps), and they all will revert back; thus, my call for help on
TM> > this list.
TM> >
TM> > On a related note, is there a way to specify the geometry of the gvim
TM> > window from within gvim?  I can set lines and columns, but can I affect
TM> > the position of the window as well?  If so, then I'll set up a map to
TM> > workaround the issue for the time being.
TM> >
TM> > Thanks in advance.
TM> >
TM> 
TM> To set the window position (or get it from the keyboard):
TM>         :help :winpos
TM>         :help 31.4
TM> To get the window position in a script:
TM>         :help getwinposx()
TM>         :help getwinposy()
TM> Note that if the info is not available, the functions will return -1,
TM> which (according to a few experiments I just did) will be accepted by
TM> the ex-command as "overshoot the left/top margin by one pixel".
TM> 
TM> 
TM> 
TM> Best regards,
TM> Tony.
TM> -- 
TM> A total abstainer is one who abstains from everything but abstention,
TM> and especially from inactivity in the affairs of others.
TM>                 -- Ambrose Bierce, "The Devil's Dictionary"
TM> 
TM> 

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to