diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-03-09 09:37:17 +0000 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-03-09 09:37:17 +0000 |
| commit | 05c4b8a4fa9e3de29db4ee11d0752d20e17035d5 (patch) | |
| tree | 03eddd34bcf55714f3e623736fa33509fd0b9391 | |
| parent | 7020f806357e1d94ed830e74711074573ef805e5 (diff) | |
[emacs] added pdf-tools
| -rw-r--r-- | .emacs | 5 | ||||
| -rw-r--r-- | .emacs.custom.el | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -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. |
