Saturday, June 7, 2014

Re: Vim as prose editor - how to remove '~' and '@'

Le samedi 07 juin 2014 à 10:39, James Freer a écrit:
> I am trying out gvim and vim for use as a prose editor for writing - rather
> than programmer coding.
>
> Whilst doing pgup and pgdn one gets ~ and @ on the screen and I was
> wondering if it was possible to remove them.

For the "@", use

set display=lastline

I don't think you can remove the "~" for the missing lines, but you
can hide it with something like:

hi NonText guifg=bg

(and something similar for the console). Beware, this will also hide
other things, see the help on hl-NonText.

Best,
Paul

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: