Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gvim and window position (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 943
Location: we the north

PostPosted: Tue Jul 25, 2006 5:08 pm    Post subject: gvim and window position (solved) Reply with quote

I want to have a certain position on gvim startup but can't for the life of me figure it out.

according to docs, this is governed by "winpos". I can type ":winpos 0 33" in the command part of the window and it moves the window, but how do I get it to be the default behaviour?

the docs say use winpos in the startup file, but where and how?


Last edited by juniper on Tue Jul 25, 2006 9:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
jwj
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 240

PostPosted: Tue Jul 25, 2006 5:13 pm    Post subject: Reply with quote

write
Code:
winpos 0 33
in the file ~/.vimrc
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 943
Location: we the north

PostPosted: Tue Jul 25, 2006 9:07 pm    Post subject: Reply with quote

thanks. I had tried all sorts of stuff like

set winpos 0 33

but nothing worked. you are correct though, simply "winpos 0 33" works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum