[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs -nw vs. default-indicate-empty-lines

From: Markus Triska
Subject: Re: emacs -nw vs. default-indicate-empty-lines
Date: Fri, 17 Nov 2006 10:39:29 +0100

Dan Jacobson <address@hidden> writes:
> I'm saying there should be some variable the user can toggle to get
> those ~ below that are the default in vi(1) and less(1).
> ~
> ~
> ~

Evaluate the expressions I posted using M-: (M-x eval-expression), and
you get that. Or put this in .emacs:

(defun vi-waves ()
  (setq ol (make-overlay (point-min) (point-max) (current-buffer) t t))
  (overlay-put ol 'after-string "\n~\n~\n~\n~\n~\n~"))

And do M-x vi-waves (repeatedly for more of them). Bind it to a key:
(global-set-key [f9] 'vi-waves)

or add it to a hook to enable it whenever you want.

All the best!
Markus Triska

reply via email to

[Prev in Thread] Current Thread [Next in Thread]