summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-10-20 13:35:58 +0200
committerAlan Pearce2015-10-20 13:35:58 +0200
commitd194d8ed593decd6f1b65e434cfb40374c218861 (patch)
treeb21a255cf06d8eb63dc14dc678096602dd72807e
parentd5a131a8c0c669476f125a2bca434d0d3f79f315 (diff)
downloaddotfiles-d194d8ed593decd6f1b65e434cfb40374c218861.tar.lz
dotfiles-d194d8ed593decd6f1b65e434cfb40374c218861.tar.zst
dotfiles-d194d8ed593decd6f1b65e434cfb40374c218861.zip
Emacs: Force-bind my keys
-rw-r--r--tag-emacs/emacs.d/init.org28
1 files changed, 14 insertions, 14 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index cc2dbdf..06d6f7c 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1099,33 +1099,33 @@ Option/alt, then Control.
 
 #+BEGIN_SRC emacs-lisp
   (unbind-key "<f4>")
-  (bind-key "<f5>" #'compile)
-  (bind-key "<f6>" #'kmacro-start-macro-or-insert-counter)
-  (bind-key "<f7>" #'kmacro-end-or-call-macro)
+  (bind-key* "<f5>" #'compile)
+  (bind-key* "<f6>" #'kmacro-start-macro-or-insert-counter)
+  (bind-key* "<f7>" #'kmacro-end-or-call-macro)
 
-  (bind-key "<apps>" #'execute-extended-command)
+  (bind-key* "<apps>" #'execute-extended-command)
 
   (unbind-key "C-z")
-  (bind-key "C-<tab>" #'other-window)
+  (bind-key* "C-<tab>" #'other-window)
 
-  (bind-key "C-x C-r" #'revert-buffer)
-  (bind-key "C-x C-j" #'delete-indentation)
+  (bind-key* "C-x C-r" #'revert-buffer)
+  (bind-key* "C-x C-j" #'delete-indentation)
   (unbind-key "C-x C-c")
 
-  (bind-key "C-c i" #'insert-char)
-  (bind-key "M-/" #'hippie-expand)
+  (bind-key* "C-c i" #'insert-char)
+  (bind-key* "M-/" #'hippie-expand)
 
   (unbind-key "s-h")
   (unbind-key "s-n")
   (unbind-key "s-p")
   (unbind-key "s-w")
-  (bind-key "s-k" #'kill-or-delete-this-buffer-dwim)
+  (bind-key* "s-k" #'kill-or-delete-this-buffer-dwim)
 
-  (bind-key "C-M-a" #'backward-paragraph text-mode-map)
-  (bind-key "C-M-e" #'forward-paragraph text-mode-map)
+  (bind-key* "C-M-a" #'backward-paragraph text-mode-map)
+  (bind-key* "C-M-e" #'forward-paragraph text-mode-map)
 
-  (bind-key "s-x" (define-prefix-command 'super-x-map))
-  (bind-key "s-," #'switch-to-dotfiles)
+  (bind-key* "s-x" (define-prefix-command 'super-x-map))
+  (bind-key* "s-," #'switch-to-dotfiles)
   (set-register ?z `(file . ,(expand-file-name ".config/zsh/zshrc" "~")))
 #+END_SRC
 * Misc