Compare commits
5 commits
03c82fdfc6
...
710dd1bdba
Author | SHA1 | Date | |
---|---|---|---|
710dd1bdba | |||
1755239637 | |||
08cce2e423 | |||
b4cdd02b97 | |||
e3474dc166 |
16
init.el
16
init.el
|
@ -87,16 +87,16 @@
|
|||
(define-kmacro-wrapper my--god-c-g "C-g"))
|
||||
(with-eval-after-load 'catppuccin-theme
|
||||
(add-hook 'god-mode-enabled-hook
|
||||
(lambda ()
|
||||
(if (display-graphic-p)
|
||||
(set-cursor-color (catppuccin-get-color 'rosewater))
|
||||
(send-string-to-terminal "\e[2 q"))))
|
||||
(lambda ()
|
||||
(if (display-graphic-p)
|
||||
(set-cursor-color (catppuccin-get-color 'rosewater))
|
||||
(send-string-to-terminal "\e[2 q"))))
|
||||
(add-hook 'god-mode-disabled-hook
|
||||
(lambda ()
|
||||
(if (display-graphic-p)
|
||||
(set-cursor-color (catppuccin-get-color 'mauve))
|
||||
(lambda ()
|
||||
(if (display-graphic-p)
|
||||
(set-cursor-color (catppuccin-get-color 'mauve))
|
||||
;; Escape codes for hbar cursor in insert mode
|
||||
(send-string-to-terminal "\e[4 q")))))
|
||||
(send-string-to-terminal "\e[4 q")))))
|
||||
(unless (or (daemonp) (display-graphic-p))
|
||||
(keymap-global-set "C-l" (lambda () (interactive) (god-mode-all 0))))
|
||||
(god-mode))
|
||||
|
|
Loading…
Reference in a new issue