Compare commits
No commits in common. "b289b608e92e02b48e8d876fb70ec47a6dbad453" and "1c9ac9577254ac6341c1ea557bdd8986e2551502" have entirely different histories.
b289b608e9
...
1c9ac95772
28
config.el
28
config.el
|
@ -119,37 +119,9 @@
|
||||||
(after! org-journal
|
(after! org-journal
|
||||||
(setq org-journal-dir "~/Nextcloud/org/journal")
|
(setq org-journal-dir "~/Nextcloud/org/journal")
|
||||||
(setq org-journal-file-format "%Y_%m_%d.org")
|
(setq org-journal-file-format "%Y_%m_%d.org")
|
||||||
(setq org-journal-file-header "")
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(after! org-download
|
(after! org-download
|
||||||
(setq-default org-download-image-dir "~/Nextcloud/org/img")
|
(setq-default org-download-image-dir "~/Nextcloud/org/img")
|
||||||
(add-hook 'dired-mode-hook 'org-download-enable)
|
(add-hook 'dired-mode-hook 'org-download-enable)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; autocomplete corfu
|
|
||||||
(after! lsp-mode
|
|
||||||
(setq lsp-completion-provider :none)) ;; Disable LSP's completion provider
|
|
||||||
|
|
||||||
(after! corfu
|
|
||||||
(setq corfu-auto t ;; Enable auto completion
|
|
||||||
corfu-auto-delay 0.0 ;; No delay for completion
|
|
||||||
corfu-auto-prefix 1 ;; Complete after 1 character
|
|
||||||
corfu-preview-current t ;; Preview current candidate
|
|
||||||
corfu-preselect 'prompt ;; Preselect first item
|
|
||||||
corfu-popupinfo-delay '(0.5 . 0.2)) ;; Show docs after 0.5 sec
|
|
||||||
|
|
||||||
;; VSCode-like keybindings
|
|
||||||
(map! :map corfu-map
|
|
||||||
"C-j" #'corfu-next
|
|
||||||
"C-k" #'corfu-previous
|
|
||||||
"TAB" #'corfu-insert
|
|
||||||
"<escape>" #'corfu-quit)
|
|
||||||
|
|
||||||
(corfu-popupinfo-mode)) ;; Enable popup documentation
|
|
||||||
|
|
||||||
(after! lsp-ui
|
|
||||||
(setq lsp-ui-doc-enable t
|
|
||||||
lsp-ui-doc-show-with-mouse t ;; Show doc on mouse hover
|
|
||||||
lsp-ui-doc-delay 0.2 ;; Delay before showing
|
|
||||||
lsp-ui-doc-position 'at-point)) ;; Show at point instead of sidebar
|
|
||||||
|
|
4
init.el
4
init.el
|
@ -23,8 +23,8 @@
|
||||||
;;layout ; auie,ctsrnm is the superior home row
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
|
|
||||||
:completion
|
:completion
|
||||||
;; company ; the ultimate code completion backend
|
company ; the ultimate code completion backend
|
||||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
;; (corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
;;ivy ; a search engine for love and life
|
||||||
|
|
Loading…
Reference in New Issue