all repos — nixfiles @ d194d8ed593decd6f1b65e434cfb40374c218861

System and user configuration, managed by nix and home-manager

Emacs: Force-bind my keys

Alan Pearce
commit

d194d8ed593decd6f1b65e434cfb40374c218861

parent

d5a131a8c0c669476f125a2bca434d0d3f79f315

1 file changed, 14 insertions(+), 14 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1099,33 +1099,33 @@ #+END_SRC
#+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