Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GVIM] Affichage double page. [RESOLU]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Poischack
Apprentice
Apprentice


Joined: 23 Mar 2005
Posts: 275
Location: (FR) Colmar

PostPosted: Sat Jul 15, 2006 6:39 pm    Post subject: [GVIM] Affichage double page. [RESOLU] Reply with quote

Bonjour,
j'ai fait l'acquisition d'un ecran 16/10eme et j'ai remarqué qu'avec une police de taille correcte et du code bien formaté (< 80 car/lig) j'arrivais facilement à afficher deux pages à l'écran avec gvim (en fractionnant verticalement).
Maintenant j'aimerais savoir s'il était possible de mieux gérer ça: je voudrais pouvoir faire, que lorsque que je scrolle, les deux buffers défilent en même temps.
Est-ce possible ?
merci


Last edited by Poischack on Sat Jul 15, 2006 9:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772

PostPosted: Sat Jul 15, 2006 7:08 pm    Post subject: Reply with quote

Tu split ta fenêtre, tu positionne la 2e fenêtre à la 2e page et ensuite tu fais :set scrollbind dans les 2 fenêtres, ça les lie pour le scrolling. :)
Back to top
View user's profile Send private message
Poischack
Apprentice
Apprentice


Joined: 23 Mar 2005
Posts: 275
Location: (FR) Colmar

PostPosted: Sat Jul 15, 2006 9:14 pm    Post subject: Reply with quote

Etrange, le :set scrollbind ne retourne pas d'erreur mais le comportement des scrollbars ne changent pas.
(version de vim: 7.0.17)

Edit: c'est bon, j'ai mal lu, j'avais pas noté qu'il fallais faire set scrollbind dans les deux 'fenêtres' (logique d'ailleurs).
Merci
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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