From d01ad3371d624d9d127721f0f589edbd2b8f5fef Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 31 Dec 2017 01:05:47 -0800 Subject: Move global keybindings to correct section --- emacs/.emacs.d/init.org | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 35bf860..5da12ce 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -213,6 +213,30 @@ Computing Environment". (global-set-key (kbd "C-M-SPC") 'er/expand-region) #+END_SRC + Using multiple cursors can be really handy when you have the same + edits to make on multiple levels. + + #+BEGIN_SRC emacs-lisp + (global-set-key (kbd "C-+") 'mc/mark-next-like-this) + #+END_SRC + +*** Hydra + + Hydra is an interesting way of managing keybindings, I want to + experiment. + + Add a hydra for org. + + #+BEGIN_SRC emacs-lisp + (global-set-key (kbd "C-c o") 'oni-hydra-org/body) + #+END_SRC + + Add a hydra for magit. + + #+BEGIN_SRC emacs-lisp + (global-set-key (kbd "C-c m") 'oni-hydra-magit/body) + #+END_SRC + * Typographic style Emacs being a text editor has options on how to handle your text. @@ -766,23 +790,6 @@ Computing Environment". (global-diff-hl-mode) #+END_SRC -** Hydra - - Hydra is an interesting way of managing keybindings, I want to - experiment. - - Add a hydra for org. - - #+BEGIN_SRC emacs-lisp - (global-set-key (kbd "C-c o") 'oni-hydra-org/body) - #+END_SRC - - Add a hydra for magit. - - #+BEGIN_SRC emacs-lisp - (global-set-key (kbd "C-c m") 'oni-hydra-magit/body) - #+END_SRC - ** Isearch Replace the Isearch mode line lighter with a magnifying glass icon. @@ -856,15 +863,6 @@ Computing Environment". 'face '(:family "Font Awesome" :height 0.75)))) #+END_SRC -** Multiple cursor - - Using multiple cursors can be really handy when you have the same - edits to make on multiple levels. - - #+BEGIN_SRC emacs-lisp - (global-set-key (kbd "C-+") 'mc/mark-next-like-this) - #+END_SRC - ** Slime Slime is crucial for developing Common Lisp programs. Set the -- cgit v1.3-2-g0d8e