[emacs] small slack enhancements
authorAmin Bandali <bandali@gnu.org>
Sun, 4 Nov 2018 21:17:16 +0000 (16:17 -0500)
committerAmin Bandali <bandali@gnu.org>
Sun, 4 Nov 2018 21:17:16 +0000 (16:17 -0500)
init.org

index 17db595..259d239 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1683,7 +1683,8 @@ Hopefully temporary.
    :client-secret watform-client-secret
    :token watform-token
    :subscribed-channels '(general)
-   :full-and-display-names t);
+   :full-and-display-names t)
+  (add-to-list 'swiper-font-lock-exclude 'slack-message-buffer-mode t)
   :bind
   (("C-c s s" . slack-start)
    ("C-c s u" . slack-select-unread-rooms)
@@ -1693,6 +1694,7 @@ 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)
@@ -1703,7 +1705,7 @@ Hopefully temporary.
    ("C-c p a" . slack-message-pins-add)
    ("C-c p r" . slack-message-pins-remove)
    ("@"       . slack-message-embed-mention)
-   ("#"       . slack-message-embed-channel)));
+   ("#"       . slack-message-embed-channel)))
 
 (use-package alert
   :commands (alert)