Topspace, trying out corfu
This commit is contained in:
parent
b32bb4a10d
commit
185ff896df
@ -284,7 +284,7 @@ Setup other stuff
|
||||
|
||||
|
||||
(dolist (mode '(dired-mode-hook lsp-help-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
(add-hook mode (lambda () (setq truncate-lines t))))
|
||||
|
||||
;; (straight-use-package 'centaur-tabs)
|
||||
;; (setq centaur-tabs-set-bar 'under)
|
||||
@ -765,6 +765,8 @@ The theme of `C-x 4` bindings is that they operate on other windows, so this fun
|
||||
(global-set-key (kbd "C-S-v") #'joe/smooth-scroll-short-down)
|
||||
(global-set-key (kbd "M-S-v") #'joe/smooth-scroll-short-up)
|
||||
|
||||
(straight-use-package 'topspace)
|
||||
|
||||
#+end_src
|
||||
** Tabs/Workspaces
|
||||
#+begin_src emacs-lisp
|
||||
@ -1152,10 +1154,8 @@ startup. Reason we have to call this is so the vterm fucntion can call `vterm--i
|
||||
*** Company
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; (straight-use-package 'eglot)
|
||||
|
||||
|
||||
;; (global-set-key [remap dabbrev-expand] 'hippie-expand)
|
||||
(global-set-key [remap dabbrev-expand] 'hippie-expand)
|
||||
|
||||
;; (straight-use-package 'kind-icon)
|
||||
;; (require 'kind-icon)
|
||||
@ -1201,6 +1201,15 @@ startup. Reason we have to call this is so the vterm fucntion can call `vterm--i
|
||||
company-backends '((company-capf company-files)))
|
||||
(setq company-transformers '(company-sort-by-occurrence)))
|
||||
(add-hook 'after-init-hook (lambda () (global-company-mode)))
|
||||
;; (straight-use-package
|
||||
;; '(corfu :type git :host github :repo "minad/corfu" :branch "preview-first"))
|
||||
;; (straight-use-package 'corfu)
|
||||
;; (global-corfu-mode t)
|
||||
;; (setq corfu-auto t)
|
||||
;; (setq corfu-auto-delay 0.15)
|
||||
;; (setq corfu-count 1)
|
||||
;; (setq corfu-preview-current t)
|
||||
;; (define-key corfu-map "\C-f" #'corfu-complete)
|
||||
|
||||
#+end_src
|
||||
*** LSP
|
||||
|
Loading…
x
Reference in New Issue
Block a user