This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/jabber/packages.el
2015-08-26 21:37:01 -04:00

31 lines
1 KiB
EmacsLisp

;;; packages.el --- jabber Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Tosh Lyons <tosh.lyons@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(setq jabber-packages '(jabber))
(defun jabber/init-jabber ()
(use-package jabber
:defer t
:init (evil-leader/set-key "aj" 'jabber-connect-all)
:config (evil-leader/set-key-for-mode 'jabber-roster-mode
"ma" 'jabber-send-presence
"mb" 'jabber-get-browse
"md" 'jabber-disconnect
"me" 'jabber-roster-edit-action-at-point
"mg" 'jabber-display-roster
"mi" 'jabber-get-disco-items
"mj" 'jabber-muc-join
"mq" 'bury-buffer
"mr" 'jabber-roster-toggle-offline-display
"ms" 'jabber-send-subscription-request
"mv" 'jabber-get-version
"m RET" 'jabber-roster-ret-action-at-point)))