repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

7ac112c65b462aa985bb3e98ed9200391a3df28c

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (20)

+65 / −60 text lines · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately

Diff layout

git/gitconfig

Modified

+1 / −0 text lines

1010 safecrlf = false
1111 symlinks = true
1212 fscache = true
13 preloadIndex = true
1415[help]
1516 format = html

neovim/README.md

Modified

+1 / −0 text lines

3939# todo
41* try loading lsp async for better startup perf
4142* check out vim-dadbod for sql workflows
4243* navic highlights do not fit winbar
4344* make highlights more visible when expanding snippets

neovim/lazy-lock.json

Modified

+2 / −1 text lines

7070 "treesj": { "branch": "main", "commit": "e1e82ab4237619d342c7102c9f13d4b9833bfd39" },
7171 "twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
7272 "venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
73 "vim-startuptime": { "branch": "master", "commit": "ac2cccb5be617672add1f4f3c0a55ce99ba34e01" },
7374 "vim-vscode-snippets": { "branch": "master", "commit": "812e60d1c648f889328761ec71daff09d1eb3177" },
7475 "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" },
7576 "which-key.nvim": { "branch": "main", "commit": "ce741eb559c924d72e3a67d2189ad3771a231414" },
7677 "zen-mode.nvim": { "branch": "main", "commit": "78557d972b4bfbb7488e17b5703d25164ae64e6a" }
77}No final newline
78}

neovim/lua/bugabinga/diagnostic.lua

Modified

+5 / −5 text lines

1818local diagnostic = vim.diagnostic
19diagnostic.disable( 0 )
19diagnostic.enable(false)
2121auto 'disable_diagnostic_initially' {
2222 description = 'Disable Diagnostics initially, when attaching an LSP client to a buffer',
2323 events = 'LspAttach',
24 command = function () diagnostic.disable( 0 ) end,
24 command = function () diagnostic.enable(false, { bufnr = 0 } ) end,
2727local diagnostic_format = function ( context )
7575 category = 'diagnostic',
7676 keys = '<leader>td',
7777 command = function ()
78 if diagnostic.is_disabled( 0 ) then
79 diagnostic.enable( 0 )
78 if not diagnostic.is_enabled() then
79 diagnostic.enable()
8080 vim.notify 'Enabling Diagnostics'
8181 else
82 diagnostic.disable( 0 )
82 diagnostic.enable(false)
8383 vim.notify 'Disabling Diagnostics'
8484 end
8585 end,

neovim/lua/bugabinga/lsp/init.lua

Modified

+2 / −2 text lines

371371 description = 'Show incoming calls of symbol under cursor.',
372372 category = 'lsp',
373373 buffer = bufnr,
374 keys = '<leader>lci',
374 keys = '<leader>lc',
375375 command = vim.lsp.buf.incoming_calls,
376376 } )
379379 description = 'Show outgoing calls of symbol under cursor.',
380380 category = 'lsp',
381381 buffer = bufnr,
382 keys = '<leader>lco',
382 keys = '<leader>lC',
383383 command = vim.lsp.buf.outgoing_calls,
384384 } )

neovim/lua/bugabinga/options/keymaps.lua

Modified

+1 / −1 text lines

