about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-05-25T19·42+0200
committerclbot <clbot@tvl.fyi>2022-05-26T11·47+0000
commit462c85e2d801ed0523de4f96418e5ba29093a66a (patch)
treeef92dd29d1e4873fcd3cf9fcca3a5853befbb722
parent72f0c3b6c1fe4374ae095c103c5c67bea6cdcdb0 (diff)
refactor(sterni/emacs): banish elfeed and languagetool to ,m r/4127
I'll probably want to use <leader>f and <leader>l for different things
in the near future.

Change-Id: Iaf3de2dac90c018db8ca8797673bd1bf21df9c74
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5675
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
-rw-r--r--users/sterni/emacs/init.el8
-rw-r--r--users/sterni/emacs/subscriptions.el7
2 files changed, 7 insertions, 8 deletions
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 "<leader>ll") 'languagetool-check)
-  (evil-define-key 'normal 'global (kbd "<leader>lc") 'languagetool-correct-at-point)
-  (evil-define-key 'normal 'global (kbd "<leader>ls") 'languagetool-set-language)
-  (evil-define-key 'normal 'global (kbd "<leader>lr") 'languagetool-clear-suggestions))
+  (evil-define-key 'normal 'global (kbd "<leader>mll") 'languagetool-check)
+  (evil-define-key 'normal 'global (kbd "<leader>mlc") 'languagetool-correct-at-point)
+  (evil-define-key 'normal 'global (kbd "<leader>mls") 'languagetool-set-language)
+  (evil-define-key 'normal 'global (kbd "<leader>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 "<leader>ff") 'elfeed)
+  (evil-define-key 'normal 'global (kbd "<leader>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 "<leader>ff") 'elfeed-search-fetch
-    (kbd "<leader>fc") 'elfeed-db-compact
-    (kbd "<leader>fr") 'elfeed-search-update--force)
+    (kbd "ff") 'elfeed-search-fetch
+    (kbd "fc") 'elfeed-db-compact)
   ;; elfeed subscriptions
   (setq elfeed-feeds
         (append