From e90a5f28f3afa7a51a97b18175a6b62365f55cf2 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 13 Aug 2022 14:21:01 +0800 Subject: Update emacs config --- .emacs.d/lisp/init-eglot.el | 14 ++++++++------ .emacs.d/lisp/init-org.el | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.emacs.d/lisp/init-eglot.el b/.emacs.d/lisp/init-eglot.el index 8a04c84..d94d6d0 100644 --- a/.emacs.d/lisp/init-eglot.el +++ b/.emacs.d/lisp/init-eglot.el @@ -9,12 +9,14 @@ (with-eval-after-load 'evil (evil-define-key 'normal 'eglot--managed-mode - (kbd "gd") 'xref-find-definitions - (kbd "gr") 'xref-find-references - (kbd "gt") 'eglot-find-typeDefinition - (kbd "K") 'eldoc-doc-buffer - (kbd "gi") 'eglot-find-implementation - (kbd "C-t") 'xref-pop-marker-stack)) + (kbd "gd") #'xref-find-definitions + (kbd "gr") #'xref-find-references + (kbd "gt") #'eglot-find-typeDefinition + (kbd "K") #'eldoc-doc-buffer + (kbd "gi") #'eglot-find-implementation + (kbd "C-t") #'xref-pop-marker-stack + + (kbd "rn") #'eglot-rename)) (setq eglot-autoreconnect t) diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el index ccaf0b0..406624e 100644 --- a/.emacs.d/lisp/init-org.el +++ b/.emacs.d/lisp/init-org.el @@ -6,6 +6,8 @@ (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (add-hook 'org-capture-after-finalize-hook 'org-save-all-org-buffers) +(setq org-image-actual-width '(400)) + ;; evil (when (gx/maybe-require-package 'evil-org) (autoload #'evil-org-mode "evil-org" nil t) -- cgit v1.2.3