|
|
|
@ -153,9 +153,9 @@
|
|
|
|
|
(setq recentf-max-menu-items 20)
|
|
|
|
|
(setq recentf-max-saved-items 20)
|
|
|
|
|
(global-set-key "\C-x\ \C-r" 'recentf-open-files)
|
|
|
|
|
(add-to-list 'recentf-exclude
|
|
|
|
|
(setq recentf-exclude '("/\\elfeed/"
|
|
|
|
|
(concat user-emacs-directory
|
|
|
|
|
(convert-standard-filename "elpa/"))))
|
|
|
|
|
(convert-standard-filename "elpa/")))))
|
|
|
|
|
|
|
|
|
|
(use-package typo
|
|
|
|
|
;; smart quotes
|
|
|
|
@ -198,13 +198,17 @@
|
|
|
|
|
:config
|
|
|
|
|
(setq neo-theme (if (display-graphic-p) 'icons 'arrow)))
|
|
|
|
|
|
|
|
|
|
(use-package pdf-tools
|
|
|
|
|
(unless (iswin) (use-package pdf-tools
|
|
|
|
|
;; view pdfs
|
|
|
|
|
:config
|
|
|
|
|
(when (islin) (pdf-tools-install))
|
|
|
|
|
(pdf-tools-install)
|
|
|
|
|
(define-key pdf-view-mode-map (kbd "C-s") 'isearch-forward)
|
|
|
|
|
(add-hook 'pdf-view-mode-hook (lambda () (cua-mode 0)))
|
|
|
|
|
(setq pdf-view-resize-factor 1.1))
|
|
|
|
|
(setq pdf-view-resize-factor 1.1)))
|
|
|
|
|
|
|
|
|
|
(when (iswin) (use-package doc-view ; not tested
|
|
|
|
|
:config
|
|
|
|
|
(setq doc-view-ghostscript-program "gswin32c.exe")))
|
|
|
|
|
|
|
|
|
|
(use-package tex
|
|
|
|
|
;; the big boy
|
|
|
|
@ -328,7 +332,7 @@
|
|
|
|
|
:config
|
|
|
|
|
(unless (iswin)
|
|
|
|
|
(when (not (member "all-the-icons" (font-family-list)))
|
|
|
|
|
(all-the-icons-install-fonts t))); need to install fonts manually on windows
|
|
|
|
|
(all-the-icons-install-fonts t)))); need to install fonts manually on windows
|
|
|
|
|
|
|
|
|
|
(use-package emojify
|
|
|
|
|
;; emoji support
|
|
|
|
|