help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there equivalent C-l for columns?


From: Emanuel Berg
Subject: Re: Is there equivalent C-l for columns?
Date: Wed, 15 Jun 2022 13:29:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen wrote:

> There are scroll commands that scroll horizontally

Indeed, for example 

;; scroll horizontally

(put 'scroll-left  'disabled nil)
(put 'scroll-right 'disabled nil)

(setq hscroll-margin 1)
(setq hscroll-step   1)

(defun scroll-left-1 ()
  (interactive)
  (scroll-right 1 0) ) ; yes, "the opposite" here

(defun scroll-right-1 ()
  (interactive)
  (scroll-left 1 0) )  ; ditto

A lot more on civilized scrolling,

  https://dataswamp.org/~incal/emacs-init/scroll.el

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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