Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem using vim as a manpager w/ rxvt-unicode
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
failfish
n00b
n00b


Joined: 21 Apr 2009
Posts: 4

PostPosted: Thu Jun 04, 2009 4:22 am    Post subject: Problem using vim as a manpager w/ rxvt-unicode Reply with quote

Hi there

I'm using vim as my manpager and there seems to be an issue with the formatting depending on the width of my terminal
The terminal in question is rxvt-unicode. ( Window manager is DWM - not sure if that's relevant. )

Here's two screenshots to show the difference in the formatting I'm talking about:

http://www.redbrick.dcu.ie/~goldfish/good.png
http://www.redbrick.dcu.ie/~goldfish/bad.png

I have noticed it is depending on the width of the terminal, if I make it slightly larger than that of the 'bad' example, it formats fine.
I have tried to google, but haven't had much luck, I'm not sure if this is vim's, urxvt's or whatever's fault.

Anybody getting similar behaviour to this .. know exactly what the issue is?
And hopefully any solutions? :D

Thanks in advance.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Jun 04, 2009 5:27 am    Post subject: Reply with quote

Turn off line wrapping globally for vim or, when you see the problem, issue the ":set nowrap" command. I haven't tried this by the way, but it is the default line wrapping behavior of vim that is causing your problem.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
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