From 80936a2ca09153463ef4ea9c3a976d87679f55b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 27 Oct 2024 17:07:04 -0700 Subject: emacs: mv hydra.el and global bindings to package rul-bindings --- .emacs.d/init.el | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d595255..f4aaa45 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -18,17 +18,6 @@ ;; Do not persist customizations (setq custom-file (make-temp-file "emacs-custom-")) -;; Global keybindings -(global-set-key (kbd "C-c R") 'revert-buffer) -(global-set-key (kbd "C-c w") 'whitespace-cleanup) - -(defun help/insert-em-dash () - "Inserts an EM-DASH (not a HYPEN, not an N-DASH)" - (interactive) - (insert "—")) - -(global-set-key (kbd "C--") #'help/insert-em-dash) - (setq fill-column 79) ; Wrap lines (setq mouse-yank-at-point t) ; Do not follow mouse curors when mouse-yanking @@ -70,6 +59,7 @@ (dolist (path '("~/.emacs.d/rul-lisp/config" "~/.emacs.d/rul-lisp/packages")) (add-to-list 'load-path path)) +(require 'rul-bindings) (require 'rul-completion) (require 'rul-fm) (require 'rul-fonts) @@ -83,7 +73,6 @@ (require 'rul-write) ;; Init parts (will be deprecated in favor of packages) -(load-file "~/.emacs.d/rul-init.d/hydra.el") (load-file "~/.emacs.d/rul-init.d/ibuffer.el") (load-file "~/.emacs.d/rul-init.d/imenu.el") (load-file "~/.emacs.d/rul-init.d/magit.el") -- cgit v1.2.3