diff options
author | Tom Willemse | 2016-11-03 15:25:10 +0100 |
---|---|---|
committer | Tom Willemse | 2016-11-03 15:25:10 +0100 |
commit | c9dae43d21ebf7ed8cef3abc5f04c444e06dd3e8 (patch) | |
tree | 8516103b592b0c1fb7c149cb50c4f062b912678a /emacs/.emacs.d/init/oni-slack-init.org | |
parent | a0edeb74f17267c8c667c9127c8ee2d045ed8de6 (diff) | |
download | new-dotfiles-c9dae43d21ebf7ed8cef3abc5f04c444e06dd3e8.tar.gz new-dotfiles-c9dae43d21ebf7ed8cef3abc5f04c444e06dd3e8.zip |
Add slack config
Diffstat (limited to 'emacs/.emacs.d/init/oni-slack-init.org')
-rw-r--r-- | emacs/.emacs.d/init/oni-slack-init.org | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-slack-init.org b/emacs/.emacs.d/init/oni-slack-init.org new file mode 100644 index 0000000..097a388 --- /dev/null +++ b/emacs/.emacs.d/init/oni-slack-init.org @@ -0,0 +1,30 @@ +#+TITLE: Slack configuration + +#+BEGIN_SRC emacs-lisp + (require 'slack) +#+END_SRC + +Use the current team for most interactive commands. + +#+BEGIN_SRC emacs-lisp + (setq slack-prefer-current-team t) +#+END_SRC + +Use the regular =switch-to-buffer= so slack doesn't create a new +window every time I open a channel. + +#+BEGIN_SRC emacs-lisp + (setq slack-buffer-function 'switch-to-buffer) +#+END_SRC + +Register my work team. + +#+BEGIN_SRC emacs-lisp + (slack-register-team :name "Picturefix" + :default t + :client-id oni:slack-client-id + :client-secret oni:slack-client-secret + :token oni:slack-token + :subscribed-channels + '(general picturefix random shirtlobby)) +#+END_SRC |