added twittering mode
This commit is contained in:
parent
a2e90f047b
commit
4f73cfbd80
26
init-package/init-twittering-mode.el
Normal file
26
init-package/init-twittering-mode.el
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
(setq twittering-use-master-password t)
|
||||||
|
(setq twittering-icon-mode t) ; Show icons
|
||||||
|
(setq twittering-timer-interval 300) ; Update your timeline each 300 seconds (5 minutes)
|
||||||
|
(setq twittering-url-show-status nil) ; Keeps the echo area from showing all the http processes
|
||||||
|
|
||||||
|
;; spell check
|
||||||
|
(add-hook 'twittering-edit-mode-hook (lambda () (ispell-minor-mode) (flyspell-mode)))
|
||||||
|
|
||||||
|
;; timelines opened at startup
|
||||||
|
(setq twittering-initial-timeline-spec-string '(
|
||||||
|
":direct_messages"
|
||||||
|
":replies"
|
||||||
|
":home"
|
||||||
|
;; ":search/emacs/"
|
||||||
|
;; "user_name/list_name"
|
||||||
|
))
|
||||||
|
|
||||||
|
;; add follow URL by pressing 'o'
|
||||||
|
(add-hook 'twittering-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(mapc (lambda (pair)
|
||||||
|
(let ((key (car pair))
|
||||||
|
(func (cdr pair)))
|
||||||
|
(define-key twittering-mode-map
|
||||||
|
(read-kbd-macro key) func)))
|
||||||
|
'(("o" . twittering-click)))))
|
|
@ -7,6 +7,7 @@
|
||||||
;; applications ---------------------------------------------------------------
|
;; applications ---------------------------------------------------------------
|
||||||
(key-chord-define evil-normal-state-map "ae" 'erc-start-or-switch)
|
(key-chord-define evil-normal-state-map "ae" 'erc-start-or-switch)
|
||||||
(key-chord-define evil-normal-state-map "am" 'mu4e-up-to-date-status)
|
(key-chord-define evil-normal-state-map "am" 'mu4e-up-to-date-status)
|
||||||
|
(key-chord-define evil-normal-state-map "at" 'twit)
|
||||||
;; buffers --------------------------------------------------------------------
|
;; buffers --------------------------------------------------------------------
|
||||||
(key-chord-define evil-normal-state-map "bk" 'ido-kill-buffer)
|
(key-chord-define evil-normal-state-map "bk" 'ido-kill-buffer)
|
||||||
(key-chord-define evil-normal-state-map "BK" 'delete-current-buffer-file)
|
(key-chord-define evil-normal-state-map "BK" 'delete-current-buffer-file)
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
solarized-theme
|
solarized-theme
|
||||||
sr-speedbar
|
sr-speedbar
|
||||||
surround
|
surround
|
||||||
webjump
|
twittering-mode
|
||||||
yasnippet
|
yasnippet
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue