diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 771d0472..90ea2060 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -629,7 +629,7 @@ always-show-mime=true # Specifies the command to run the editor with. It will be shown in an embedded # terminal, though it may also launch a graphical window if the environment # supports it. Defaults to $EDITOR, or vi. -#editor= +editor=(cd /tmp && hx) # # When set, aerc will create and read .eml files for composing that have diff --git a/.config/aerc/hx.sh b/.config/aerc/hx.sh new file mode 100755 index 00000000..110a8693 --- /dev/null +++ b/.config/aerc/hx.sh @@ -0,0 +1,3 @@ +#!/bin/env bash + +cd /tmp && hx "$@" diff --git a/.config/helix/tmp-config/languages.toml b/.config/helix/tmp-config/languages.toml new file mode 100644 index 00000000..2355c09e --- /dev/null +++ b/.config/helix/tmp-config/languages.toml @@ -0,0 +1,9 @@ +[[language]] +name = "markdown" +file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }, { glob = "/tmp/aerc-compose-*.eml" }] +# language-servers = ["ltex-ls-plus", "marksman", "scls"] +language-servers = ["harper-ls", "marksman", "scls"] +# formatter = { command = "dprint", args = ["fmt", "--stdin", "md", "-c", "~/.dprint.jsonc"] } +# depends on aerc +formatter = { command = "/usr/lib/aerc/filters/wrap", args = ["-w", "80"] } +auto-format = true