166166 map.normal {
167167 description = 'Toggle ' .. option_name .. ' option',
168168 category = 'options',
169 keys = '<leader>to' .. first_char,
169 keys = '<leader>t' .. first_char,
170170 command = function ()
171171 toggler:toggle()
172172 end,

neovim/lua/bugabinga/options/ui.lua

Modified

+1 / −1 text lines

127127vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50'
129129-- font
130vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h16:#e-subpixelantialias:#h-none'
130vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h15:#e-subpixelantialias:#h-none'
132132-- neovide only options
133133if vim.g.neovide then

neovim/lua/bugabinga/plugins/heirline.lua

Modified

+3 / −2 text lines

223223 }
225225 local lsp_active = {
226 condition = conditions.lsp_attached,
226 -- condition = conditions.lsp_attached,
227 condition = function() vim.lsp.buf_is_attached() end,
227228 -- FIXME: updates from parent components do not seem to update children,
228229 -- if those have their own updates?
229230 update = { "LspAttach", "LspDetach", "BufEnter", "BufLeave" },
337338 local diagnostic_enabled = {
338339 init = function(self)
339 self.icon = vim.diagnostic.is_disabled() and icon.toggle_off or icon.toggle_on
340 self.icon = (not vim.diagnostic.is_enabled()) and icon.toggle_off or icon.toggle_on
340341 end,
341342 provider = function(self)
342343 return icon.diagnostic .. " " .. self.icon

neovim/lua/bugabinga/plugins/luasnip.lua

Modified

+1 / −1 text lines

2525 callback = function ()
2626 vim.cmd.LuaSnipUnlinkCurrent { mods = { emsg_silent = true, }, }
2727 if has_vim_snippet then
28 snippet.exit()
28 snippet.stop()
2929 end
3030 end,
3131 } )

neovim/lua/bugabinga/plugins/startuptime.lua

Added
new file mode 100644

+5 / −0 text lines

1-- TODO: rewrite this in lua?
2return {
3 'dstein64/vim-startuptime',
4 cmd = 'StartupTime',
5}

neovim/lua/bugabinga/plugins/telescope.lua

Modified

+6 / −7 text lines

126126 hidden = true,
127127 prompt_prefix = icon.telescope .. ' ',
128128 selection_caret = icon.arrow_right .. ' ',
129 path_display = {'shorten'},
130 dynamic_preview_title = true,
129131 file_ignore_patterns = {
130 '.git/',
131 '.svn/',
132 '.cache',
133 '%.o',
134 '%.a',
135 '%.out',
136 '%.class',
132 '%.git/',
133 '%.git/',
134 '%.svn\\',
135 '%.svn\\',
137136 '%.pdf',
138137 '%.mkv',
139138 '%.mp4',

neovim/lua/bugabinga/plugins/treesitter.lua

Modified

+5 / −5 text lines

178178 enable = true,
179179 disable = should_disable,
180180 swap_next = {
181 ['<leader>rwn'] = { query = '@parameter.inner', desc = 'Swap parameter with next', },
181 ['<leader>rn'] = { query = '@parameter.inner', desc = 'Swap parameter with next', },
182182 },
183183 swap_previous = {
184 ['<leader>rwp'] = { query = '@parameter.inner', desc = 'Swap parameter with previous', },
184 ['<leader>rp'] = { query = '@parameter.inner', desc = 'Swap parameter with previous', },
185185 },
186186 },
191191 border = vim.g.border_style,
192192 floating_preview_opts = {},
193193 peek_definition_code = {
194 ['<leader>lpf'] = { query = '@function.outer', desc = 'Peek definition of outer function.', },
195 ['<leader>lpc'] = { query = '@class.outer', desc = 'Peek definition of outer class.', },
194 ['<leader>lp'] = { query = '@function.outer', desc = 'Peek definition of outer function.', },
195 ['<leader>lP'] = { query = '@class.outer', desc = 'Peek definition of outer class.', },
196196 },
197197 },
227227 mode = 'cursor', -- Line used to calculate context. Choices: 'cursor', 'topline'
228228 -- Separator between context and content. Should be a single character string, like '-'.
229229 -- When separator is set, the context will only show up when there are at least 2 lines above cursorline.
230 separator = nil,
230 separator = '-',
231231 zindex = 20, -- The Z-index of the context window
232232 on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching
233233 }

neovim/lua/bugabinga/plugins/whichkey.lua

Modified

+8 / −14 text lines

