From 462c85e2d801ed0523de4f96418e5ba29093a66a Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 25 May 2022 21:42:48 +0200 Subject: refactor(sterni/emacs): banish elfeed and languagetool to ,m I'll probably want to use f and l for different things in the near future. Change-Id: Iaf3de2dac90c018db8ca8797673bd1bf21df9c74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5675 Autosubmit: sterni Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/emacs/init.el | 8 ++++---- users/sterni/emacs/subscriptions.el | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'users') diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index d20f8d92d8cc..0828e4d77940 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -286,10 +286,10 @@ languagetool-default-language "en-GB" languagetool-mother-tongue "de-DE" :config - (evil-define-key 'normal 'global (kbd "ll") 'languagetool-check) - (evil-define-key 'normal 'global (kbd "lc") 'languagetool-correct-at-point) - (evil-define-key 'normal 'global (kbd "ls") 'languagetool-set-language) - (evil-define-key 'normal 'global (kbd "lr") 'languagetool-clear-suggestions)) + (evil-define-key 'normal 'global (kbd "mll") 'languagetool-check) + (evil-define-key 'normal 'global (kbd "mlc") 'languagetool-correct-at-point) + (evil-define-key 'normal 'global (kbd "mls") 'languagetool-set-language) + (evil-define-key 'normal 'global (kbd "mlr") 'languagetool-clear-suggestions)) (unless (server-running-p) (server-start)) diff --git a/users/sterni/emacs/subscriptions.el b/users/sterni/emacs/subscriptions.el index daeac2e79ad5..a67e237c7302 100644 --- a/users/sterni/emacs/subscriptions.el +++ b/users/sterni/emacs/subscriptions.el @@ -3,14 +3,13 @@ :after evil :config ;; elfeed bindings for evil - (evil-define-key 'normal 'global (kbd "ff") 'elfeed) + (evil-define-key 'normal 'global (kbd "mf") 'elfeed) (evil-define-key '(normal visual) elfeed-search-mode-map (kbd "o") 'elfeed-search-browse-url (kbd "r") 'elfeed-search-untag-all-unread (kbd "u") 'elfeed-search-tag-all-unread - (kbd "ff") 'elfeed-search-fetch - (kbd "fc") 'elfeed-db-compact - (kbd "fr") 'elfeed-search-update--force) + (kbd "ff") 'elfeed-search-fetch + (kbd "fc") 'elfeed-db-compact) ;; elfeed subscriptions (setq elfeed-feeds (append -- cgit 1.4.1