aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-01-22 19:51:40 +0100
committerAdrian Kummerlaender2021-01-22 19:51:40 +0100
commit4127c350398b75e9cb1ed5ae1ce4d73bb0044694 (patch)
tree0250e00ea530be75c0f620103555ee17ec0eb899
parentf05ba9218db3f20a683b3dfb03dcecae5209671c (diff)
downloadnixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.tar
nixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.tar.gz
nixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.tar.bz2
nixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.tar.lz
nixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.tar.xz
nixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.tar.zst
nixos_home-4127c350398b75e9cb1ed5ae1ce4d73bb0044694.zip
Add pocket-reader to emacs
Nice workflow with org-web-tools-read-url-as-org
-rw-r--r--gui/conf/init.el5
-rw-r--r--gui/emacs.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 40b1b6f..d2626fa 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -537,6 +537,11 @@
:mode "\\.pdf$"
:config (pdf-tools-install))
+(use-package pocket-reader
+ :ensure t
+ :config
+ (evil-set-initial-state 'pocket-reader-mode 'emacs))
+
(setq browse-url-browser-function 'eww-browse-url)
(add-hook 'eshell-mode-hook
diff --git a/gui/emacs.nix b/gui/emacs.nix
index 6c9c6d4..869ce86 100644
--- a/gui/emacs.nix
+++ b/gui/emacs.nix
@@ -34,6 +34,7 @@ in {
(add-to-list 'exec-path "${pkgs.sqlite}/bin")
(add-to-list 'exec-path "${pkgs.universal-ctags}/bin")
(add-to-list 'exec-path "${pkgs.global}/bin")
+ (add-to-list 'exec-path "${pkgs.pandoc}/bin")
'';
};