5050 v = { name = '|v|ersion control', _ = 'which_key_ignore', },
5151 s = { name = '|s|essions', _ = 'which_key_ignore', },
5252 r = { name = '|r|efactor', _ = 'which_key_ignore', },
53 w = { name = 's|w|ap', _ = 'which_key_ignore',
54 {
55 p = { name = '|p|arameter', _ = 'which_key_ignore', },
56 },
57 },
58 l = { name = '|l|sp', _ = 'which_key_ignore',
59 p = { name = '|p|eek', _ = 'which_key_ignore', },
60 c = { name = '|c|alls', _ = 'which_key_ignore', },
61 },
62 t = { name = '|t|oggle', _ = 'which_key_ignore',
63 {
64 o = { name = '|o|ptions', _ = 'which_key_ignore', },
65 },
66 },
53 t = { name = '|t|oggle', _ = 'which_key_ignore', },
54 w = { name = 's|w|ap', _ = 'which_key_ignore', },
6755 z = { name = 'la|z|y', _ = 'which_key_ignore', },
6856 [' '] = { name = 'fun', _ = 'which_key_ignore', },
57 {
58 p = { name = '|p|arameter', _ = 'which_key_ignore', },
59 },
60 l = { name = '|l|sp', _ = 'which_key_ignore',
61 c = { name = '|c|alls', _ = 'which_key_ignore', },
62 },
6963 },
7064 }
7165 end,

neovim/spell/nerd.utf-8.add

Modified

+2 / −0 text lines

6262href
6363DocumentUri
6464sinnfrei
65Asciidoc
66AsciidocFX

neovim/spell/nerd.utf-8.add.spl

Modified

Binary size (old → new): 848 → 927 bytes.

ssh/config

Modified

+4 / −0 text lines

1515 User oli
1616 IdentityFile ~/.ssh/seaduck.key
18Host artifactory
19 Hostname artifactory.isp-insoft.de
20 User java
1822# catch-all pattern
1923Host *
2024 User root

subversion/config

Modified

+3 / −3 text lines

5151### Set diff-cmd to the absolute path of your 'diff' program.
5252### This will override the compile-time default, which is to use
5353### Subversion's internal diff implementation.
54diff-cmd = /home/oli/.subversion/diff
54#diff-cmd = /home/oli/.subversion/diff
5555### Diff-extensions are arguments passed to an external diff
5656### program or to Subversion's internal diff implementation.
5757### Set diff-extensions to override the default arguments ('-u').
5959### Set diff3-cmd to the absolute path of your 'diff3' program.
6060### This will override the compile-time default, which is to use
6161### Subversion's internal diff3 implementation.
62diff3-cmd = /home/oli/.subversion/diff3
62#diff3-cmd = /home/oli/.subversion/diff3
6363### Set diff3-has-program-arg to 'yes' if your 'diff3' program
6464### accepts the '--diff-program' option.
6565# diff3-has-program-arg = no
6666### Set merge-tool-cmd to the command used to invoke your external
6767### merging tool of choice. Subversion will pass 5 arguments to
6868### the specified command: base theirs mine merged wcfile
69merge-tool-cmd = /home/oli/.subversion/merge
69#merge-tool-cmd = /home/oli/.subversion/merge
7171### Section for configuring tunnel agents.
7272[tunnels]

subversion/config.win32

Modified

+3 / −3 text lines

5151### Set diff-cmd to the absolute path of your 'diff' program.
5252### This will override the compile-time default, which is to use
5353### Subversion's internal diff implementation.
54diff-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff.bat
54#diff-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff.bat
5555### Diff-extensions are arguments passed to an external diff
5656### program or to Subversion's internal diff implementation.
5757### Set diff-extensions to override the default arguments ('-u').
5959### Set diff3-cmd to the absolute path of your 'diff3' program.
6060### This will override the compile-time default, which is to use
6161### Subversion's internal diff3 implementation.
62diff3-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff3.bat
62#diff3-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff3.bat
6363### Set diff3-has-program-arg to 'yes' if your 'diff3' program
6464### accepts the '--diff-program' option.
6565# diff3-has-program-arg = no
6666### Set merge-tool-cmd to the command used to invoke your external
6767### merging tool of choice. Subversion will pass 5 arguments to
6868### the specified command: base theirs mine merged wcfile
69merge-tool-cmd = C:/Users/okr/AppData/Roaming/Subversion/merge.bat
69#merge-tool-cmd = C:/Users/okr/AppData/Roaming/Subversion/merge.bat
7171### Section for configuring tunnel agents.
7272[tunnels]

