Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to add a margin at the left/right side of the text area?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yue Wu  
View profile  
 More options Feb 18 2011, 3:29 am
From: Yue Wu <vano...@gmail.com>
Date: Fri, 18 Feb 2011 16:29:31 +0800
Local: Fri, Feb 18 2011 3:29 am
Subject: How to add a margin at the left/right side of the text area?
Hello, list,

As the title. My eyes feel tired with too tight between the left side of
the xterm window and vim text area, it would be better if there can be a
margin between them.

--
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Brabandt  
View profile  
 More options Feb 18 2011, 4:31 am
From: "Christian Brabandt" <cbli...@256bit.org>
Date: Fri, 18 Feb 2011 10:31:17 +0100 (CET)
Local: Fri, Feb 18 2011 4:31 am
Subject: Re: How to add a margin at the left/right side of the text area?

On Fri, February 18, 2011 9:29 am, Yue Wu wrote:
> As the title. My eyes feel tired with too tight between the left side of
> the xterm window and vim text area, it would be better if there can be a
> margin between them.

Well for the left side, you can simply abuse the FoldColumn for that.
Something like this should work:
:hi! link FoldColumn Normal
:set foldcolumn=3

This works best, when you don't use folds. You can set the width up to 12
chars wide.

For the right side, you can play with the 'linebreak' and 'breakat'
options. I am not sure, how well this will work though.

regards,
Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yue Wu  
View profile   Translate to Translated (View Original)
 More options Feb 19 2011, 7:58 pm
From: Yue Wu <vano...@gmail.com>
Date: Sun, 20 Feb 2011 08:58:35 +0800
Local: Sat, Feb 19 2011 7:58 pm
Subject: Re: How to add a margin at the left/right side of the text area?

Sorry for late reply, and thanks for trick! I find that the X resource
xterm*BorderWidth can do what I want, though only works in a x terminal.

--
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »