On 14/06/11 19:05, Oursmentvotre wrote:
Hi fellow VIM users,
I came back to vim after testing many editors, I like to change a lot
of editors.
Anyway, these days I am writing a lot of latex and my co-workers want
it to be soft wrapped (one paragraph is a loooong line). I managed to
do the soft wrap in vim and it works wonderfully. However, one thing
that bother me is the ways vim handles lines that are to long to stay
all on the screen. If that happens it just displays @s characters at
the beginning of the lines the content that could be displayed being
then hidden... The lines being soft wrapped it can be a significant
amount of text missing at the bottom of the window and I therefor
often have to move a lot to uncover the next paragraph where I need
some info and then come back to my insertion point.
Is there a magic invocation to throw at vim to make him displays all
he can without replacing with these @s ?
Thanks a lot
cheers.
Guillaume
see :help 'display'
The default is empty, in that case, if 'wrap' is set, only "full"
file-lines are displayed (unless the current one is bigger than the
whole window) and if the last line doesn't fit, it is replaced by lines
with @ at the left margin and nothing else. Thisis expected and
Vi-compatible.
With
:set display+=lastline
then if the last line doesn't fit, the last three characters that fit
are replaced by @@@ and the part of the line before that is shown.
HTH,
Tony.
--
Democracy is a form of government in which it is permitted to wonder
aloud what the country could do under first-class management.
-- Senator Soaper
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php