wezterm/bugabinga/workspaces.lua

Modified

+10 / −9 text lines

55local get_my_code_workspace = function()
66 if win32 then
7 return 'W:'
7 return 'W:/'
88 else
99 return os.getenv 'HOME' .. '/Workspace'
1010 end
2626 local dork_ws = 'dorkfiles editing'
2727 local dork_cwd = WORKSPACE .. '/dotfiles'
2828 local dork_tab, dork_pane, dork_window = mux.spawn_window { cwd = dork_cwd, workspace = dork_ws }
29 local dork_top_pane = dork_pane:split { cwd = dork_cwd, direction = 'Top', size = 0.42 }
30 dork_top_pane:split { cwd = dork_cwd, direction = 'Left', size = 0.69 }
29 local dork_top_pane = dork_pane:split { cwd = dork_cwd, direction = 'Top', size = 0.69 }
30 dork_top_pane:split { cwd = dork_cwd, direction = 'Left', size = 0.42 }
3131 dork_tab:set_title 'Dorkfiles Editing'
3233 local wezterm_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/wezterm' }
3334 wezterm_config_tab:set_title 'Wezterm'
3435 wezterm_config_tab:active_pane():split { cwd = dork_cwd .. '/wezterm', direction = 'Left', size = 0.69 }
35 local helix_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/neovim' }
36 helix_config_tab:set_title 'Neovim'
37 helix_config_tab:active_pane():split { cwd = dork_cwd .. '/neovim', direction = 'Left', size = 0.69 }
37 local nvim_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/neovim' }
38 nvim_config_tab:set_title 'Neovim'
39 nvim_config_tab:active_pane():split { cwd = dork_cwd .. '/neovim', direction = 'Left', size = 0.69 }
4041 local code_ws = 'code'
4142 local code_cwd = WORKSPACE
4243 local code_tab, code_pane, code_window = mux.spawn_window { cwd = code_cwd, workspace = code_ws }
4344 local code_top_pane = code_pane:split { cwd = code_cwd, direction = 'Top', size = 0.69 }
44 code_pane:split { cwd = code_cwd, direction = 'Right', size = 0.69 }
45 code_pane:split { cwd = code_cwd, direction = 'Right', size = 0.42 }
4546 code_tab:set_title 'Code'
4647 code_top_pane:activate()
4849 local default_ws = 'default'
4950 local default_cwd = wez.home_dir
5051 local default_tab, default_pane, default_window = mux.spawn_window { cwd = default_cwd, workspace = default_ws }
51 local default_top_pane = default_pane:split { cwd = default_cwd, direction = 'Top', size = 0.42 }
52 local default_top_pane = default_pane:split { cwd = default_cwd, direction = 'Top', size = 0.69 }
5253 default_pane:split { cwd = default_cwd, direction = 'Right', size = 0.42 }
5354 default_top_pane:split { cwd = default_cwd, direction = 'Right', size = 0.42 }
54 default_window:spawn_tab { args = { 'btm' } }
5555 default_tab:set_title 'Default'
5656 default_top_pane:activate()
6767-- e.g. /run/user/1000/wezterm/log
6868wez.on('mux-startup', function()
6969 setup_workspaces()
70 maximize_window()
7071end)

wezterm/wezterm.lua

Modified

+2 / −6 text lines

1818 font_size = 13
1919 enable_wayland = true
2020elseif hostname == 'NB-00718' then
21 font_size = 19
21 font_size = 15
2222elseif hostname == 'fedora' then
2323 font_size = 13
2424 local font_names = {}
100100 default_cursor_style = 'SteadyBlock',
102102 exec_domains = exec_domains,
103 unix_domains = {
104 {
105 name = 'mux'
106 }
107 },
103 unix_domains = { { name = 'mux' } },
108104 default_gui_startup_args = { 'connect', 'mux' },
110106 font = font,