summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2018-09-23 18:00:04 -0700
committerFranck Cuny <fcuny@twitter.com>2018-09-23 18:00:04 -0700
commit897a18d089263c6ec9035546a823152a4f7b26b4 (patch)
treee26a2f85c27241f012cf0f7f6fa0090c8a04f08f
parent[emacs] Update configuration for flyspell. (diff)
downloademacs.d-897a18d089263c6ec9035546a823152a4f7b26b4.tar.gz
[emacs] Use package 'general' for key bindings.
-rw-r--r--configs/rcs/emacs.d/init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index d0dc736..4ceefeb 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -101,10 +101,11 @@
  '(inhibit-startup-message t)
  '(inhibit-startup-echo-area-message t))
 
-(use-package personal
-  :ensure nil
-  :bind (("M-j" . join-line)
-         ("C-c m m" . emacs-toggle-size)))
+(use-package general
+  :config
+  (general-define-key
+   "M-j" 'join-line
+   "C-c m m" 'emacs-toggle-size))
 
 ;;; emacs hygiene