summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorAmin Bandali <mab@gnu.org>2020-02-01 22:43:07 -0500
committerAmin Bandali <mab@gnu.org>2020-02-01 22:43:07 -0500
commit03745e6ef395242d220c4c7f33b5a9de6aab592a (patch)
tree8ecb08695e2d63bd6a47fae6eda4efaa00661d35 /.emacs.d/init.el
parent0874f2fe7c59be3aeacee12dc57adb5403a3b869 (diff)
downloadconfigs-03745e6ef395242d220c4c7f33b5a9de6aab592a.tar.gz
configs-03745e6ef395242d220c4c7f33b5a9de6aab592a.tar.xz
configs-03745e6ef395242d220c4c7f33b5a9de6aab592a.zip
emacs: add binding for eww, and only use typo-mode in web-mode
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 321e680..0233b06 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1805,8 +1805,7 @@ This function is intended for use with `ivy-ignore-buffers'."
(use-package typo
:defer 0.5
:config
- :hook (((text-mode erc-mode web-mode) . typo-mode)
- ((tex-mode git-commit-mode) . (lambda ()(typo-mode -1)))))
+ :hook (web-mode . typo-mode))
(use-package electric
:disabled
@@ -2113,6 +2112,7 @@ This function is intended for use with `ivy-ignore-buffers'."
scpaste-scp-destination "nix:/var/www/p.bndl.org"))
(use-package eww
+ :bind ("C-c a e w" . eww)
:custom
(eww-download-directory (file-name-as-directory
(getenv "XDG_DOWNLOAD_DIR"))))