diff options
author | ThanosApollo <[email protected]> | 2022-09-10 15:28:42 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-09-10 15:28:42 +0300 |
commit | 06ed0975595b87291cf3fb6ad377e5b2c8f14c7d (patch) | |
tree | d6a01d6822b4e6c2013db640ef14a057f4f00eca | |
parent | 85469ab3f75afee5940d69e262591e4da2480559 (diff) |
Add emmet
-rw-r--r-- | .doom.d/config.el | 19 |
1 files changed, 16 insertions, 3 deletions
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. <meta />, <meta/>, <meta> |