Emacs: Enable keybinding for set-goal-column.

This commit is contained in:
tastytea 2020-04-17 16:43:48 +02:00
parent ca57f0a092
commit 1dac11b5e1
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-03-31T16:14:46+0200>
;; Time-stamp: <2020-04-17T16:43:34+0200>
;;; Commentary:
;; * Setup mouse & keyboard behaviour.
@ -45,7 +45,9 @@ With ARG, do it that many times."
"Delete characters backward until encountering the end of a word.
With ARG, do it that many times."
(interactive "p")
(my/delete-word (- arg))))
(my/delete-word (- arg)))
;; Enable keybindings.
(put 'set-goal-column 'disabled nil))
:bind (("C-S-<delete>" . fixup-whitespace) ; Reduce whitespace around cursor.
("M-<down>" . scroll-up-line) ; Scroll without moving the cursor.
("M-<up>" . scroll-down-line)