From: Amin Bandali Date: Sun, 4 Nov 2018 21:20:45 +0000 (-0500) Subject: [emacs] a few useful super bindings X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/3c3055c760d69af5efefe3dbff30f423d8c8c8a8 [emacs] a few useful super bindings --- diff --git a/init.org b/init.org index 259d239..5df8479 100644 --- a/init.org +++ b/init.org @@ -648,14 +648,17 @@ Enable =winner-mode=. #+begin_src emacs-lisp (bind-keys ("C-c b k" . kill-this-buffer) - ;; ("C-c s s" . save-buffer) ("C-c b s" . save-buffer) ("C-c S" . save-buffer) ("C-c o" . other-window) ("C-c q q" . save-buffers-kill-terminal) ("C-c F m" . make-frame-command) ("C-c F d" . delete-frame) - ("C-c F D" . delete-other-frames)) + ("C-c F D" . delete-other-frames) + ("s-c e b" . eval-buffer) + ("s-c e r" . eval-region) + ("s-p" . beginning-of-buffer) + ("s-n" . end-of-buffer)) #+end_src ** Packages @@ -790,8 +793,7 @@ Not just how I do git, but /the/ way to do git. (use-package magit :defer t :bind - (("s-g" . magit-dispatch-popup) - ("C-x g" . magit-status) + (("s-g" . magit-status) :prefix-map amin--magit-prefix-map :prefix "C-c g" ("SPC" . magit-status) @@ -1694,7 +1696,6 @@ Hopefully temporary. :map slack-mode-map ("M-p" . slack-buffer-goto-prev-message) ("M-n" . slack-buffer-goto-next-message) - ("M-N" . end-of-buffer) ("C-c e" . slack-message-edit) ("C-c k" . slack-message-delete) ("C-c C-k" . slack-channel-leave)