unless intensifies
This commit is contained in:
parent
8ff2731ff5
commit
a467e582f1
1 changed files with 11 additions and 7 deletions
18
init.el
18
init.el
|
@ -153,9 +153,9 @@
|
||||||
(setq recentf-max-menu-items 20)
|
(setq recentf-max-menu-items 20)
|
||||||
(setq recentf-max-saved-items 20)
|
(setq recentf-max-saved-items 20)
|
||||||
(global-set-key "\C-x\ \C-r" 'recentf-open-files)
|
(global-set-key "\C-x\ \C-r" 'recentf-open-files)
|
||||||
(add-to-list 'recentf-exclude
|
(setq recentf-exclude '("/\\elfeed/"
|
||||||
(concat user-emacs-directory
|
(concat user-emacs-directory
|
||||||
(convert-standard-filename "elpa/"))))
|
(convert-standard-filename "elpa/")))))
|
||||||
|
|
||||||
(use-package typo
|
(use-package typo
|
||||||
;; smart quotes
|
;; smart quotes
|
||||||
|
@ -198,13 +198,17 @@
|
||||||
:config
|
:config
|
||||||
(setq neo-theme (if (display-graphic-p) 'icons 'arrow)))
|
(setq neo-theme (if (display-graphic-p) 'icons 'arrow)))
|
||||||
|
|
||||||
(use-package pdf-tools
|
(unless (iswin) (use-package pdf-tools
|
||||||
;; view pdfs
|
;; view pdfs
|
||||||
:config
|
:config
|
||||||
(when (islin) (pdf-tools-install))
|
(pdf-tools-install)
|
||||||
(define-key pdf-view-mode-map (kbd "C-s") 'isearch-forward)
|
(define-key pdf-view-mode-map (kbd "C-s") 'isearch-forward)
|
||||||
(add-hook 'pdf-view-mode-hook (lambda () (cua-mode 0)))
|
(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
|
(use-package tex
|
||||||
;; the big boy
|
;; the big boy
|
||||||
|
@ -328,7 +332,7 @@
|
||||||
:config
|
:config
|
||||||
(unless (iswin)
|
(unless (iswin)
|
||||||
(when (not (member "all-the-icons" (font-family-list)))
|
(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
|
(use-package emojify
|
||||||
;; emoji support
|
;; emoji support
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue