Small improvement
This commit is contained in:
1
init.el
1
init.el
@@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
(require 'init-org)
|
(require 'init-org)
|
||||||
(require 'init-tex)
|
(require 'init-tex)
|
||||||
|
(require 'init-markdown)
|
||||||
(require 'init-typst)
|
(require 'init-typst)
|
||||||
(require 'init-cc)
|
(require 'init-cc)
|
||||||
(require 'init-python)
|
(require 'init-python)
|
||||||
|
|||||||
@@ -18,8 +18,14 @@
|
|||||||
;; :config
|
;; :config
|
||||||
;; )
|
;; )
|
||||||
|
|
||||||
(use-package vterm
|
(use-package vterm)
|
||||||
:bind ("C-\\" . vterm))
|
|
||||||
|
|
||||||
|
(use-package vterm-toggle
|
||||||
|
:bind ("C-\\" . vterm-toggle)
|
||||||
|
:config
|
||||||
|
(define-key vterm-mode-map (kbd "C-\\") #'vterm-toggle))
|
||||||
|
|
||||||
(use-package editorconfig
|
(use-package editorconfig
|
||||||
:diminish
|
:diminish
|
||||||
:hook elpaca-after-init)
|
:hook elpaca-after-init)
|
||||||
|
|||||||
@@ -141,9 +141,7 @@
|
|||||||
(when-let* ((xrefs (lsp--locations-to-xref-items
|
(when-let* ((xrefs (lsp--locations-to-xref-items
|
||||||
(lsp--send-execute-command (symbol-name command) arguments))))
|
(lsp--send-execute-command (symbol-name command) arguments))))
|
||||||
(xref--show-xrefs xrefs nil)))
|
(xref--show-xrefs xrefs nil)))
|
||||||
(advice-add #'lsp-execute-command :override #'my-lsp-execute-command)))
|
(advice-add #'lsp-execute-command :override #'my-lsp-execute-command))))
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
(provide 'init-lsp)
|
(provide 'init-lsp)
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ the element after the #+HEADER: tag."
|
|||||||
(file+olp+datetree "diary.org")
|
(file+olp+datetree "diary.org")
|
||||||
"* %U %?\n%i\n%a" :prepend t))
|
"* %U %?\n%i\n%a" :prepend t))
|
||||||
|
|
||||||
org-todo-keyword
|
org-todo-keywords
|
||||||
'((sequence "TODO(t)" "IN-PROGRESS(i)" "|" "DONE(d)" "NO(n)")))
|
'((sequence "TODO(t)" "IN-PROGRESS(i)" "|" "DONE(d)" "NO(n)")))
|
||||||
|
|
||||||
(add-to-list 'org-src-block-faces '("latex" (:inherit default :extend t)))
|
(add-to-list 'org-src-block-faces '("latex" (:inherit default :extend t)))
|
||||||
@@ -256,4 +256,7 @@ the element after the #+HEADER: tag."
|
|||||||
(use-package org-download
|
(use-package org-download
|
||||||
:after org)
|
:after org)
|
||||||
|
|
||||||
|
(use-package valign
|
||||||
|
:hook (org-mode . valign-mode))
|
||||||
|
|
||||||
(provide 'init-org)
|
(provide 'init-org)
|
||||||
|
|||||||
Reference in New Issue
Block a user