From 06ed0975595b87291cf3fb6ad377e5b2c8f14c7d Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Sat, 10 Sep 2022 15:28:42 +0300 Subject: Add emmet --- .doom.d/config.el | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to '.doom.d') diff --git a/.doom.d/config.el b/.doom.d/config.el index 5a26872..9c3bda8 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -32,8 +32,8 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) - +(setq doom-theme 'doom-vibrant) +(require-theme 'the-matrix-theme) ;;(setq modus-themes-mode-line '(accented boarderless)) ;;(setq modus-themes-region '(bg-only)) @@ -199,7 +199,20 @@ (require 'telega) (map! :leader (:prefix-map ("T" . "Telegram") - :desc "Open telegram" "o" #'telega + :desc "Home" "h" #'telega :desc "Call" "c" #'telega-chat-call :desc "Discard call" "d" #'telega-voip-discard + :desc "Voice message" "v" #'telega-chatbuf-attach-voice-note )) + +;; Emmet +(require 'emmet-mode) +(add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start on any markup modes +(add-hook 'css-mode-hook 'emmet-mode) ;; enable Emmet's css abbreviation. +(add-hook 'emmet-mode-hook (lambda () (setq emmet-indent-after-insert nil))) +(add-hook 'emmet-mode-hook (lambda () (setq emmet-indentation 2))) ;; indent 2 spaces. +(setq emmet-move-cursor-between-quotes t) ;; default nil +(setq emmet-move-cursor-after-expanding nil) ;; default t +(setq emmet-self-closing-tag-style " /") ;; default "/" +;; only " /", "/" and "" are valid. +;; eg. , , -- cgit v1.2.3