From 3bb16326b55d9570fb19bb88aa23295317b00c33 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 4 Nov 2018 00:45:01 -0400 Subject: [PATCH] [emacs] some slack-related enhancements --- init.org | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index d64925d..4e263c8 100644 --- a/init.org +++ b/init.org @@ -707,7 +707,9 @@ In short, my favourite way of life. (use-package ox-latex :config - (setq org-latex-listings 'listings) + (setq org-latex-listings 'listings + ;; org-latex-prefer-user-labels t + ) (add-to-list 'org-latex-packages-alist '("" "listings")) (add-to-list 'org-latex-packages-alist '("" "color")) (add-to-list 'org-latex-classes @@ -944,7 +946,10 @@ There's no way I could top that, so I won't attempt to. ("emacs" (or (name . "^\\*scratch\\*$") - (name . "^\\*Messages\\*$")))))) + (name . "^\\*Messages\\*$"))) + ("slack" + (or + (name . "^\\*Slack*")))))) (ibuffer-formats '((mark modified read-only locked " " (name 18 18 :left :elide) @@ -1689,9 +1694,17 @@ Hopefully temporary. ("C-c s t" . slack-change-current-team) ("C-c s c" . slack-ws-close) :map slack-mode-map + ("M-p" . slack-buffer-goto-prev-message) + ("M-n" . slack-buffer-goto-next-message) ("C-c e" . slack-message-edit) ("C-c k" . slack-message-delete) ("C-c C-k" . slack-channel-leave) + ("C-c r a" . slack-message-add-reaction) + ("C-c r r" . slack-message-remove-reaction) + ("C-c r s" . slack-message-show-reaction-users) + ("C-c p l" . slack-room-pins-list) + ("C-c p a" . slack-message-pins-add) + ("C-c p r" . slack-message-pins-remove) ("@" . slack-message-embed-mention) ("#" . slack-message-embed-channel))); -- 2.20.1