repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

helix keybinds

2a692d2cf3e7b62b8a481df8c0c08b8a67b6d1ad

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (8)

helix/config.toml

Modified
1 -theme = "nugu-dark"
1 +theme = "nugu-light"
3 3 [editor]
4 4 shell = ["nu", "--commands"]
8 8 line-number = "relative"
9 9 rulers = [81, 121, 141]
11 -auto-completion = true
11 +auto-completion = false
12 12 completion-trigger-len = 3
13 13 auto-info = true
14 -auto-pairs = true
14 +auto-pairs = false
15 15 auto-format = true
16 +auto-save = true
17 18 idle-timeout = 200
19 20 scrolloff = 5
20 21 scroll-lines = 1
22 -cursorline = false
23 23 color-modes = true
24 -auto-save = true
25 24 bufferline = "multiple"
27 26 [editor.statusline]
34 33 "position-percentage",
36 35 center = [
36 + "version-control",
37 + "separator",
37 38 "file-name",
39 + "spacer",
40 + "file-modification-indicator",
38 41 "separator",
39 42 "file-encoding",
40 43 "file-line-ending",
41 44 "file-type",
43 -right = ["diagnostics", "spacer", "spinner"]
46 +right = [
47 + "diagnostics",
48 + "spacer",
49 + "spinner"
44 51 separator = "·"
45 52 mode.normal = ""
46 53 mode.insert = ""
49 56 [editor.lsp]
50 57 display-messages = true
58 +display-inlay-hints = true
52 61 [editor.cursor-shape]
53 62 normal = "block"
71 80 render = false
72 81 character = "▏"
73 82 skip-levels = 2
84 +[editor.soft-wrap]
85 +enable = true
87 +[keys.normal]
88 +ret = ["add_newline_below","move_line_down"]
89 +A-ret = ["add_newline_above", "move_line_up"]
91 +# move current line up
92 +A-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
93 +A-k = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
95 +# move current line down
96 +A-down = ["extend_to_line_bounds", "delete_selection", "paste_after"]
97 +A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
99 +[keys.insert]
100 +"C-space" = "completion"

nushell/modules/syncthing.nu

Modified
1 -export def "conflicts list" [] { fd sync-conflict $env.HOME | lines }
1 +export def "conflicts list" [] {
2 + fd --hidden --no-ignore sync-conflict $env.HOME |
3 + lines |
4 + filter { |path| not ($path =~ "/Trash/") }
5 +}
3 7 export def "conflicts merge" [] {
4 8 (conflicts list) |

pop-os.symlinks

Modified
64 64 neovim
65 65 ~/.config/nvim
67 +river
68 +~/.config/river

wezterm/bugabinga/key_binds.lua

Modified
1 1 local wez = require 'wezterm'
2 -local leader = { key = 'Grave', mods = 'CTRL', timeout_milliseconds = 1000 }
2 +local leader = { key = 'Grave', mods = 'CTRL' }
4 4 local resize_pane_mode = 'ﭕ Resize Pane Mode'
5 5 local activate_pane_mode = ' Activate Pane Mode'

wezterm/bugabinga/nugu.lua

Modified
1 1 return {
2 - ['nugu-dark'] = {
2 + ['nugu-dark'] = {
3 3 -- The default text color
4 4 foreground = '#cfcfcf',
5 5 -- The default background color
24 24 scrollbar_thumb = '#121212',
26 26 -- The color of the split lines between panes
27 - split = '#121212',
27 + split = '#5f368d',
29 29 ansi = {
30 30 '#5d355c',
67 67 quick_select_label_fg = { Color = '#cfcfcf' },
68 68 quick_select_match_bg = { Color = '#4c2b72' },
69 69 quick_select_match_fg = { Color = '#cfcfcf' },
71 + tab_bar = {
72 + -- The color of the strip that goes along the top of the window
73 + -- does not apply when fancy tab bar is in use
74 + background = '#000000',
76 + -- The active tab is the one that has focus in the window
77 + active_tab = {
78 + -- The color of the background area for the tab
79 + bg_color = '#000000',
80 + -- The color of the text for the tab
81 + fg_color = '#5f368d',
83 + -- Specify whether you want 'Half', 'Normal' or 'Bold' intensity for the
84 + -- label shown for this tab.
85 + -- The default is 'Normal'
86 + intensity = 'Bold',
88 + -- Specify whether you want 'None', 'Single' or 'Double' underline for
89 + -- label shown for this tab.
90 + -- The default is 'None'
91 + underline = 'Double',
93 + -- Specify whether you want the text to be italic or not
94 + -- for this tab. The default is false.
95 + italic = false,
97 + -- Specify whether you want the text to be rendered with strikethrough
98 + -- or not for this tab. The default is false.
99 + strikethrough = false,
100 + },
102 + -- Inactive tabs are the tabs that do not have focus
103 + inactive_tab = {
104 + bg_color = '#000000',
105 + fg_color = '#e2e2e2',
106 + intensity = 'Normal',
108 + -- The same options that were listed under the `active_tab` section above
109 + -- can also be used for `inactive_tab`.
110 + },
112 + -- You can configure some alternate styling when the mouse pointer
113 + -- moves over inactive tabs
114 + inactive_tab_hover = {
115 + bg_color = '#788984',
116 + fg_color = '#e2e2e2',
117 + italic = true,
119 + -- The same options that were listed under the `active_tab` section above
120 + -- can also be used for `inactive_tab_hover`.
121 + },
123 + -- The new tab button that let you create new tabs
124 + new_tab = {
125 + bg_color = '#000000',
126 + fg_color = '#121212',
128 + -- The same options that were listed under the `active_tab` section above
129 + -- can also be used for `new_tab`.
130 + },
132 + -- You can configure some alternate styling when the mouse pointer
133 + -- moves over the new tab button
134 + new_tab_hover = {
135 + bg_color = '#788984',
136 + fg_color = '#e2e2e2',
137 + italic = true,
139 + -- The same options that were listed under the `active_tab` section above
140 + -- can also be used for `new_tab_hover`.
141 + },
142 + },
71 - ['nugu-light'] = {
144 + ['nugu-light'] = {
72 145 -- The default text color
73 146 foreground = '#494949',
74 147 -- The default background color
93 166 scrollbar_thumb = '#c9c9c9',
95 168 -- The color of the split lines between panes
96 - split = '#c9c9c9',
169 + split = '#9170b5',
98 171 ansi = {
99 172 '#060406',
136 209 quick_select_label_fg = { Color = '#494949' },
137 210 quick_select_match_bg = { Color = '#ae95c8' },
138 211 quick_select_match_fg = { Color = '#494949' },
213 + tab_bar = {
214 + -- The color of the strip that goes along the top of the window
215 + -- does not apply when fancy tab bar is in use
216 + background = '#c7c7c7',
218 + -- The active tab is the one that has focus in the window
219 + active_tab = {
220 + -- The color of the background area for the tab
221 + bg_color = '#c7c7c7',
222 + -- The color of the text for the tab
223 + fg_color = '#9170b5',
225 + -- Specify whether you want 'Half', 'Normal' or 'Bold' intensity for the
226 + -- label shown for this tab.
227 + -- The default is 'Normal'
228 + intensity = 'Bold',
230 + -- Specify whether you want 'None', 'Single' or 'Double' underline for
231 + -- label shown for this tab.
232 + -- The default is 'None'
233 + underline = 'Double',
235 + -- Specify whether you want the text to be italic or not
236 + -- for this tab. The default is false.
237 + italic = false,
239 + -- Specify whether you want the text to be rendered with strikethrough
240 + -- or not for this tab. The default is false.
241 + strikethrough = false,
242 + },
244 + -- Inactive tabs are the tabs that do not have focus
245 + inactive_tab = {
246 + bg_color = '#c7c7c7',
247 + fg_color = '#929292',
248 + intensity = 'Normal',
250 + -- The same options that were listed under the `active_tab` section above
251 + -- can also be used for `inactive_tab`.
252 + },
254 + -- You can configure some alternate styling when the mouse pointer
255 + -- moves over inactive tabs
256 + inactive_tab_hover = {
257 + bg_color = '#646464',
258 + fg_color = '#929292',
259 + italic = true,
261 + -- The same options that were listed under the `active_tab` section above
262 + -- can also be used for `inactive_tab_hover`.
263 + },
265 + -- The new tab button that let you create new tabs
266 + new_tab = {
267 + bg_color = '#c7c7c7',
268 + fg_color = '#c9c9c9',
270 + -- The same options that were listed under the `active_tab` section above
271 + -- can also be used for `new_tab`.
272 + },
274 + -- You can configure some alternate styling when the mouse pointer
275 + -- moves over the new tab button
276 + new_tab_hover = {
277 + bg_color = '#646464',
278 + fg_color = '#929292',
279 + italic = true,
281 + -- The same options that were listed under the `active_tab` section above
282 + -- can also be used for `new_tab_hover`.
283 + },
284 + },

wezterm/bugabinga/workspaces.lua

Modified
1 1 local wez = require 'wezterm'
2 2 local mux = wez.mux
4 -local default_ws = 'default'
5 -local nugu_ws = 'nugu development'
6 -local reign_ws = 'reign development'
7 -local dork_ws = 'dorkfiles editing'
9 5 local get_my_code_workspace = function()
10 6 if wez.target_triple:find('windows') then
30 26 -- check the log file in the wezterm mux server runtime directory
31 27 -- e.g. /run/user/1000/wezterm/log
32 28 wez.on('mux-startup', function()
29 + local nugu_ws = 'nugu development'
33 30 local nugu_cwd = WORKSPACE .. '/nugu'
34 31 local nugu_tab, nugu_pane, nugu_window = mux.spawn_window { cwd = nugu_cwd, workspace = nugu_ws }
35 32 local nugu_top_pane = nugu_pane:split { cwd = nugu_cwd, args = { 'hx', '.' }, direction = 'Top', size = 0.82 }
36 33 nugu_top_pane:split { cwd = nugu_cwd, direction = 'Left', size = 0.66 }
37 34 nugu_tab:set_title 'Nugu Development'
37 + local tini_lang_ws = 'tini_lang development'
38 + local tini_lang_cwd = WORKSPACE .. '/tini_lang'
39 + local tini_lang_tab, tini_lang_pane, tini_lang_window = mux.spawn_window { cwd = tini_lang_cwd, workspace =
40 + tini_lang_ws }
41 + local tini_lang_top_pane = tini_lang_pane:split { cwd = tini_lang_cwd, args = { 'hx', '.' }, direction = 'Top', size = 0.82 }
42 + tini_lang_top_pane:split { cwd = tini_lang_cwd, direction = 'Left', size = 0.66 }
43 + tini_lang_tab:set_title 'tini_lang Development'
46 + local reign_ws = 'reign development'
39 47 local reign_cwd = WORKSPACE .. '/reign'
40 48 local reign_tab, reign_pane, reign_window = mux.spawn_window { cwd = reign_cwd, args = { 'hx', '.' }, workspace =
41 49 reign_ws }
42 50 local reign_right_pane = reign_pane:split { cwd = reign_cwd, direction = 'Right', size = 0.36 }
43 - reign_right_pane:send_text "watch src {clear; just build}\n"
44 51 reign_right_pane:split { cwd = reign_cwd, direction = 'Bottom', size = 0.33 }
45 52 reign_tab:set_title 'Reign Development'
46 53 reign_pane:activate()
54 + -- FIXME(oli): the text gets send, but seemingly before nushell is ready to receive input
55 + reign_right_pane:send_text 'watch src {clear; just build}'
58 + local dork_ws = 'dorkfiles editing'
48 59 local dork_cwd = WORKSPACE .. '/dotfiles'
49 60 local dork_tab, dork_pane, dork_window = mux.spawn_window { cwd = dork_cwd, workspace = dork_ws }
50 - local dork_top_pane = dork_pane:split { cwd = dork_cwd, direction = 'Top', size = 0.55 }
61 + local dork_top_pane = dork_pane:split { direction = 'Top', size = 0.55 }
51 62 dork_top_pane:split { cwd = dork_cwd, args = { 'hx', '.' }, direction = 'Left', size = 0.7 }
52 63 dork_tab:set_title 'Dorkfiles Editing'
53 64 --TODO(oli): create tabs for configs in dorkfiles that i edit often (wezterm, helix, bootstripper,...)
65 + local wezterm_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/wezterm' }
66 + wezterm_config_tab:set_title 'Wezterm'
67 + wezterm_config_tab:active_pane():split { args = { 'hx', '.' }, direction = 'Left', size = 0.7 }
68 + local helix_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/helix' }
69 + helix_config_tab:set_title 'Helix'
70 + helix_config_tab:active_pane():split { args = { 'hx', '.' }, direction = 'Left', size = 0.7 }
73 + local default_ws = 'default'
55 74 local default_tab, default_pane, default_window = mux.spawn_window { workspace = default_ws }
56 75 local default_top_pane = default_pane:split { direction = 'Top', size = 0.5 }
57 76 default_pane:split { direction = 'Right', size = 0.5 }

wezterm/wezterm.lua

Modified
38 38 enable_tab_bar = true,
39 39 -- if this is hidden, we cannot see the right status area
40 40 hide_tab_bar_if_only_one_tab = false,
41 + use_fancy_tab_bar = false;
41 42 check_for_updates = false,
42 43 show_update_window = false,
43 44 audible_bell = 'Disabled',
46 47 fade_out_duration_ms = 75,
47 48 target = 'CursorColor',
50 + inactive_pane_hsb = {
51 + saturation = 0.33,
52 + brightness = 0.66,
53 + },
49 54 tab_max_width = 24,
50 55 enable_wayland = enable_wayland,
51 56 window_padding = {

wezterm/wezterm.service

Modified
3 3 [Unit]
4 4 Description=Wezterm Multiplexing Server
6 6 [Service]
7 7 # start with system shell as parent in order to inherit environment variables
8 -ExecStart=/bin/sh -c /usr/bin/wezterm-mux-server
8 +ExecStart=/bin/bash -c /usr/bin/wezterm-mux-server
9 9 Restart=on-failure
11 11 [Install]