From: Amin Bandali Date: Sun, 4 Nov 2018 04:45:01 +0000 (-0400) Subject: [emacs] some slack-related enhancements X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/3bb16326b55d9570fb19bb88aa23295317b00c33?ds=inline;pf=~bandali [emacs] some slack-related enhancements --- 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)));