summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs5
-rw-r--r--.emacs.custom.el3
2 files changed, 6 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index 3111232..b0b83ee 100644
--- a/.emacs
+++ b/.emacs
@@ -36,6 +36,10 @@
(global-set-key (kbd "C-c m s") 'magit-status)
(global-set-key (kbd "C-c m l") 'magit-log)
+;; pdf-tools
+(rc/require 'pdf-tools) # NOTE M-x pdf-tools-install
+(add-hook 'pdf-view-mode-hook (lambda () (display-line-numbers-mode -1)))
+
;; compile
(add-to-list 'display-buffer-alist
'("\\*compilation\\*"
@@ -46,7 +50,6 @@
;; reload ~/.emacs
(defun reload-init-file ()
- "Reload the Emacs init file."
(interactive)
(load-file "~/.emacs"))
diff --git a/.emacs.custom.el b/.emacs.custom.el
index 993786f..3c946c8 100644
--- a/.emacs.custom.el
+++ b/.emacs.custom.el
@@ -7,7 +7,8 @@
'(display-line-numbers-type 'relative)
'(evil-undo-system 'undo-redo)
'(inhibit-startup-screen t)
- '(package-selected-packages nil))
+ '(package-selected-packages '(dash-functional evil magit pdf-tools))
+ '(truncate-lines t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.