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/rul-emacs.org | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to '.emacs.d/rul-emacs.org') diff --git a/.emacs.d/rul-emacs.org b/.emacs.d/rul-emacs.org index 9e5fec4..186aace 100644 --- a/.emacs.d/rul-emacs.org +++ b/.emacs.d/rul-emacs.org @@ -119,21 +119,7 @@ Configurations that need persisting will be added to =custom-set-variables= and ;; Do not persist customizations (setq custom-file (make-temp-file "emacs-custom-")) #+end_src -** Global keybindings -This section defines keybindings common across all modes. -#+begin_src emacs-lisp :tangle "init.el" -;; 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) -#+end_src ** Editor interface General configurations related to text editing across all modes. @@ -189,6 +175,7 @@ Now, I simply start it from Emacs itself. This approach works well for me. (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) @@ -202,7 +189,6 @@ Now, I simply start it from Emacs itself. This approach works well for me. (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