summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-04 00:45:01 -0400
committerAmin Bandali <bandali@gnu.org>2018-11-04 00:45:01 -0400
commit3bb16326b55d9570fb19bb88aa23295317b00c33 (patch)
tree7ef60b9c06f16e4eaa5d326c0123053202a50c52
parent289f0396c70391f9c3e79eed25b6dfb47b6db0a6 (diff)
downloadconfigs-3bb16326b55d9570fb19bb88aa23295317b00c33.tar.gz
configs-3bb16326b55d9570fb19bb88aa23295317b00c33.tar.xz
configs-3bb16326b55d9570fb19bb88aa23295317b00c33.zip
[emacs] some slack-related enhancements
-rw-r--r--init.org17
1 files 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)));