| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I am looking for a command to center (left to right, don't care about up and down) about the current cursor position. Searched, but didn't see anything. CMM |
|
#2
| |||
| |||
| Charles M <CharlesM@mobile-166-217-094-130.mycingular.net> wrote: > I am looking for a command to center (left to right, don't care about up > and down) about the current cursor position. Searched, but didn't see > anything. :he :center > CMM lg ./otto -- /"\ ASCII ribbon | http://www.wean.at \ / campaign against | http://www.lang-kritz.at x HTML postings | Schützt die Bäume ... esst / \ & email | mehr Biber |
|
#3
| |||
| |||
| On 28/08/08 21:45, Charles M wrote: > I am looking for a command to center (left to right, don't care about up > and down) about the current cursor position. Searched, but didn't see > anything. > > CMM see ":help 'sidescroll'". It will only work when the cursor is far enough from the start and end of the line, and of course, if 'nowrap' is set. A cursor at the start of a line will always appear at the left margin. Nest regards, Tony. -- I have yet to see any problem, however complicated, which, when looked at in the right way, did not become still more complicated. -- Poul Anderson |
|
#4
| |||
| |||
| On 01/09/08 23:34, Tony Mechelynck wrote: > On 28/08/08 21:45, Charles M wrote: >> I am looking for a command to center (left to right, don't care about up >> and down) about the current cursor position. Searched, but didn't see >> anything. >> >> CMM > > see ":help 'sidescroll'". It will only work when the cursor is far > enough from the start and end of the line, and of course, if 'nowrap' is > set. A cursor at the start of a line will always appear at the left margin. > > > Nest regards, > Tony. Oops! 'sidescrolloff' Best regards, Tony. -- This is National Non-Dairy Creamer Week. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.