]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Update Emacs configuration
authorEshel Yaron <me@eshelyaron.com>
Wed, 27 Sep 2023 17:14:07 +0000 (19:14 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 27 Sep 2023 17:14:07 +0000 (19:14 +0200)
.emacs.d/init.el

index 9b25cfa7a2b562683339fd117134e091bc7ef875..9438d0964062960ec7554da7195932d2994b8eac 100644 (file)
          :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)
 
 (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