repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

helid update

da0956d33f714d0690f2fdd86dfeb0caa1db9f17

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (3)

helix/config.toml

Modified
14 14 auto-pairs = true
15 15 auto-format = true
17 +idle-timeout = 200
17 19 scrolloff = 5
18 20 scroll-lines = 1
20 22 cursorline = true
21 -gutters = ["line-numbers", "diagnostics", "spacer"]
22 23 color-modes = true
24 +auto-save = true
25 +bufferline = "always"
24 27 [editor.statusline]
25 28 left = [
62 65 tab = "─"
63 66 tabpad = "╴"
64 67 newline = "⏎"
69 +[editor.indent-guides]
70 +render = true
71 +character = "▏"
72 +skip-levels = 2

tools/cargo-tools.nu

Modified
74 74 cd helix
75 75 git fetch
76 76 # check if fetch actually downloaded anything new
77 - if (not ((git rev-parse HEAD) == (git rev-parse @{u}))) {
77 + # if (not ((git rev-parse HEAD) == (git rev-parse @{u}))) {
78 + # topgrade has already updated the repo by this point, so that we never hit this case.
79 + # needs alternative idea
78 80 git pull
79 - cargo +stable-msvc install --path helix-term --profile opt
81 + let toolchain = (if $nu.os-info.family == "windows" {"+stable-mvsc"} else {"+stable"})
82 + cargo $toolchain install --path helix-term --profile opt
80 83 hx --grammar fetch | ignore
81 84 hx --grammar build | ignore
82 - }
85 + # }
85 88 # install all my favorite crate, only if they are not already in PATH.

wezterm/wezterm.lua

Modified
79 79 mods = 'LEADER',
80 80 action = wez.action.SplitVertical { domain = 'CurrentPaneDomain' },
82 + {
83 + key = 't',
84 + mods = 'LEADER',
85 + action = wez.action.SpawnTab 'CurrentPaneDomain',
86 + },
87 + {
88 + key = 'w',
89 + mods = 'LEADER',
90 + action = wez.action.CloseCurrentTab { confirm = true },
91 + },
83 93 key = 'q',
84 94 mods = 'LEADER',