Move buffer while maintaining the cursor centered

This commit is contained in:
coolneng 2023-05-23 10:53:02 +02:00
parent 3fcd65d6d2
commit 8a44b7dd7e
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 6 additions and 0 deletions

View File

@ -150,3 +150,7 @@
(setq tab-width 2)
;; Set up nix LSP support
(add-hook 'nix-mode-local-vars-hook #'lsp!)
;; Move buffer while maintaining cursor centered
(use-package! centered-cursor-mode
:config
(global-centered-cursor-mode))

View File

@ -30,3 +30,5 @@
(package! platformio-mode)
;; Light theme
(package! os1-theme :recipe (:host github :repo "sashimacs/os1-theme"))
;; Move buffer while maintaining cursor centered
(package! centered-cursor-mode)