Many things
This commit is contained in:
parent
3b11f01f84
commit
6b3c9e83f7
17 changed files with 139 additions and 28 deletions
|
@ -96,16 +96,24 @@
|
|||
(define-key vterm-mode-map (kbd (format "M-%d" workspace-number)) nil)))
|
||||
|
||||
(after! polymode (progn
|
||||
(define-hostmode poly-nix-hostmode :mode 'nix-mode)
|
||||
(define-hostmode poly-nix-hostmode :mode 'nix-mode)
|
||||
|
||||
(define-innermode poly-sh-innermode
|
||||
:mode 'sh-mode
|
||||
:head-matcher "^.*=.*''.*$"
|
||||
:tail-matcher "^.*''.*;.*$"
|
||||
:head-mode 'host
|
||||
:tail-mode 'host)
|
||||
(define-innermode poly-sh-innermode
|
||||
:mode 'sh-mode
|
||||
:head-matcher "^.*[+=].*''"
|
||||
:tail-matcher "''.*[+;].*$"
|
||||
:head-mode 'host
|
||||
:tail-mode 'host)
|
||||
|
||||
(define-polymode poly-nix-mode
|
||||
:hostmode 'poly-nix-hostmode
|
||||
:innermodes '(poly-sh-innermode))
|
||||
))
|
||||
(define-polymode poly-nix-mode
|
||||
:hostmode 'poly-nix-hostmode
|
||||
:innermodes '(poly-sh-innermode))
|
||||
))
|
||||
|
||||
(after! org
|
||||
(setq-default prettify-symbols-alist
|
||||
'(("[ ]" "☐")
|
||||
("[X]" "☑")
|
||||
("[-]" "❍")
|
||||
("#+begin_src" "λ")
|
||||
("#+end_src" "λ"))))
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
;;taskrunner ; taskrunner for all your projects
|
||||
terraform ; infrastructure as code
|
||||
;;tmux ; an API for interacting with tmux
|
||||
tree-sitter ; syntax and parsing, sitting in a tree...
|
||||
;; tree-sitter ; syntax and parsing, sitting in a tree...
|
||||
;;upload ; map local to remote projects via ssh/ftp
|
||||
|
||||
:os
|
||||
|
@ -152,7 +152,7 @@
|
|||
;;lua ; one-based indices? one-based indices
|
||||
markdown ; writing docs for people to ignore
|
||||
;;nim ; python + lisp at the speed of c
|
||||
(nix +tree-sitter) ; I hereby declare "nix geht mehr!"
|
||||
(nix) ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
(org +roam2) ; organize your plain life in plain text
|
||||
;;php ; perl's insecure younger brother
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue