config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 092daf0733eca78eb52addaf24fa3e546f8e0a09
parent 9baad43f9123bee7673134619d01e6e3497eda1d
Author: dwrz <dwrz@dwrz.net>
Date:   Thu, 15 Feb 2024 01:15:04 +0000

Update Emacs init

Diffstat:
Memacs/init.el | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -180,6 +180,7 @@ ("C-x b" . consult-buffer) ("C-x p b" . consult-project-buffer) ("C-x r b" . consult-bookmark) + ("C-y" . consult-yank-pop) ([remap yank-pop] . consult-yank-pop) ("M-g I" . consult-imenu-multi) ("M-g M-g" . consult-goto-line) @@ -241,7 +242,10 @@ (use-package csv-mode :mode "\\.csv\\'" :ensure t) -(use-package css-mode :mode "\\.css\\'" :ensure nil) +(use-package css-mode + :config (setq css-indent-offset 2) + :mode "\\.css\\'" + :ensure nil) (use-package delsel :ensure nil :init (delete-selection-mode t)) @@ -1031,6 +1035,7 @@ "b" (cons "buffer" dwrz-buffer-map) "c" (cons "cape" dwrz-cape-map) "e" (cons "exec" #'execute-extended-command) + "E" #'hippie-expand "f" (cons "file" dwrz-file-map) "h" #'hippie-expand "i" (cons "insert" dwrz-insert-map)