diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-11 09:48:17 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-11 09:48:17 +0300 |
| commit | 277ca2187a64c182062e24cc9a329c8f27dc56c3 (patch) | |
| tree | 93eb9c0e98bb670c2c51f7f19a4ab07ee7078c90 | |
| parent | 93b83da58fdad451d3b3663793cb3297b7f4cf6f (diff) | |
jo
| -rw-r--r-- | dotfiles/helix/config.toml | 8 | ||||
| -rw-r--r-- | dotfiles/helix/languages.toml | 6 | ||||
| -rw-r--r-- | dotfiles/scripts/vit.nodue | 11 | ||||
| -rw-r--r-- | dotfiles/vit/config.ini | 1 |
4 files changed, 19 insertions, 7 deletions
diff --git a/dotfiles/helix/config.toml b/dotfiles/helix/config.toml index 0a1e200..99f725b 100644 --- a/dotfiles/helix/config.toml +++ b/dotfiles/helix/config.toml @@ -1,4 +1,4 @@ -theme = "kanagawa" +theme = "rose_pine_dawn" [editor] bufferline = "always" @@ -8,7 +8,7 @@ mouse = true cursorline = true [editor.soft-wrap] -enable = true +enable = false [editor.inline-diagnostics] cursor-line = "hint" @@ -25,7 +25,7 @@ right = ["selections", "file-encoding", "file-line-ending", "file-type"] [editor.lsp] display-messages = true -display-inlay-hints = true +# display-inlay-hints = true [editor.cursor-shape] normal = "block" @@ -47,7 +47,7 @@ C-v = { b = "paste_clipboard_before", a = "paste_clipboard_after", r = ":clipboa A-c = "toggle_comments" # Was originally C-c, so mapped to ALT now # Helix related helpers -C-h = { c = ":config-open", r = ":config-reload", C = ":run-shell-command cp -v ~/.config/helix/*.toml ~/git/rexfiles/dotfiles/helix/", l = ":open ~/.config/helix/languages.toml", h = ":open ~/Notes/Linux-and-Unix-Tricks/Helix.md", L = ":log-open", d = ":theme default" } +C-h = { c = ":config-open", r = ":config-reload", C = ":run-shell-command cp -v ~/.config/helix/*.toml ~/git/rexfiles/dotfiles/helix/", l = ":open ~/.config/helix/languages.toml", h = ":open ~/git/worktime/HelixCheat.md", L = ":log-open", d = ":theme default" } C-r = [ ":write", ":run-shell-command sh -c 'source ~/.hx.remote.source; scp $LOCAL_PATH $REMOTE_URI && echo Uploaded to $REMOTE_URI || echo Failed uploading to $REMOTE_URI'"] diff --git a/dotfiles/helix/languages.toml b/dotfiles/helix/languages.toml index 61da107..fed0e1b 100644 --- a/dotfiles/helix/languages.toml +++ b/dotfiles/helix/languages.toml @@ -7,7 +7,7 @@ language-servers = [ "gopls", "golangci-lint-lsp", "gpt" ] [language-server.gpt] command = "helix-gpt" -args = [ "--logFile", "helix-gpt.log"] +args = [ "--logFile", "/tmp/helix-gpt.log"] [language-server.gopls] command = "gopls" @@ -31,7 +31,7 @@ command = ["golangci-lint", "run", "--out-format", "json", "--issues-exit-code=1 name = "c" scope = "source.c" injection-regex = "c" -file-types = ["c", "h"] # TODO: ["h"] +file-types = ["c", "h"] comment-token = "//" language-servers = [ "clangd", "gpt" ] indent = { tab-width = 2, unit = " " } @@ -135,7 +135,7 @@ rubocop = { command = "rubocop", args = ["--lsp"] } name = "markdown" scope = "source.md" injection-regex = "md|markdown" -file-types = ["md", "markdown", "mkd", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", "gmi", "tpl" ] +file-types = ["md", "markdown", "mkd", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", "gmi", "tpl", "txt" ] roots = [".marksman.toml"] language-servers = [ "marksman", "markdown-oxide", "vale-ls", "gpt"] indent = { tab-width = 2, unit = " " } diff --git a/dotfiles/scripts/vit.nodue b/dotfiles/scripts/vit.nodue new file mode 100644 index 0000000..d3ad4da --- /dev/null +++ b/dotfiles/scripts/vit.nodue @@ -0,0 +1,11 @@ +#!/bin/bash + +# Used by vit command alias to undo due dates + +declare -r TASK_ID=$1 +if [ -z "$TASK_ID" ]; then + echo "Usage: $0 <task-id>" + exit 1 +fi + +task $TASK_ID modify +nosched due: diff --git a/dotfiles/vit/config.ini b/dotfiles/vit/config.ini index daec041..cacbd91 100644 --- a/dotfiles/vit/config.ini +++ b/dotfiles/vit/config.ini @@ -255,3 +255,4 @@ # <Shift> <Ctrl> <F5> = :!wr echo you used a function key r = :!wr vit.rand {TASK_ID}<Enter> +N = :!wr vit.nodue {TASK_ID}<Enter> |
