Update config.el

Fix doom leader not working in pdf mode. 

Replaces SPC default that moves the document down a page.
This commit is contained in:
Edmund Miller 2018-04-15 22:18:34 -05:00 committed by GitHub
parent a616f00670
commit 793b94a937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,8 @@
(unless noninteractive
(pdf-tools-install))
(map! :map pdf-view-mode-map "q" #'kill-this-buffer)
(map! (:map (pdf-view-mode-map)
:n doom-leader-key nil))
(setq-default pdf-view-display-size 'fit-page)
;; turn off cua so copy works