emacs: auto center cursor ++ fill column toggle

This commit is contained in:
Roman Godmaire 2024-04-01 09:32:52 -04:00
parent 02f04e68e3
commit eca4cf646c
2 changed files with 7 additions and 0 deletions

View file

@ -72,3 +72,9 @@
("C-g" . tabnine-clear-overlay) ("C-g" . tabnine-clear-overlay)
("M-[" . tabnine-previous-completion) ("M-[" . tabnine-previous-completion)
("M-]" . tabnine-next-completion))) ("M-]" . tabnine-next-completion)))
(map!
:leader
:prefix ("t" . "toggle")
:desc "Center cursor mode" "L" #'centered-cursor-mode
:desc "Visual fill column mode" "C" #'visual-fill-column-mode)

View file

@ -13,6 +13,7 @@
(package! ob-mermaid) (package! ob-mermaid)
(package! ox-gfm) (package! ox-gfm)
(package! tabnine) (package! tabnine)
(package! centered-cursor-mode)
(package! prisma-mode :recipe (:host github :repo "pimeys/emacs-prisma-mode" :branch "main")) (package! prisma-mode :recipe (:host github :repo "pimeys/emacs-prisma-mode" :branch "main"))