dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Reviews Compare Notes Search Review guide CI runs Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
7ac112c65b462aa985bb3e98ed9200391a3df28c
Oliver Jan Krylow <oliver@bugabinga.net > · 22 May 2024
unsigned
Browse files Compare 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 Auto Unified Split
+1 / −0 text lines
10 10 safecrlf = false safecrlf = false11 11 symlinks = true symlinks = true12 12 fscache = true fscache = true15 16 format = html format = html +1 / −0 text lines
41 + * try loading lsp async for better startup perf41 42 * check out vim-dadbod for sql workflows* check out vim-dadbod for sql workflows42 43 * navic highlights do not fit winbar* navic highlights do not fit winbar43 44 * make highlights more visible when expanding snippets* make highlights more visible when expanding snippetsneovim/lazy-lock.json Modified +2 / −1 text lines
70 70 "treesj" : { "branch" : "main" , "commit" : "e1e82ab4237619d342c7102c9f13d4b9833bfd39" }, "treesj" : { "branch" : "main" , "commit" : "e1e82ab4237619d342c7102c9f13d4b9833bfd39" },71 71 "twilight.nvim" : { "branch" : "main" , "commit" : "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" }, "twilight.nvim" : { "branch" : "main" , "commit" : "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },72 72 "venn.nvim" : { "branch" : "main" , "commit" : "b09c2f36ddf70b498281845109bedcf08a7e0de0" }, "venn.nvim" : { "branch" : "main" , "commit" : "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
73 + "vim-startuptime" : { "branch" : "master" , "commit" : "ac2cccb5be617672add1f4f3c0a55ce99ba34e01" },73 74 "vim-vscode-snippets" : { "branch" : "master" , "commit" : "812e60d1c648f889328761ec71daff09d1eb3177" }, "vim-vscode-snippets" : { "branch" : "master" , "commit" : "812e60d1c648f889328761ec71daff09d1eb3177" },74 75 "virt-column.nvim" : { "branch" : "master" , "commit" : "b62b4ef0774d19452d4ed18e473e824c7a756f2f" }, "virt-column.nvim" : { "branch" : "master" , "commit" : "b62b4ef0774d19452d4ed18e473e824c7a756f2f" },75 76 "which-key.nvim" : { "branch" : "main" , "commit" : "ce741eb559c924d72e3a67d2189ad3771a231414" }, "which-key.nvim" : { "branch" : "main" , "commit" : "ce741eb559c924d72e3a67d2189ad3771a231414" },76 77 "zen-mode.nvim" : { "branch" : "main" , "commit" : "78557d972b4bfbb7488e17b5703d25164ae64e6a" } "zen-mode.nvim" : { "branch" : "main" , "commit" : "78557d972b4bfbb7488e17b5703d25164ae64e6a" }neovim/lua/bugabinga/diagnostic.lua Modified +5 / −5 text lines
18 18 local diagnostic = vim.diagnosticlocal diagnostic = vim.diagnostic19 - diagnostic.disable( 0 )19 + diagnostic.enable(false )21 21 auto 'disable_diagnostic_initially' {auto 'disable_diagnostic_initially' {22 22 description = 'Disable Diagnostics initially, when attaching an LSP client to a buffer' , description = 'Disable Diagnostics initially, when attaching an LSP client to a buffer' ,23 23 events = 'LspAttach' , events = 'LspAttach' ,24 - command = function () diagnostic.disable ( 0 ) end ,24 + command = function () diagnostic.enable (false , { bufnr = 0 } ) end ,27 27 local diagnostic_format = function ( context )local diagnostic_format = function ( context )75 75 category = 'diagnostic' , category = 'diagnostic' ,76 76 keys = '<leader>td' , keys = '<leader>td' ,77 77 command = function () command = function ()78 - if diagnostic.is_disabled( 0 ) then 79 - diagnostic.enable( 0 )78 + if not diagnostic.is_enabled() then 80 80 vim.notify 'Enabling Diagnostics' vim.notify 'Enabling Diagnostics' 82 - diagnostic.disable( 0 )82 + diagnostic.enable(false )83 83 vim.notify 'Disabling Diagnostics' vim.notify 'Disabling Diagnostics' neovim/lua/bugabinga/lsp/init.lua Modified +2 / −2 text lines
371 371 description = 'Show incoming calls of symbol under cursor.' , description = 'Show incoming calls of symbol under cursor.' ,372 372 category = 'lsp' , category = 'lsp' ,373 373 buffer = bufnr, buffer = bufnr,374 - keys = '<leader>lci ' ,374 + keys = '<leader>lc ' ,375 375 command = vim.lsp.buf.incoming_calls, command = vim.lsp.buf.incoming_calls,379 379 description = 'Show outgoing calls of symbol under cursor.' , description = 'Show outgoing calls of symbol under cursor.' ,380 380 category = 'lsp' , category = 'lsp' ,381 381 buffer = bufnr, buffer = bufnr,382 - keys = '<leader>lco ' ,382 + keys = '<leader>lC ' ,383 383 command = vim.lsp.buf.outgoing_calls, command = vim.lsp.buf.outgoing_calls,neovim/lua/bugabinga/options/keymaps.lua Modified +1 / −1 text lines
166 166 map.normal { map.normal {167 167 description = 'Toggle ' .. option_name .. ' option' , description = 'Toggle ' .. option_name .. ' option' ,168 168 category = 'options' , category = 'options' ,169 - keys = '<leader>to ' .. first_char,169 + keys = '<leader>t ' .. first_char,170 170 command = function () command = function ()171 171 toggler:toggle() toggler:toggle()neovim/lua/bugabinga/options/ui.lua Modified +1 / −1 text lines
127 127 vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50' vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50' 130 - vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h16 :#e-subpixelantialias:#h-none' 130 + vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h15 :#e-subpixelantialias:#h-none' 133 133 if vim.g.neovide then if vim.g.neovide then neovim/lua/bugabinga/plugins/heirline.lua Modified +3 / −2 text lines
225 225 local lsp_active = { local lsp_active = {226 - condition = conditions.lsp_attached,227 + condition = function () vim.lsp.buf_is_attached() end ,229 230 update = { "LspAttach" , "LspDetach" , "BufEnter" , "BufLeave" }, update = { "LspAttach" , "LspDetach" , "BufEnter" , "BufLeave" },337 338 local diagnostic_enabled = { local diagnostic_enabled = {338 339 init = function (self) init = function (self)339 - self.icon = vim.diagnostic.is_disabled () and icon.toggle_off or icon.toggle_on340 + self.icon = ( not vim.diagnostic.is_enabled ()) and icon.toggle_off or icon.toggle_on341 342 provider = function (self) provider = function (self)342 343 return icon.diagnostic .. " " .. self.icon return icon.diagnostic .. " " .. self.iconneovim/lua/bugabinga/plugins/luasnip.lua Modified +1 / −1 text lines
25 25 callback = function () callback = function ()26 26 vim.cmd.LuaSnipUnlinkCurrent { mods = { emsg_silent = true , }, } vim.cmd.LuaSnipUnlinkCurrent { mods = { emsg_silent = true , }, }27 27 if has_vim_snippet then if has_vim_snippet then neovim/lua/bugabinga/plugins/startuptime.lua Added new file mode 100644+5 / −0 text lines
3 + 'dstein64/vim-startuptime' ,neovim/lua/bugabinga/plugins/telescope.lua Modified +6 / −7 text lines
126 126 hidden = true , hidden = true ,127 127 prompt_prefix = icon.telescope .. ' ' , prompt_prefix = icon.telescope .. ' ' ,128 128 selection_caret = icon.arrow_right .. ' ' , selection_caret = icon.arrow_right .. ' ' ,
129 + path_display = {'shorten' },130 + dynamic_preview_title = true ,129 131 file_ignore_patterns = { file_ignore_patterns = {neovim/lua/bugabinga/plugins/treesitter.lua Modified +5 / −5 text lines
178 178 enable = true , enable = true ,179 179 disable = should_disable, disable = should_disable,180 180 swap_next = { swap_next = {181 - ['<leader>rwn ' ] = { query = '@parameter.inner' , desc = 'Swap parameter with next' , },181 + ['<leader>rn ' ] = { query = '@parameter.inner' , desc = 'Swap parameter with next' , },183 183 swap_previous = { swap_previous = {184 - ['<leader>rwp ' ] = { query = '@parameter.inner' , desc = 'Swap parameter with previous' , },184 + ['<leader>rp ' ] = { query = '@parameter.inner' , desc = 'Swap parameter with previous' , },191 191 border = vim.g.border_style, border = vim.g.border_style,192 192 floating_preview_opts = {}, floating_preview_opts = {},193 193 peek_definition_code = { 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.' , },227 227 mode = 'cursor' , mode = 'cursor' , 231 231 zindex = 20 , zindex = 20 , 232 232 on_attach = nil , on_attach = nil , neovim/lua/bugabinga/plugins/whichkey.lua Modified +8 / −14 text lines
50 50 v = { name = '|v|ersion control' , _ = 'which_key_ignore' , }, v = { name = '|v|ersion control' , _ = 'which_key_ignore' , },51 51 s = { name = '|s|essions' , _ = 'which_key_ignore' , }, s = { name = '|s|essions' , _ = 'which_key_ignore' , },52 52 r = { name = '|r|efactor' , _ = 'which_key_ignore' , }, r = { name = '|r|efactor' , _ = 'which_key_ignore' , },53 - w = { name = 's|w|ap' , _ = 'which_key_ignore' ,55 - p = { name = '|p|arameter' , _ = 'which_key_ignore' , },58 - l = { name = '|l|sp' , _ = 'which_key_ignore' ,59 - p = { name = '|p|eek' , _ = 'which_key_ignore' , },60 - c = { name = '|c|alls' , _ = 'which_key_ignore' , },62 - t = { name = '|t|oggle' , _ = 'which_key_ignore' ,64 - o = { name = '|o|ptions' , _ = 'which_key_ignore' , },53 + t = { name = '|t|oggle' , _ = 'which_key_ignore' , },54 + w = { name = 's|w|ap' , _ = 'which_key_ignore' , },67 55 z = { name = 'la|z|y' , _ = 'which_key_ignore' , }, z = { name = 'la|z|y' , _ = 'which_key_ignore' , },68 56 [' ' ] = { name = 'fun' , _ = 'which_key_ignore' , }, [' ' ] = { name = 'fun' , _ = 'which_key_ignore' , },
58 + p = { name = '|p|arameter' , _ = 'which_key_ignore' , },60 + l = { name = '|l|sp' , _ = 'which_key_ignore' ,61 + c = { name = '|c|alls' , _ = 'which_key_ignore' , },neovim/spell/nerd.utf-8.add Modified +2 / −0 text lines
63 63 DocumentUriDocumentUrineovim/spell/nerd.utf-8.add.spl Modified Binary size (old → new): 848 → 927 bytes.
+4 / −0 text lines
16 16 IdentityFile ~/.ssh/seaduck.key IdentityFile ~/.ssh/seaduck.key
19 + Hostname artifactory.isp-insoft.de18 22 # catch-all pattern# catch-all patternsubversion/config Modified +3 / −3 text lines
51 51 ### Set diff-cmd to the absolute path of your 'diff' program.### Set diff-cmd to the absolute path of your 'diff' program.52 52 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use53 53 ### Subversion's internal diff implementation.### Subversion's internal diff implementation.54 - diff-cmd = /home/oli/.subversion/diff54 + # diff-cmd = /home/oli/.subversion/diff55 55 ### Diff-extensions are arguments passed to an external diff### Diff-extensions are arguments passed to an external diff56 56 ### program or to Subversion's internal diff implementation.### program or to Subversion's internal diff implementation.57 57 ### Set diff-extensions to override the default arguments ('-u').### Set diff-extensions to override the default arguments ('-u').59 59 ### Set diff3-cmd to the absolute path of your 'diff3' program.### Set diff3-cmd to the absolute path of your 'diff3' program.60 60 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use61 61 ### Subversion's internal diff3 implementation.### Subversion's internal diff3 implementation.62 - diff3-cmd = /home/oli/.subversion/diff362 + # diff3-cmd = /home/oli/.subversion/diff363 63 ### Set diff3-has-program-arg to 'yes' if your 'diff3' program### Set diff3-has-program-arg to 'yes' if your 'diff3' program64 64 ### accepts the '--diff-program' option.### accepts the '--diff-program' option.65 65 # diff3-has-program-arg = no# diff3-has-program-arg = no66 66 ### Set merge-tool-cmd to the command used to invoke your external### Set merge-tool-cmd to the command used to invoke your external67 67 ### merging tool of choice. Subversion will pass 5 arguments to### merging tool of choice. Subversion will pass 5 arguments to68 68 ### the specified command: base theirs mine merged wcfile### the specified command: base theirs mine merged wcfile69 - merge-tool-cmd = /home/oli/.subversion/merge69 + # merge-tool-cmd = /home/oli/.subversion/merge71 71 ### Section for configuring tunnel agents.### Section for configuring tunnel agents.subversion/config.win32 Modified +3 / −3 text lines
51 51 ### Set diff-cmd to the absolute path of your 'diff' program.### Set diff-cmd to the absolute path of your 'diff' program.52 52 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use53 53 ### Subversion's internal diff implementation.### Subversion's internal diff implementation.54 - diff-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff.bat54 + # diff-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff.bat55 55 ### Diff-extensions are arguments passed to an external diff### Diff-extensions are arguments passed to an external diff56 56 ### program or to Subversion's internal diff implementation.### program or to Subversion's internal diff implementation.57 57 ### Set diff-extensions to override the default arguments ('-u').### Set diff-extensions to override the default arguments ('-u').59 59 ### Set diff3-cmd to the absolute path of your 'diff3' program.### Set diff3-cmd to the absolute path of your 'diff3' program.60 60 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use61 61 ### Subversion's internal diff3 implementation.### Subversion's internal diff3 implementation.62 - diff3-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff3.bat62 + # diff3-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff3.bat63 63 ### Set diff3-has-program-arg to 'yes' if your 'diff3' program### Set diff3-has-program-arg to 'yes' if your 'diff3' program64 64 ### accepts the '--diff-program' option.### accepts the '--diff-program' option.65 65 # diff3-has-program-arg = no# diff3-has-program-arg = no66 66 ### Set merge-tool-cmd to the command used to invoke your external### Set merge-tool-cmd to the command used to invoke your external67 67 ### merging tool of choice. Subversion will pass 5 arguments to### merging tool of choice. Subversion will pass 5 arguments to68 68 ### the specified command: base theirs mine merged wcfile### the specified command: base theirs mine merged wcfile69 - merge-tool-cmd = C:/Users/okr/AppData/Roaming/Subversion/merge.bat69 + # merge-tool-cmd = C:/Users/okr/AppData/Roaming/Subversion/merge.bat71 71 ### Section for configuring tunnel agents.### Section for configuring tunnel agents.wezterm/bugabinga/workspaces.lua Modified +10 / −9 text lines
5 5 local get_my_code_workspace = function ()local get_my_code_workspace = function ()6 6 if win32 then if win32 then 9 9 return os .getenv 'HOME' .. '/Workspace' return os .getenv 'HOME' .. '/Workspace' 26 26 local dork_ws = 'dorkfiles editing' local dork_ws = 'dorkfiles editing' 27 27 local dork_cwd = WORKSPACE .. '/dotfiles' local dork_cwd = WORKSPACE .. '/dotfiles' 28 28 local dork_tab, dork_pane, dork_window = mux.spawn_window { cwd = dork_cwd, workspace = dork_ws } 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 }31 31 dork_tab:set_title 'Dorkfiles Editing' dork_tab:set_title 'Dorkfiles Editing' 32 33 local wezterm_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/wezterm' } local wezterm_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/wezterm' }33 34 wezterm_config_tab:set_title 'Wezterm' wezterm_config_tab:set_title 'Wezterm' 34 35 wezterm_config_tab:active_pane():split { cwd = dork_cwd .. '/wezterm' , direction = 'Left' , size = 0.69 } 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 }40 41 local code_ws = 'code' local code_ws = 'code' 41 42 local code_cwd = WORKSPACE local code_cwd = WORKSPACE42 43 local code_tab, code_pane, code_window = mux.spawn_window { cwd = code_cwd, workspace = code_ws } local code_tab, code_pane, code_window = mux.spawn_window { cwd = code_cwd, workspace = code_ws }43 44 local code_top_pane = code_pane:split { cwd = code_cwd, direction = 'Top' , size = 0.69 } 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 }45 46 code_tab:set_title 'Code' code_tab:set_title 'Code' 46 47 code_top_pane:activate() code_top_pane:activate()48 49 local default_ws = 'default' local default_ws = 'default' 49 50 local default_cwd = wez.home_dir local default_cwd = wez.home_dir50 51 local default_tab, default_pane, default_window = mux.spawn_window { cwd = default_cwd, workspace = default_ws } 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 }52 53 default_pane:split { cwd = default_cwd, direction = 'Right' , size = 0.42 } default_pane:split { cwd = default_cwd, direction = 'Right' , size = 0.42 }53 54 default_top_pane:split { cwd = default_cwd, direction = 'Right' , size = 0.42 } default_top_pane:split { cwd = default_cwd, direction = 'Right' , size = 0.42 }54 - default_window:spawn_tab { args = { 'btm' } }
55 55 default_tab:set_title 'Default' default_tab:set_title 'Default' 56 56 default_top_pane:activate() default_top_pane:activate()68 68 wez.on('mux-startup' , function ()wez.on('mux-startup' , function ()69 69 setup_workspaces() setup_workspaces()wezterm/wezterm.lua Modified +2 / −6 text lines
18 18 font_size = 13 font_size = 13 19 19 enable_wayland = true enable_wayland = true 20 20 elseif hostname == 'NB-00718' thenelseif hostname == 'NB-00718' then22 22 elseif hostname == 'fedora' thenelseif hostname == 'fedora' then23 23 font_size = 13 font_size = 13 24 24 local font_names = {} local font_names = {}100 100 default_cursor_style = 'SteadyBlock' , default_cursor_style = 'SteadyBlock' ,102 102 exec_domains = exec_domains, exec_domains = exec_domains,103 + unix_domains = { { name = 'mux' } },108 104 default_gui_startup_args = { 'connect' , 'mux' }, default_gui_startup_args = { 'connect' , 'mux' },110 106 font = font, font = font,