aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-emacs.org
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-27 17:07:04 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-27 17:07:04 -0700
commit80936a2ca09153463ef4ea9c3a976d87679f55b9 (patch)
treec6617f29b56779e677dca25f8039821a801210f8 /.emacs.d/rul-emacs.org
parentb596fca706bff857447568c2e99ce08eb5f44174 (diff)
emacs: mv hydra.el and global bindings to package rul-bindings
Diffstat (limited to '.emacs.d/rul-emacs.org')
-rw-r--r--.emacs.d/rul-emacs.org16
1 files changed, 1 insertions, 15 deletions
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")
nihil fit ex nihilo