From d194d8ed593decd6f1b65e434cfb40374c218861 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 20 Oct 2015 13:35:58 +0200 Subject: Emacs: Force-bind my keys --- tag-emacs/emacs.d/init.org | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index cc2dbdf3..06d6f7c5 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 "") - (bind-key "" #'compile) - (bind-key "" #'kmacro-start-macro-or-insert-counter) - (bind-key "" #'kmacro-end-or-call-macro) + (bind-key* "" #'compile) + (bind-key* "" #'kmacro-start-macro-or-insert-counter) + (bind-key* "" #'kmacro-end-or-call-macro) - (bind-key "" #'execute-extended-command) + (bind-key* "" #'execute-extended-command) (unbind-key "C-z") - (bind-key "C-" #'other-window) + (bind-key* "C-" #'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 -- cgit 1.4.1