config: ConTeXt utilities
This commit is contained in:
parent
c49f250e45
commit
2a4c112b20
|
@ -98,8 +98,10 @@ Version 2019-11-04 2021-02-16"
|
|||
(with-eval-after-load 'outline
|
||||
(add-hook 'ediff-prepare-buffer-hook 'outline-show-all))
|
||||
|
||||
(map! ;; Buffer-local font resizing
|
||||
(map! :map ctrl-x-map
|
||||
"8 SPC" (lambda () (insert-char "200B"))
|
||||
:n
|
||||
;; Buffer-local font resizing
|
||||
"M-C-+" 'text-scale-increase
|
||||
"M-C--" 'text-scale-decrease
|
||||
;; Frame-local font resizing
|
||||
|
@ -845,8 +847,6 @@ Version 2019-11-04 2021-02-16"
|
|||
(setq LilyPond-pdf-command "xdg-open")
|
||||
(add-hook 'LilyPond-mode-hook 'turn-on-font-lock)
|
||||
(add-hook 'LilyPond-mode-hook (lambda () (setq-local compile-command (format "lilypond %s" (shell-quote-argument buffer-file-name)))))
|
||||
(add-hook 'pdf-view-mode-hook 'auto-revert-mode)
|
||||
(setq auto-revert-interval 2)
|
||||
; TODO (require 'lyqi nil t)
|
||||
)
|
||||
|
||||
|
@ -860,6 +860,9 @@ Version 2019-11-04 2021-02-16"
|
|||
|
||||
(setq pdf-misc-print-programm "/usr/bin/lpr")
|
||||
|
||||
(add-hook 'pdf-view-mode-hook 'auto-revert-mode)
|
||||
(setq auto-revert-interval 2)
|
||||
|
||||
(setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=")
|
||||
|
||||
(use-package! activity-watch-mode
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
find -name "*.mkiv" | xargs -i% sh -c 'echo % | entr context --luatex %'
|
1
.zshenv
1
.zshenv
|
@ -89,6 +89,7 @@ export DIRS_IGNORE="-x .sync -x .stfolder -x *build -x .git -x .idea -x env -x o
|
|||
# red stderr
|
||||
test -f "/usr/lib/libstderred.so" && export LD_PRELOAD="/usr/lib/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||
# software config
|
||||
export OSFONTDIR="$XDG_DATA_HOME"/fonts:/usr/share/fonts
|
||||
export TEXMF=/usr/share/texmf-dist
|
||||
export KSCRIPT_IDEA_COMMAND=intellij-idea-ultimate-edition
|
||||
## enable pass extensions
|
||||
|
|
Loading…
Reference in New Issue