Don't use bar for insert in meow
This commit is contained in:
parent
df22c3cc1c
commit
3dadf1b2b7
20
init.el
20
init.el
|
@ -137,6 +137,21 @@
|
|||
'(":" . meow-comment)
|
||||
'("=" . meow-indent)
|
||||
'("<escape>" . ignore))
|
||||
(with-eval-after-load 'catppuccin-theme
|
||||
(setq meow-cursor-type-insert 'box)
|
||||
(face-spec-set 'meow-insert-cursor `((t (:background
|
||||
,(catppuccin-get-color 'mauve)
|
||||
:inherit
|
||||
unspecified))))
|
||||
(face-spec-set 'meow-unknown-cursor `((t (:background
|
||||
,(catppuccin-get-color 'rosewater)
|
||||
:inherit
|
||||
unspecified))))
|
||||
(dolist (meow-cursor-face '(meow-normal-cursor meow-motion-cursor meow-beacon-cursor))
|
||||
(face-spec-set meow-cursor-face `((t (:inherit meow-unknown-cursor)))))
|
||||
(add-to-list 'meow-update-cursor-functions-alist
|
||||
(cons (lambda () (and (meow-insert-mode-p) (not (display-graphic-p))))
|
||||
(lambda () (meow--set-cursor-type '(hbar 2))))))
|
||||
(meow-global-mode))
|
||||
|
||||
(use-package puni
|
||||
|
@ -212,7 +227,7 @@
|
|||
(add-to-list 'major-mode-remap-alist '(js-mode . js-ts-mode))
|
||||
(add-to-list 'major-mode-remap-alist '(js-json-mode . json-ts-mode))
|
||||
:custom
|
||||
(treesit-extra-load-path `(,(expand-file-name "tree-sitter-module/dist/"
|
||||
(treesit-extra-load-path (list (expand-file-name "tree-sitter-module/dist/"
|
||||
user-emacs-directory))))
|
||||
|
||||
(use-package dtrt-indent
|
||||
|
@ -542,7 +557,8 @@
|
|||
read-buffer-completion-ignore-case t
|
||||
completion-ignore-case t
|
||||
sentence-end-double-space nil
|
||||
custom-safe-themes t)
|
||||
custom-safe-themes t
|
||||
x-stretch-cursor t)
|
||||
|
||||
(setq-default c-basic-offset 4
|
||||
c-ts-mode-indent-offset 4
|
||||
|
|
Loading…
Reference in a new issue