From 3c3055c760d69af5efefe3dbff30f423d8c8c8a8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 4 Nov 2018 16:20:45 -0500 Subject: [PATCH] [emacs] a few useful super bindings --- init.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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) -- 2.20.1