From 7a5be62c07513bbaa430e99121965e2c044a1ea8 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Wed, 13 Oct 2021 18:24:00 +0200 Subject: [PATCH] Move key binding redifinitions after use-package initialization --- init.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index 758b87e..beb11a0 100644 --- a/init.el +++ b/init.el @@ -45,16 +45,6 @@ ;; agenda appear in English. (setq system-time-locale "C") -;; Better than default: act on the region if active -(bind-key [remap upcase-word] #'upcase-dwim) -(bind-key [remap downcase-word] #'downcase-dwim) -(bind-key [remap capitalize-word] #'capitalize-dwim) -(bind-key [remap count-words-region] #'count-words) - -(bind-key [remap just-one-space] #'cycle-spacing) -(bind-key [remap zap-to-char] #'zap-up-to-char) -(bind-key [remap buffer-menu] #'ibuffer) - (setq-default c-basic-offset 2) (setq c-default-style "linux") @@ -92,6 +82,16 @@ (straight-use-package 'use-package) +;; Better than default: act on the region if active +(bind-key [remap upcase-word] #'upcase-dwim) +(bind-key [remap downcase-word] #'downcase-dwim) +(bind-key [remap capitalize-word] #'capitalize-dwim) +(bind-key [remap count-words-region] #'count-words) + +(bind-key [remap just-one-space] #'cycle-spacing) +(bind-key [remap zap-to-char] #'zap-up-to-char) +(bind-key [remap buffer-menu] #'ibuffer) + ;;; Built-in packages (use-package paren :config