From 1dac11b5e17d2a8822defd5586d3b5ca8b32ebc1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 17 Apr 2020 16:43:48 +0200 Subject: [PATCH] Emacs: Enable keybinding for set-goal-column. --- init.d/basics/input.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.d/basics/input.el b/init.d/basics/input.el index 5e2cce5..dcdb3ac 100644 --- a/init.d/basics/input.el +++ b/init.d/basics/input.el @@ -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-" . fixup-whitespace) ; Reduce whitespace around cursor. ("M-" . scroll-up-line) ; Scroll without moving the cursor. ("M-" . scroll-down-line)