From f1a008aa55f5e4004f1e7bbd52e0eb41ecb271a1 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 27 Sep 2023 19:14:07 +0200 Subject: [PATCH] Update Emacs configuration --- .emacs.d/init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9b25cfa..9438d09 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -183,6 +183,7 @@ :repo "https://git.sr.ht/~pkal/do-at-point" :pre-build (("pandoc" "-o" "do-at-point.texi" "README.md")))) (elpaca rfc-mode) +(elpaca pdf-tools) (elpaca-wait) @@ -474,6 +475,8 @@ (autoload 'esy-publish "esy-publish" nil t) (autoload 'esy-publish-local-server "esy-publish" nil t) (autoload 'esy-publish-create-post "esy-publish" nil t) +(with-eval-after-load 'recentf + (add-to-list 'recentf-exclude "~/checkouts/esy-publish/local/.*\.html")) (require 'esy-comm) @@ -893,6 +896,8 @@ Interactively, POINT is point and KILL is the prefix argument." (keymap-global-set "C-s-f" #'toggle-frame-fullscreen) (keymap-global-set "C-s-l" #'esy/pulse-line) (keymap-global-set "M-\"" #'insert-pair) +(keymap-global-set "M-[" #'insert-pair) +(keymap-global-set "M-]" #'up-list) (keymap-set ctl-x-map "b" #'consult-buffer) (keymap-set ctl-x-4-map "b" #'consult-buffer-other-window) @@ -1479,6 +1484,8 @@ as the initial input for completion, and return that directory." (setq-default mode-line-format esy/mode-line-format) (force-mode-line-update t))) +(with-eval-after-load 'elisp-mode + (setq elisp-flymake-byte-compile-load-path (cons "./" load-path))) (provide 'init) ;;; init.el ends here -- 2.39.2