From 1498639ea7632a4964dbb7c8e3d5c28fbadff614 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 18 Oct 2016 20:19:00 +0200 Subject: emacs: removed twittering mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/init.el | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 98661dc..4dd019d 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -349,8 +349,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (set-quit-char "C-z") ;; Use insert mode by default on the following modes. - (dolist (mode '(twittering-edit-mode - magit-log-edit-mode)) + (dolist (mode '(magit-log-edit-mode)) (add-to-list 'evil-insert-state-modes mode)) (use-package evil-leader @@ -407,33 +406,6 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." :config (global-disable-mouse-mode)) -;; I heard you could have Twitter in Emacs, so let's roll with it. -(use-package twittering-mode - :ensure t - :commands twit - :config - (setq twittering-use-master-password t) - (setq twittering-use-native-retweet t) - (setq twittering-icon-mode t) - (setq twittering-use-icon-storage t) - - ; Let's use the key to perform the actions that I use more often. - (add-hook 'twittering-mode-hook - (lambda () - (evil-leader/set-key - "t" 'twittering-update-status-interactive ; Tweet - "q" 'twittering-retweet ; Quote - "r" 'twittering-native-retweet ; Retweet - "f" 'twittering-favorite))) ; Fav - - ; Activate flyspell mode when tweeting and added the c shortcut to - ; cancel sending a tweet. - (add-hook 'twittering-edit-mode-hook - (lambda () - (flyspell-mode 1)) - (evil-leader/set-key - "c" 'twittering-edit-cancel-status))) - ;; Shows a popup with the available commands for the current chords. Helpful ;; when you don't remember a specific combination. (use-package which-key -- cgit v1.2.3