repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

sync

d005bf5463bfd345640d6ffcbcaeb87b1e47bf6c

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (42)

fedora.symlinks

Modified
46 46 wezterm
47 47 ~/.config/wezterm
49 +wezterm/wezterm.service
50 +~/.config/systemd/user/wezterm.service
49 52 ssh/config
50 53 ~/.ssh/config

neovim/lazy-lock.json

Modified
2 2 "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" },
3 3 "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
4 - "better-escape.nvim": { "branch": "master", "commit": "bb197e51a91a635deb88630813c3bfc284413697" },
4 + "better-escape.nvim": { "branch": "master", "commit": "f45b52f8f87792e8659526f23261ffe278a54be5" },
5 5 "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
6 6 "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
7 7 "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
8 8 "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
9 9 "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
10 10 "colorizer.nvim": { "branch": "master", "commit": "c1602ff3f11566bb7f16f90985b0c59d3d7db0ef" },
11 - "conform.nvim": { "branch": "master", "commit": "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" },
11 + "conform.nvim": { "branch": "master", "commit": "50649648851cd0e126dfedd0f3c33b900a6f1ef8" },
12 12 "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
13 13 "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
14 - "flash.nvim": { "branch": "main", "commit": "7bb4a9c75d1e20cd24185afedeaa11681829ba23" },
15 - "glow.nvim": { "branch": "main", "commit": "238070a686c1da3bccccf1079700eb4b5e19aea4" },
16 - "heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
14 + "flash.nvim": { "branch": "main", "commit": "ec0bf2842189f65f60fd40bf3557cac1029cc932" },
15 + "heirline.nvim": { "branch": "master", "commit": "7a79753c1a42c3f52e89a6c42429e7f871e560cd" },
17 16 "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
18 17 "lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
19 - "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" },
20 - "lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
21 - "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
18 + "lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
19 + "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
22 20 "mini.bracketed": { "branch": "main", "commit": "833d66df6e0588222312a963780c6ec42ed7437d" },
23 21 "mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" },
24 - "mini.diff": { "branch": "main", "commit": "24d46798be8a358d38d3adc92c7ebcbb2d6f67e0" },
25 22 "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
26 - "neogen": { "branch": "main", "commit": "e932ba918b56723436b77aa3efb844a11b2851ab" },
27 - "nrpattern.nvim": { "branch": "master", "commit": "f862ce687761078ef3155688151c55f69d28453e" },
28 23 "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
29 24 "nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" },
30 25 "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
32 27 "nvim-gomove": { "branch": "main", "commit": "2b44ae7ac0804f4e3959228122f7c85bef1964e3" },
33 28 "nvim-lastplace": { "branch": "main", "commit": "0bb6103c506315044872e0f84b1f736c4172bb20" },
34 29 "nvim-lint": { "branch": "master", "commit": "968a35d54b3a4c1ce66609cf80b14d4ae44fe77f" },
35 - "nvim-navbuddy": { "branch": "master", "commit": "f22bac988f2dd073601d75ba39ea5636ab6e38cb" },
36 - "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
37 30 "nvim-neoclip.lua": { "branch": "main", "commit": "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" },
38 31 "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
39 - "nvim-treesitter": { "branch": "master", "commit": "621f5901f0b3e762cc4c5ed0f9246cf1495193ad" },
40 - "nvim-treesitter-context": { "branch": "master", "commit": "3d5390c49e3f8fe457b376df2a49aa39d75b7911" },
32 + "nvim-treesitter": { "branch": "master", "commit": "f027762845fa35ff27fe0487c86537a74a480a0c" },
41 33 "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
42 - "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },
34 + "nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" },
43 35 "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
44 - "nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" },
45 36 "nvim-web-devicons": { "branch": "master", "commit": "26220156aafb198b2de6a4cf80c1b120a3768da0" },
46 - "nvim-window": { "branch": "main", "commit": "81f29840ac3aaeea6fc2153edfabebd00d692476" },
47 - "oil.nvim": { "branch": "master", "commit": "1360be5fda9c67338331abfcd80de2afbb395bcd" },
37 + "oil.nvim": { "branch": "master", "commit": "1eb9fb35a4613518f79790117ed82c367a0b4a22" },
48 38 "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
49 - "qf_helper.nvim": { "branch": "master", "commit": "fa3c2f3f2706e2c9984409c9c14b5993302ddfa7" },
50 - "schemastore.nvim": { "branch": "main", "commit": "efa0466f9f7971256ad5da010832180fc7d8996b" },
51 39 "specs.nvim": { "branch": "main", "commit": "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },
52 - "ssr.nvim": { "branch": "main", "commit": "7c95cfa5836508f08ae833a4b31d2ed265560f64" },
53 - "substitute.nvim": { "branch": "main", "commit": "97f49d16f8eea7967d41db4f657dd63af53eeba1" },
40 + "substitute.nvim": { "branch": "main", "commit": "17ffaeb5a1dc2dbef39cf0865d8a4b6000836714" },
54 41 "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
55 42 "telescope-symbols.nvim": { "branch": "master", "commit": "a6d0127a53d39b9fc2af75bd169d288166118aec" },
56 43 "telescope-zoxide": { "branch": "main", "commit": "54bfe630bad08dc9891ec78c7cf8db38dd725c97" },
57 44 "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
58 - "text-case.nvim": { "branch": "main", "commit": "e898cfd46fa6cde0e83abb624a16e67d2ffc6457" },
45 + "text-case.nvim": { "branch": "main", "commit": "13daf28a829e6d0646904c94214cb289bb0c6f34" },
59 46 "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
60 - "transparent.nvim": { "branch": "main", "commit": "8a2749a2fa74f97fe6557f61b89ac7fd873f3c21" },
61 - "tree-sitter-nu": { "branch": "main", "commit": "983618e8635db65daf898460a59065a70f64145e" },
47 + "tree-sitter-nu": { "branch": "main", "commit": "e3b4c967937cad628dca09bd098cd780d8288750" },
62 48 "treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" },
63 - "twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },
64 - "venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
65 49 "vim-vscode-snippets": { "branch": "master", "commit": "c34e9edee6a00cf3d0b8edb515e08e3df450bcfa" },
66 50 "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" },
67 - "which-key.nvim": { "branch": "main", "commit": "4b7167f8fb2dba3d01980735e3509e172c024c29" },
68 - "zen-mode.nvim": { "branch": "main", "commit": "29b292bdc58b76a6c8f294c961a8bf92c5a6ebd6" }
51 + "which-key.nvim": { "branch": "main", "commit": "fb070344402cfc662299d9914f5546d840a22126" },
52 + "zen-mode.nvim": { "branch": "main", "commit": "04b52674b8c800f8b7d4609e8bd8d0212e3ffa79" }

neovim/lua/bugabinga/options/keymaps.lua

Modified
10 10 vim.g.mapleader = ' '
11 11 vim.g.maplocalleader = ' '
13 --- insert newline under or above in normal mode
14 -map.normal {
15 - description = 'Insert newline under cursor',
16 - category = 'editing',
17 - keys = '<leader>o',
18 - command = function ()
19 - local current_buffer = 0
20 - local current_line = vim.api.nvim_win_get_cursor( current_buffer )[1]
21 - local strict_indexing = false
22 - local newline = { '', }
23 - vim.api.nvim_buf_set_lines( current_buffer, current_line, current_line, strict_indexing, newline )
24 - end,
27 -map.normal {
28 - description = 'Insert newline above cursor',
29 - category = 'editing',
30 - keys = '<leader>O',
31 - command = function ()
32 - local current_buffer = 0
33 - local current_line = vim.api.nvim_win_get_cursor( current_buffer )[1] - 1
34 - local strict_indexing = false
35 - local newline = { '', }
37 - vim.api.nvim_buf_set_lines( current_buffer, current_line, current_line, strict_indexing, newline )
38 - end,
41 -map.normal {
13 +map.normal.visual {
42 14 description = 'Yanks the selected text (in normal mode or visual mode) to the system clipboard.',
43 15 category = 'editing',
44 16 keys = '<leader>y',
52 24 command = '"+p',
55 -map.normal {
27 +map.normal.visual {
56 28 description = 'Yanks the entire line (when used in normal mode with motion).',
57 29 category = 'editing',
58 30 keys = '<leader>Y',
109 81 if file_under_cursor and file_under_cursor:match '%a+://.+' then
110 82 vim.system(
111 83 ---@diagnostic disable-next-line: assign-type-mismatch
112 - (const.win32 or const.wsl2) and { 'cmd.exe', '/C', 'start', 'msedge', file_under_cursor, }
113 - or { 'firefox', file_under_cursor, },
114 - { text = true, },
84 + (const.win32 or const.wsl2) and { 'cmd.exe', '/C', 'start', 'msedge', file_under_cursor }
85 + or { 'firefox', file_under_cursor },
86 + { text = true },
115 87 function ( completed )
116 88 if completed.code == 0 then
117 89 vim.schedule( function ()

neovim/lua/bugabinga/plugins/autopairs.lua

Modified
2 2 local ignored = require 'std.ignored'
4 4 return {
5 5 'windwp/nvim-autopairs',
6 + commit = 'f158dcb865c36f72c92358f87787dab2c272eaf3',
6 7 event = 'InsertEnter',
7 8 opts = {
8 9 disable_filetype = ignored.filetypes,

neovim/lua/bugabinga/plugins/better-escape.lua

Modified
1 1 return {
2 2 'max397574/better-escape.nvim',
3 + version = '2.*',
3 4 event = 'InsertEnter',
4 5 opts = {},

neovim/lua/bugabinga/plugins/bracketed.lua

Modified
1 1 return {
2 2 'echasnovski/mini.bracketed',
3 + version = '0.*',
3 4 event = 'VeryLazy',
4 5 opts = {},

neovim/lua/bugabinga/plugins/bufremove.lua

Modified
1 --- FIXME: own this
1 +local map = require 'std.map'
3 +map.normal {
4 + description = 'Delete Buffer',
5 + category = 'buffer',
6 + keys = '<leader>bd',
7 + command = function ()
8 + local delete_buffer = require 'mini.bufremove'.delete
9 + if vim.bo.modified then
10 + local choice = vim.fn.confirm( ('Save changes to %q?'):format( vim.fn.bufname() ), '&Yes\n&No\n&Cancel' )
11 + if choice == 1 then -- Yes
12 + vim.cmd.write()
13 + delete_buffer( 0 )
14 + elseif choice == 2 then -- No
15 + delete_buffer( 0, true )
16 + end
17 + else
18 + delete_buffer( 0 )
19 + end
20 + end,
23 +map.normal {
24 + description = 'Delete Buffer (Force)',
25 + category = 'buffer',
26 + keys = '<leader>bD',
27 + command = function () require 'mini.bufremove'.delete( 0, true ) end,
2 30 return {
3 31 'echasnovski/mini.bufremove',
5 - keys = {
6 - {
7 - '<leader>bd',
8 - function ()
9 - local bd = require 'mini.bufremove' .delete
10 - if vim.bo.modified then
11 - local choice = vim.fn.confirm( ('Save changes to %q?'):format( vim.fn.bufname() ), '&Yes\n&No\n&Cancel' )
12 - if choice == 1 then -- Yes
13 - vim.cmd.write()
14 - bd( 0 )
15 - elseif choice == 2 then -- No
16 - bd( 0, true )
17 - end
18 - else
19 - bd( 0 )
20 - end
21 - end,
22 - desc = 'Delete Buffer',
23 - },
24 - -- stylua: ignore
25 - { '<leader>bD', function () require 'mini.bufremove' .delete( 0, true ) end, desc = 'Delete Buffer (Force)', },
26 - },
32 + version = '0.*',

neovim/lua/bugabinga/plugins/cmp.lua

Modified
1 1 local icon = require 'std.icon'
3 +-- TODO: replace with vim.completion, once it lands
3 5 return {
4 6 'hrsh7th/nvim-cmp',
5 7 branch = 'main',
41 43 local mapping = cmp.mapping.preset.insert {
42 44 ['<C-d>'] = cmp.mapping.scroll_docs( -4 ),
43 45 ['<C-f>'] = cmp.mapping.scroll_docs( 4 ),
44 - ['<C-e>'] = cmp.mapping.close(),
45 - ['<C-y>'] = cmp.mapping.confirm { behavior = cmp.ConfirmBehavior.Replace, select = true, },
46 - ['<C-space>'] = cmp.mapping.complete(),
47 - ['<Tab>'] = cmp.mapping( snippet_next, { 'i', 's', } ),
48 - ['<S-Tab>'] = cmp.mapping( snippet_prev, { 'i', 's', } ),
46 + ['<C-c>'] = cmp.mapping.close(),
47 + ['<C-y>'] = cmp.mapping.confirm { behavior = cmp.ConfirmBehavior.Replace, select = true },
48 + ['<C-x>'] = cmp.mapping.complete(),
51 51 local formatting = {}
94 94 local sources = {
95 - { name = 'nvim_lua', },
96 - { name = 'nvim_lsp', },
97 - { name = 'path', },
98 - { name = 'luasnip', },
95 + { name = 'nvim_lua' },
96 + { name = 'nvim_lsp' },
97 + { name = 'path' },
98 + { name = 'luasnip' },
100 100 name = 'buffer',
101 101 keyword_length = 4,
119 119 formatting = formatting,
120 120 sources = sources,
122 - completion = { autocomplete = false, },
122 + completion = { autocomplete = false },
123 123 snippet = {
124 124 expand = function ( args ) luasnip.lsp_expand( args.body ) end,

neovim/lua/bugabinga/plugins/colorizer.lua

Modified
1 1 return {
3 - 'JosefLitos/colorizer.nvim',
3 + 'litoj/colorizer.nvim',
4 + commit = 'c1602ff3f11566bb7f16f90985b0c59d3d7db0ef',
4 5 event = 'VeryLazy',
5 6 opts = {
6 - filetypes = { '*', },
7 + filetypes = { '*' },
7 8 user_default_options = {
8 9 RGB = true, -- #RGB hex codes
9 10 RRGGBB = true, -- #RRGGBB hex codes
17 18 mode = 'virtualtext', -- Set the display mode.
18 19 -- names = function () return require 'bugabinga.nugu.palette' end,
19 20 -- parsers can contain values used in |user_default_options|
20 - sass = { enable = false, parsers = { 'css', }, }, -- Enable sass colors
21 + sass = { enable = false, parsers = { 'css' } }, -- Enable sass colors
21 22 virtualtext = '██',
22 23 -- update color values even if buffer is not focused
23 24 -- example use: cmp_menu, cmp_docs

neovim/lua/bugabinga/plugins/conform.lua

Modified
3 3 local debug = require 'std.dbg'
4 4 local map = require 'std.map'
5 5 local user_command = require 'std.user_command'
7 7 local format = function ()
8 - prequire 'conform'.format( { async = false, lsp_fallback = true, }, function ( err )
8 + prequire 'conform'.format( { async = false, lsp_fallback = true }, function ( err )
9 9 if err and debug.get() then
10 10 vim.print( 'Format failed', err )
22 22 return {
23 23 'stevearc/conform.nvim',
24 - cmd = { 'ConformInfo', },
24 + version = '8.*',
25 + cmd = { 'ConformInfo' },
25 26 opts = {
26 27 formatters_by_ft = {
27 28 -- https://github.com/razziel89/mdslw/issues/14
28 - markdown = { 'mdslw', },
29 + markdown = { 'mdslw' },
29 30 -- lua = { "stylua" },
30 - toml = { 'taplo', },
31 - sh = { 'shfmt', },
32 - just = { 'just', },
33 - nu = { 'nufmt', },
34 - zig = { 'zigfmt', },
31 + toml = { 'taplo' },
32 + sh = { 'shfmt' },
33 + just = { 'just' },
34 + nu = { 'nufmt' },
35 + zig = { 'zigfmt' },
35 36 -- Use the "*" file type to run formatters on all file types.
36 - ['*'] = { 'injected', 'typos', },
37 + ['*'] = { 'injected', 'typos' },
37 38 -- Use the "_" file type to run formatters on file types that don't
38 39 -- have other formatters configured.
39 - ['_'] = { 'trim_whitespace', 'trim_newlines', },
40 + ['_'] = { 'trim_whitespace', 'trim_newlines' },
41 42 formatters = {
42 43 mdslw = {

neovim/lua/bugabinga/plugins/diffview.lua

Modified
10 10 return {
11 11 'sindrets/diffview.nvim',
12 - cmd = { 'DiffviewOpen', },
12 + commit = '4516612fe98ff56ae0415a259ff6361a89419b0a',
13 + cmd = { 'DiffviewOpen' },
13 14 opts = {},

neovim/lua/bugabinga/plugins/flash.lua

Modified
1 1 local map = require 'std.map'
3 3 map.normal.visual.operator_pending {
4 - keys = '<cr>',
5 - category = 'navigation',
6 4 description = 'Jump to occurence of next chars quickly',
5 + category = 'navigation',
6 + keys = '<cr>',
7 7 command = function () prequire 'flash'.jump() end,
10 10 map.normal.visual.operator_pending {
11 - keys = '<s-cr>',
12 - category = 'navigation',
13 11 description = 'Jump to occurence of next treesitter node quickly',
12 + category = 'navigation',
13 + keys = '<s-cr>',
14 14 command = function () prequire 'flash'.treesitter() end,
16 --- { "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
17 --- { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
18 --- { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
19 --- { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
17 +map.command_line {
18 + description = 'Toggle Flash Search',
19 + category = 'navigation',
20 + keys = '<c-s>',
21 + command = function () require 'flash'.toggle() end,
21 24 return {
22 25 'folke/flash.nvim',

neovim/lua/bugabinga/plugins/genghis.lua

Modified
1 1 local const = require 'bugabinga.const'
2 2 if const.win32 then
3 - require 'bugabinga.health'.add_dependency {
4 - name_of_executable = 'recycle-bin',
5 - }
3 + require 'bugabinga.health'.add_dependency {
4 + name_of_executable = 'recycle-bin',
5 + }
8 8 local map = require 'std.map'
10 10 map.normal {
11 - keys = '<leader>fn',
12 - category = 'files',
13 - description = 'Create new file',
14 - command = function () require 'genghis'.createNewFile() end,
11 + keys = '<leader>fn',
12 + category = 'files',
13 + description = 'Create new file',
14 + command = function () require 'genghis'.createNewFile() end,
17 17 map.visual {
18 - keys = '<leader>fx',
19 - category = 'files',
20 - description = 'Move selection to new file',
21 - command = function () require 'genghis'.moveSelectionToNewFile() end,
18 + keys = '<leader>fx',
19 + category = 'files',
20 + description = 'Move selection to new file',
21 + command = function () require 'genghis'.moveSelectionToNewFile() end,
24 24 map.normal {
25 - keys = '<leader>fy',
26 - category = 'files',
27 - description = 'Yank file name',
28 - command = function () require 'genghis'.copyFilename() end,
25 + keys = '<leader>fy',
26 + category = 'files',
27 + description = 'Yank file name',
28 + command = function () require 'genghis'.copyFilename() end,
31 31 map.normal {
32 - keys = '<leader>fY',
33 - category = 'files',
34 - description = 'Yank file path',
35 - command = function () require 'genghis'.copyFilepath() end,
32 + keys = '<leader>fY',
33 + category = 'files',
34 + description = 'Yank file path',
35 + command = function () require 'genghis'.copyFilepath() end,
38 38 map.normal {
39 - keys = '<leader>fc',
40 - category = 'files',
41 - description = 'Change file mode/permissions',
42 - command = function () require 'genghis'.chmodx() end,
39 + keys = '<leader>fc',
40 + category = 'files',
41 + description = 'Change file mode/permissions',
42 + command = function () require 'genghis'.chmodx() end,
45 45 map.normal {
46 - keys = '<leader>fr',
47 - category = 'files',
48 - description = 'Rename file',
49 - command = function () require 'genghis'.renameFile() end,
46 + keys = '<leader>fr',
47 + category = 'files',
48 + description = 'Rename file',
49 + command = function () require 'genghis'.renameFile() end,
52 52 map.normal {
53 - keys = '<leader>fm',
54 - category = 'files',
55 - description = 'Move file',
56 - command = function () require 'genghis'.moveAndRenameFile() end,
53 + keys = '<leader>fm',
54 + category = 'files',
55 + description = 'Move file',
56 + command = function () require 'genghis'.moveAndRenameFile() end,
59 59 map.normal {
60 - keys = '<leader>fM',
61 - category = 'files',
62 - description = 'Move file to current working directory',
63 - command = function () require 'genghis'.moveToFolderInCwd() end,
60 + keys = '<leader>fM',
61 + category = 'files',
62 + description = 'Move file to current working directory',
63 + command = function () require 'genghis'.moveToFolderInCwd() end,
66 66 map.normal {
67 - keys = '<leader>ff',
68 - category = 'files',
69 - description = 'Duplicate file',
70 - command = function () require 'genghis'.duplicateFile() end,
67 + keys = '<leader>ff',
68 + category = 'files',
69 + description = 'Duplicate file',
70 + command = function () require 'genghis'.duplicateFile() end,
73 73 map.normal {
74 - keys = '<leader>fd',
75 - category = 'files',
76 - description = 'Move file to system trash',
77 - command = function ()
78 - local opts = const.win32 and {
79 - trashCmd = 'recycle-bin',
80 - } or {}
74 + keys = '<leader>fd',
75 + category = 'files',
76 + description = 'Move file to system trash',
77 + command = function ()
78 + local opts = const.win32 and {
79 + trashCmd = 'recycle-bin',
80 + } or {}
82 - require 'genghis'.trashFile( opts )
83 - end,
82 + require 'genghis'.trashFile( opts )
83 + end,
86 86 return {
87 - 'chrisgrieser/nvim-genghis',
88 - cmd = {
89 - 'New',
90 - 'NewFromSelection',
91 - 'Duplicate',
92 - 'Rename',
93 - 'Move',
94 - 'MoveToFolderInCwd',
95 - 'Trash', -- this one does not work on windows, because we cannot configure the trashCmd...
96 - 'CopyFilename',
97 - 'CopyFilepath',
98 - 'CopyFilepathWithTilde',
99 - 'CopyRelativePath',
100 - 'CopyDirectoryPath',
101 - 'CopyRelativeDirectoryPath',
102 - 'Chmodx',
103 - },
104 - dependencies = {
105 - 'stevearc/dressing.nvim',
106 - },
87 + 'chrisgrieser/nvim-genghis',
88 + commit = 'ca258b1e466d131e17eacf0c632abe932bce20ab',
89 + cmd = {
90 + 'New',
91 + 'NewFromSelection',
92 + 'Duplicate',
93 + 'Rename',
94 + 'Move',
95 + 'MoveToFolderInCwd',
96 + 'Trash', -- this one does not work on windows, because we cannot configure the trashCmd...
97 + 'CopyFilename',
98 + 'CopyFilepath',
99 + 'CopyFilepathWithTilde',
100 + 'CopyRelativePath',
101 + 'CopyDirectoryPath',
102 + 'CopyRelativeDirectoryPath',
103 + 'Chmodx',
104 + },
105 + dependencies = {
106 + 'stevearc/dressing.nvim',
107 + },

neovim/lua/bugabinga/plugins/gomove.lua

Modified
3 3 local map = require 'std.map'
5 5 return {
7 7 'booperlv/nvim-gomove',
8 - keys = {
9 - { '<A-h>', nil, mode = { 'n', 'x', }, },
10 - { '<A-j>', nil, mode = { 'n', 'x', }, },
11 - { '<A-k>', nil, mode = { 'n', 'x', }, },
12 - { '<A-l>', nil, mode = { 'n', 'x', }, },
14 - { '<A-H>', nil, mode = { 'n', 'x', }, },
15 - { '<A-J>', nil, mode = { 'n', 'x', }, },
16 - { '<A-K>', nil, mode = { 'n', 'x', }, },
17 - { '<A-L>', nil, mode = { 'n', 'x', }, },
18 - },
8 + commit = '2b44ae7ac0804f4e3959228122f7c85bef1964e3',
9 + event = 'VeryLazy',
19 10 config = function ()
20 11 local move = require 'gomove'
31 22 -- default mappings in gomove set no options, but use old keymap api.
32 23 -- recreating old defaults here:
33 - local options = { remap = true, }
24 + local options = { remap = true }
35 26 -- i have tried using the lua functions directly for the commands below.
36 27 -- the behaviour was slightly buggy in respects to block selections though.

neovim/lua/bugabinga/plugins/heirline.lua

Modified
8 8 return {
10 10 'rebelot/heirline.nvim',
11 - version = '1.*',
11 + version = '2.*',
12 12 lazy = false,
13 13 dependencies = {
14 14 -- FIXME: use my own icons
224 + local escape_status = {
225 + condition = function ()
226 + local ok, _ = pcall( require, 'better_escape' )
227 + return ok
228 + end,
229 + provider = function ()
230 + local ok, _ = pcall( require, 'better_escape' )
231 + -- TODO: add to icons
232 + return ok and _.waiting and '󰂸' or ''
233 + end,
224 236 local lsp_active = {
225 237 condition = conditions.lsp_attached,
226 238 -- FIXME: updates from parent components do not seem to update children,
460 472 space,
462 474 space,
475 + escape_status,
476 + space,
463 477 lsp_active,
464 478 space,
465 479 file_encoding,

neovim/lua/bugabinga/plugins/last-place.lua

Modified
2 2 local ignored = require 'std.ignored'
4 4 return {
5 5 'ethanholz/nvim-lastplace',
6 + commit = '0bb6103c506315044872e0f84b1f736c4172bb20',
6 7 lazy = false,
7 8 opts = {
8 9 lastplace_ignore_buftype = ignored.buftypes,

neovim/lua/bugabinga/plugins/lint.lua

Modified
1 ---FIXME: own this
1 +-- FIXME: own this
2 2 return {
3 3 'mfussenegger/nvim-lint',
4 + commit = '968a35d54b3a4c1ce66609cf80b14d4ae44fe77f',
4 5 ft = {
5 6 'lua',
6 7 'sh',

neovim/lua/bugabinga/plugins/luasnip.lua

Modified
1 ---FIXME: own this
1 +-- FIXME: replace with vim.snippet
2 2 return {
3 3 'L3MON4D3/LuaSnip',
4 4 version = 'v2.*',

neovim/lua/bugabinga/plugins/mason.lua

Modified
1 1 return {
2 - "williamboman/mason.nvim",
2 + 'williamboman/mason.nvim',
3 + version = '1.*',
3 4 lazy = false,
4 5 opts = {
5 6 ui = {
6 7 border = vim.g.border_style,
7 8 icons = {
8 - package_installed = "✓",
9 - package_pending = "➜",
10 - package_uninstalled = "✗",
11 - }
12 - }
13 - }
9 + -- TODO: use my icons
10 + package_installed = '✓',
11 + package_pending = '➜',
12 + package_uninstalled = '✗',
13 + },
14 + },
15 + },

neovim/lua/bugabinga/plugins/mkdir.lua

Modified
1 -return { 'jghauser/mkdir.nvim', event = 'BufWritePre', }
1 +return {
2 + 'jghauser/mkdir.nvim',
3 + commit = 'c55d1dee4f099528a1853b28bb28caa802eba217',
4 + event = 'BufWritePre',
5 +}

neovim/lua/bugabinga/plugins/oil.lua

Modified
18 18 return {
19 19 'stevearc/oil.nvim',
20 20 lazy = false,
21 - cmd = { 'Oil', },
22 - dependencies = { 'nvim-tree/nvim-web-devicons', },
21 + version = '2.*',
22 + cmd = { 'Oil' },
23 + dependencies = { 'nvim-tree/nvim-web-devicons' },
23 24 opts = {
24 25 -- default_file_explorer = true,
25 26 -- Set to true to watch the filesystem for changes and reload oil
28 29 prompt_save_on_select_new_entry = false,
29 30 delete_to_trash = true,
31 - columns = { 'icon', },
32 + columns = { 'icon' },
32 33 win_options = {
33 34 cursorline = true,
45 46 local oil = require 'oil'
46 47 local config = require 'oil.config'
47 48 if #config.columns == 1 then
48 - oil.set_columns { 'icon', 'permissions', 'size', { 'mtime', format = '%d/%m/%y %T', }, }
49 + oil.set_columns { 'icon', 'permissions', 'size', { 'mtime', format = '%d/%m/%y %T' } }
49 50 else
50 - oil.set_columns { 'icon', }
51 + oil.set_columns { 'icon' }
52 53 end,

neovim/lua/bugabinga/plugins/specs.lua

Modified
13 13 category = 'fun',
14 14 keys = '<leader><leader><leader>',
15 15 command = function ()
16 - require 'specs'.show_specs { width = 69, delay_ms = 69, inc_ms = 42, }
16 + require 'specs'.show_specs { width = 69, delay_ms = 69, inc_ms = 42 }
17 17 end,
20 20 return {
21 21 'KevinSilvester/specs.nvim',
22 + commit = '8a108c8b37dec1b184a1d3d76c6cf867bfbe9636',
22 23 opts = function ()
23 24 return {
24 25 show_jumps = true,
25 26 min_jump = 30,
26 27 popup = {
27 28 delay_ms = 10, -- delay before popup displays
28 - inc_ms = 10, -- time increments used for fade/resize effects
29 - blend = 10, -- starting blend, between 0-100 (fully transparent), see :h winblend
29 + inc_ms = 10, -- time increments used for fade/resize effects
30 + blend = 10, -- starting blend, between 0-100 (fully transparent), see :h winblend
30 31 width = 10,
31 32 winhl = 'Cursor',
32 33 fader = require 'specs'.exp_fader,

neovim/lua/bugabinga/plugins/substitute.lua

Modified
4 4 local map = require 'std.map'
6 6 map.normal {
7 7 description = 'substitution motion',
8 8 category = 'editing',
9 9 keys = 's',
10 - command = function () require 'substitute'.operator() end,
10 + command = function () prequire 'substitute'.operator() end,
13 13 map.normal {
14 14 description = 'substitution of current line',
15 15 category = 'editing',
16 16 keys = 'ss',
17 - command = function () require 'substitute'.line() end,
17 + command = function () prequire 'substitute'.line() end,
20 20 map.normal {
21 21 description = 'substitution until end of line',
22 22 category = 'editing',
23 23 keys = 'S',
24 - command = function () require 'substitute'.eol() end,
24 + command = function () prequire 'substitute'.eol() end,
27 27 map.visual {
28 28 description = 'substitution motion (visual mode)',
29 29 category = 'editing',
30 30 keys = 's',
31 - command = function () require 'substitute'.visual() end,
31 + command = function () prequire 'substitute'.visual() end,
34 34 return {
35 35 'gbprod/substitute.nvim',
36 + version = '2.*',
36 37 opts = {},

neovim/lua/bugabinga/plugins/surround.lua

Modified
1 1 return {
2 - 'kylechui/nvim-surround',
3 - keys = {
4 - '<C-g>ms',
5 - '<C-g>mS',
2 + 'kylechui/nvim-surround',
3 + event = 'VeryLazy',
4 + version = '2.*',
5 + opts = {
6 + -- setting key maps for this plugin is pretty intricate.
7 + -- normally I would set them myself, but in this case not...
8 + keymaps = {
9 + insert = '<C-g>ms',
10 + insert_line = '<C-g>mS',
7 - 'ms',
8 - 'mss',
9 - 'mS',
10 - 'mSS',
12 + normal = 'ms',
13 + normal_cur = 'mss',
14 + normal_line = 'mS',
15 + normal_cur_line = 'mSS',
12 - 'ms',
13 - 'mS',
17 + visual = 'ms',
18 + visual_line = 'mS',
15 - 'md',
20 + delete = 'md',
17 - 'mr',
18 - 'mR',
19 - },
20 - opts = {
21 - -- setting key maps for this plugin is pretty intricate.
22 - -- normally I would set them myself, but in this case not...
23 - keymaps = {
24 - insert = '<C-g>ms',
25 - insert_line = '<C-g>mS',
27 - normal = 'ms',
28 - normal_cur = 'mss',
29 - normal_line = 'mS',
30 - normal_cur_line = 'mSS',
32 - visual = 'ms',
33 - visual_line = 'mS',
35 - delete = 'md',
37 - change = 'mr',
38 - change_line = 'mR',
39 - },
40 - surrounds = {
41 - ['R'] = {
42 - add = { "require '", "'", },
43 - find = "require%b''",
44 - --FIXME: find out how to craft these, those cannot be correct right now
45 - delete = "^(require')().-(')()$",
46 - change = {
47 - target = "^(require')().-('()$",
48 - },
49 - },
50 - ['P'] = {
51 - add = { 'vim.print(', ')', },
52 - find = 'vim%.print%b()',
53 - delete = '^(vim%.print%()().-(%))()$',
54 - change = {
55 - target = '^(vim%.print%()().-(%))()$',
56 - },
57 - },
58 - },
59 - },
60 - dependencies = {
61 - 'nvim-treesitter/nvim-treesitter',
62 - },
22 + change = 'mr',
23 + change_line = 'mR',
24 + },
25 + surrounds = {
26 + ['R'] = {
27 + add = { "require '", "'" },
28 + find = "require%b''",
29 + --FIXME: find out how to craft these, those cannot be correct right now
30 + delete = "^(require')().-(')()$",
31 + change = {
32 + target = "^(require')().-('()$",
33 + },
34 + },
35 + ['P'] = {
36 + add = { 'vim.print(', ')' },
37 + find = 'vim%.print%b()',
38 + delete = '^(vim%.print%()().-(%))()$',
39 + change = {
40 + target = '^(vim%.print%()().-(%))()$',
41 + },
42 + },
43 + },
44 + },
45 + dependencies = {
46 + 'nvim-treesitter/nvim-treesitter',
47 + },

neovim/lua/bugabinga/plugins/text-case.lua

Modified
1 --- FIXME: own this
2 1 return {
3 2 'johmsalas/text-case.nvim',
4 - dependencies = { 'nvim-telescope/telescope.nvim', },
5 - config = function ()
6 - require 'textcase'.setup {}
7 - require 'telescope'.load_extension 'textcase'
8 - end,
3 + version = '1.*',
9 4 keys = {
10 5 'ga', -- Default invocation prefix
11 - { 'gA', '<cmd>TextCaseOpenTelescope<CR>', mode = { 'n', 'x', }, desc = 'Change text case', },
12 - },
13 - cmd = {
14 - 'TextCaseOpenTelescope',
15 - 'TextCaseOpenTelescopeQuickChange',
16 - 'TextCaseOpenTelescopeLSPChange',
17 - 'TextCaseStartReplacingCommand',
7 + opts = {},

neovim/lua/bugabinga/plugins/treesitter.lua

Modified
15 15 dependencies = {
16 16 -- FIXME: move nvim-treesitter modules out into normal config to prepare for main branch
17 - 'nvim-treesitter/nvim-treesitter-textobjects',
18 - 'windwp/nvim-ts-autotag',
19 17 'RRethy/nvim-treesitter-endwise',
20 18 'nushell/tree-sitter-nu',
26 24 install.prefer_git = false
27 25 install.compilers = { 'zig cc', 'clang', 'gcc', 'cl', 'cc', vim.fn.getenv 'CC' }
29 - local should_disable = function ( _, bufnr )
30 - local max_filesize = 5 * 1024 * 1024 --MiB
31 - ---@diagnostic disable-next-line: undefined-field
32 - local ok, stats = pcall( vim.loop.fs_stat, vim.api.nvim_buf_get_name( bufnr or 0 ) )
33 - if ok and stats and stats.size > max_filesize then
34 - return true
35 - end
36 - return false
37 - end
39 27 ---@diagnostic disable-next-line: missing-fields
40 28 configs.setup {
41 29 sync_install = false,
42 30 ignore_install = { 'oil' },
43 31 auto_install = true,
45 - autotag = { enable = true, disable = should_disable },
46 - endwise = { enable = true, disable = should_disable },
33 + endwise = { enable = true },
48 35 highlight = {
49 36 enable = true,
50 - disable = should_disable,
51 37 additional_vim_regex_highlighting = false,
54 - incremental_selection = {
55 - enable = true,
56 - disable = should_disable,
57 - keymaps = {
58 - -- FIXME: not too happy with these binds. but i dont feel better ones right now.
59 - init_selection = '<up>',
60 - node_incremental = '<up>',
61 - node_decremental = '<down>',
62 - scope_incremental = '<right>',
63 - },
64 - },
66 - indent = { enable = true, disable = should_disable },
68 - textobjects = {
69 - select = {
70 - enable = true,
71 - disable = should_disable,
72 - lookahead = true,
73 - keymaps = {
74 - ['af'] = { query = '@call.outer', desc = 'outer function call' },
75 - ['if'] = { query = '@call.inner', desc = 'inner function call' },
77 - ['am'] = { query = '@function.outer', desc = 'outer function definition' },
78 - ['im'] = { query = '@function.inner', desc = 'inner function definition' },
80 - ['ai'] = { query = '@conditional.outer', desc = 'outer conditional' },
81 - ['ii'] = { query = '@conditional.inner', desc = 'inner conditional' },
83 - ['aa'] = { query = '@parameter.outer', desc = 'outer parameter' },
84 - ['ia'] = { query = '@parameter.inner', desc = 'inner parameter' },
86 - ['ac'] = { query = '@comment.outer', desc = 'outer comment' },
87 - ['ic'] = { query = '@comment.inner', desc = 'inner comment' },
88 - },
89 - selection_modes = {
90 - ['@parameter.outer'] = 'v',
91 - ['@function.outer'] = 'v',
92 - ['@class.outer'] = '<c-v>',
93 - ['@scope'] = 'V',
94 - },
95 - include_surroundig_whitespace = true,
96 - },
98 - move = {
99 - enable = true,
100 - disable = should_disable,
101 - set_jumps = true,
102 - goto_next = {
103 - [']m'] = { query = '@function.outer', desc = 'Goto next function definition' },
104 - },
105 - goto_previous = {
106 - ['[m'] = { query = '@function.outer', desc = 'Goto previous function definition' },
107 - },
108 - },
109 - },
40 + indent = { enable = true },

neovim/lua/bugabinga/plugins/treesj.lua

Modified
3 3 local map = require 'std.map'
5 5 map.normal {
6 6 description = 'Toggle Tree Join/Split',
7 7 category = 'editing',
8 - -- WARN: <C-j> produces the same key code as <C-enter> on some terminals
9 - keys = '<C-j>',
8 + keys = '<leader>j',
10 9 command = function ()
11 - require 'treesj'.toggle()
10 + prequire 'treesj'.toggle { split = { recursive = true } }
11 + end,
14 +map.normal {
15 + description = 'Join Tree',
16 + category = 'editing',
17 + keys = '<leader>jj',
18 + command = function ()
19 + prequire 'treesj'.join()
20 + end,
23 +map.normal {
24 + description = 'Split Tree',
25 + category = 'editing',
26 + keys = '<leader>js',
27 + command = function ()
28 + prequire 'treesj'.split()
12 29 end,
15 32 return {
16 33 'Wansmer/treesj',
17 - dependencies = { 'nvim-treesitter/nvim-treesitter', },
34 + dependencies = { 'nvim-treesitter/nvim-treesitter' },
18 35 opts = {
19 36 use_default_keymaps = false,
20 - ---@type number If line after join will be longer than max value, node will not be formatted
21 - max_join_length = vim.opt.textwidth:get(),
37 + max_join_length = 360,

neovim/lua/bugabinga/plugins/venn.lua

Deleted
deleted file mode 100644
1 -local map = require 'std.map'
3 -map.visual {
4 - description = 'Enable box drawing mode',
5 - category = 'draw',
6 - keys = '<leader>b',
7 - command = function () vim.cmd.VBox() end,
8 -}
10 -return {
11 - 'jbyuki/venn.nvim',
12 - cmd = 'VBox',
13 -}

neovim/lua/bugabinga/plugins/whichkey.lua

Modified
1 1 local ignored = require 'std.ignored'
2 2 local icon = require 'std.icon'
3 +local map = require 'std.map'
4 +local dbg = require 'std.dbg'
6 +map.normal {
7 + description = 'Show key maps',
8 + category = 'help',
9 + keys = '<leader>?',
10 + command = function ()
11 + prequire 'which-key'.show { global = false }
12 + end,
4 15 return {
5 16 'folke/which-key.nvim',
6 - version = '1.*',
17 + version = '3.*',
7 18 event = 'VeryLazy',
8 - init = function ()
9 - vim.o.timeout = true
10 - vim.o.timeoutlen = 250
11 - end,
12 19 opts = {
13 - key_labels = {
14 - ['<space>'] = icon.space_key,
15 - ['<cr>'] = icon.return_key,
16 - ['<tab>'] = icon.tab_key,
17 - ['<esc>'] = icon.esc_key,
18 - ['<bs>'] = icon.backspace_key,
19 - ['<leader>'] = icon.leader_key,
20 - },
21 20 icons = {
22 21 group = icon.group,
22 + keys = {
23 + CR = icon.return_key,
24 + Esc = icon.esc_key,
25 + Space = icon.space_key,
26 + Tab = icon.tab_key,
27 + },
24 - window = {
29 + win = {
25 30 border = vim.g.border_style,
26 - winblend = vim.o.winblend,
31 + wo = {
32 + winblend = vim.o.winblend,
33 + },
28 - layout = { align = 'center', },
29 35 disable = {
30 - buftypes = ignored.buftypes,
36 + bt = ignored.buftypes,
37 + ft = ignored.filetypes,
38 + },
39 + debug = dbg.get(),
40 + spec = {
41 + { '<leader> ', group = 'fun' },
42 + { '<leader>b', group = '|b|uffer' },
43 + { '<leader>f', group = '|f|iles' },
44 + { '<leader>j', group = '|j|oin' },
45 + { '<leader>l', group = '|l|sp' },
46 + { '<leader>lc', group = '|c|alls' },
47 + { '<leader>t', group = '|t|oggle' },
48 + { '<leader>v', group = '|v|ersion control' },
49 + { '<leader>z', group = 'la|z|y' },
33 - config = function ( _, opts )
34 - local wk = require 'which-key'
35 - wk.setup( opts )
37 - -- TODO: how can my own map api be used to generate the following wk prefixes?
38 - -- map should not depend on wk.
39 - -- can map cache mappings to read here?
40 - -- use category as prefix?
41 - wk.register {
42 - ['<leader>'] = {
43 - ['7'] = { name = 'tests', _ = 'which_key_ignore', },
44 - m = { name = '|m|ark', _ = 'which_key_ignore', },
45 - b = { name = '|b|uffer', _ = 'which_key_ignore', },
46 - h = { name = '|h|unk', _ = 'which_key_ignore', },
47 - f = { name = '|f|iles', _ = 'which_key_ignore', },
48 - g = { name = '|g|enerate', _ = 'which_key_ignore', },
49 - d = { name = '|d|ebug', _ = 'which_key_ignore', },
50 - v = { name = '|v|ersion control', _ = 'which_key_ignore', },
51 - r = { name = '|r|efactor', _ = 'which_key_ignore', },
52 - t = { name = '|t|oggle', _ = 'which_key_ignore', },
53 - w = { name = 's|w|ap', _ = 'which_key_ignore', },
54 - z = { name = 'la|z|y', _ = 'which_key_ignore', },
55 - [' '] = { name = 'fun', _ = 'which_key_ignore', },
56 - {
57 - p = { name = '|p|arameter', _ = 'which_key_ignore', },
58 - },
59 - l = { name = '|l|sp', _ = 'which_key_ignore',
60 - c = { name = '|c|alls', _ = 'which_key_ignore', },
61 - },
62 - },
63 - }
64 - end,

neovim/lua/bugabinga/plugins/window.lua

Deleted
deleted file mode 100644
1 -local map = require 'std.map'
2 -local user_command = require 'std.user_command'
4 -map.normal {
5 - description = 'Open window picker...',
6 - category = 'navigation',
7 - keys = '<c-w>a',
8 - command = function () prequire 'nvim-window'.pick() end,
9 -}
11 -user_command.PickWindow
12 -'Pick a window with a simple char motion' (
13 - function () prequire 'nvim-window'.pick() end
14 - )
16 -return {
17 - 'yorickpeterse/nvim-window',
18 - opts = {
19 - -- from wezterm for easy qwerty motions
20 - chars = { 'a', 's', 'd', 'f', 'q', 'w', 'e', 'r', 'z', 'x', 'c', 'v', 'j', 'k', 'l', 'm', 'i', 'u', 'o', 'p', 'g', 'h', 't', 'y', 'b', 'n', },
21 - border = vim.g.border_style,
22 - normal_hl = 'NormalFloat',
23 - hint_hl = 'Special',
24 - },
25 -}

neovim/lua/bugabinga/plugins/zen.lua

Modified
10 10 return {
11 11 'folke/zen-mode.nvim',
12 + version = '1.*',
12 13 cmd = 'ZenMode',
13 - dependencies = { { 'folke/twilight.nvim', opts = { dimming = { inactive = false, }, }, }, },
14 14 opts = {
15 - plugins = { wezterm = { enabled = true, font = '+2', }, },
15 + plugins = { wezterm = { enabled = true, font = '+2' } },
16 16 window = {
17 17 width = 0.69,
18 18 backdrop = 0.42,

neovim/spell/nerd.utf-8.add

Modified
95 95 difftastic
96 96 weechat
97 97 tarsnap
98 +mux

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

Modified

Previous version contains binary or non-UTF-8 data.

Current version contains binary or non-UTF-8 data.

nushell/login.nu

Modified
9 9 use dwnld.nu
10 10 use packages.nu
11 11 use fedora_bootstrip.nu
12 +use notes.nu
13 14 if $env.WIN32 {
14 15 use refreshenv.nu *

topgrade/topgrade.linux.toml

Modified
10 10 self_update = false
12 12 [git]
13 -repos = ["/home/oli/Source/*", "/home/oli/Notes"]
13 +repos = [
14 + "/home/oli/Source/*",
15 + "/home/oli/Notes"
14 17 arguments = "--ff --rebase"
15 18 max_concurrency = 12
16 19 pull_predefined = false

wezterm/bugabinga/code_fonts

Deleted
deleted file mode 100644
1 -Anonymous Pro
2 -Anonymous Pro Minus
3 -Aurulent Sans Mono
4 -AverageMono
5 -BPmono
6 -BigBlue TerminalPlus
7 -Bitstream Vera Sans Mono
8 -Bront
9 -CMU Typewriter Text
10 -CPMono_v07
11 -CamingoCode
12 -Cascadia Code
13 -Code New Roman
14 -CodingFontTobi
15 -Consola Mono
16 -Courier Prime Code
17 -Cousine
18 -Crisp
19 -Cutive Mono
20 -D2Coding
21 -DejaVu Sans Mono
22 -Dina ttf 10px
23 -Droid Sans Mono
24 -Edlo
25 -Envy Code R
26 -Fantasque Sans Mono
27 -Fira Code
28 -Fira Mono
29 -Fixedsys Excelsior 3.01
30 -FreeMono
31 -Geist Mono
32 -Generic Mono II
33 -GohuFont
34 -Hack
35 -Hasklig
36 -Hermit
37 -# IBM Plex Math
38 -IBM Plex Mono
39 -# IBM Plex Sans
40 -# IBM Plex Sans Condensed
41 -# IBM Plex Serif
42 -Inconsolata
43 -Inconsolata LGC
44 -Inconsolata-dz
45 -Inconsolata-g
46 -Intel One Mono
47 -Iosevka
48 -Iosevka Slab
49 -JetBrains Mono
50 -JetBrains Mono NL
51 -Kawkab Mono
52 -Latin Modern Mono Light
53 -Lekton
54 -Liberation Mono
55 -Lilex
56 -Linux Libertine Mono
57 -Luculent
58 -Luxi Mono
59 -M+ 1m
60 -M+ 1mn
61 -M+ 2m
62 -Martian Mono
63 -Mensch
64 -Meslo LG M DZ
65 -Metrickal
66 -Monaspace Argon Var
67 -Monaspace Krypton Var
68 -Monaspace Neon Var
69 -Monaspace Radon Var
70 -Monaspace Xenon Var
71 -MonoSpatial
72 -Monoid
73 -Monospace
74 -MonospaceTypewriter
75 -MonteCarlo Fixed 12
76 -NanumGothic_Coding
77 -Nimbus Mono
78 -NotCourierSans
79 -Office Code Pro
80 -Office Code Pro D
81 -Oxygen Mono
82 -PT Mono
83 -Panic Sans
84 -PixelCarnageMonoTT
85 -Pointfree
86 -ProFontWindows
87 -ProggyCleanTT
88 -ProggyCleanTTSZ
89 -ProggySmallTT
90 -ProggySquareTT
91 -ProggySquareTTSZ
92 -ProggyTinyTT
93 -ProggyTinyTTSZ
94 -Rec Mono Casual
95 -Rec Mono Linear
96 -Roboto Mono
97 -SV Basic Manual
98 -Share Tech Mono
99 -Share-TechMonoTrue
100 -SmallTypeWriting
101 -Source Code Pro
102 -Sudo
103 -Symbols Nerd Font
104 -Symbols Nerd Font Mono
105 -TeX Gyre Cursor
106 -Terminus
107 -Ubuntu Mono
108 -Verily Serif Mono
109 -Victor Mono
110 -Whois
111 -agave
112 -iA Writer Mono V
113 -monoOne
114 -monofur
115 -mononoki
116 -saxMono

wezterm/bugabinga/code_fonts.csv

Modified
57 57 1, M+ 2m
58 58 1, Martian Mono
59 59 1, Mensch
60 - 1, Meslo LG M DZ
60 + 0, Meslo LG M DZ
61 61 1, Metrickal
62 62 1, Monaspace Argon Var
63 63 1, Monaspace Krypton Var
75 75 1, Oxygen Mono
76 76 1, PT Mono
77 77 1, Panic Sans
78 - 1, PixelCarnageMonoTT
78 + 0, PixelCarnageMonoTT
79 79 1, Pointfree
80 80 1, ProFontWindows
81 81 1, ProggyCleanTT

wezterm/bugabinga/key_binds.lua

Modified
1 1 local wez = require 'wezterm'
3 +local custom_action = function ( _ )
4 + local id = 'custom-action-' .. tostring( wez.time.now() )
5 + wez.on( id, _ )
6 + return wez.action.EmitEvent( id )
7 +end
3 9 local leader = { key = 'VoidSymbol', }
4 10 if wez.target_triple:find 'windows' then
5 11 leader = { key = 'raw:255', }
154 160 mods = 'LEADER',
155 161 action = wez.action.QuitApplication,
164 + key = 'm',
165 + mods = 'LEADER',
166 + action = custom_action( function ( window, pane )
167 + local unix_domain = 'unix'
168 + wez.log_info( 'Current pane domain name: ', pane:get_domain_name() )
169 + if pane:get_domain_name() == unix_domain then
170 + wez.log_info( 'Detaching from: ', unix_domain )
171 + window:perform_action( wez.action.DetachDomain { DomainName = unix_domain, }, pane )
172 + else
173 + wez.log_info( 'Switching to: ', unix_domain )
174 + window:perform_action( wez.action.AttachDomain( unix_domain ), pane )
175 + end
176 + end ),
177 + },
158 180 -- Navigate Tabs by LEADER+n
159 181 for i = 1, 8 do
160 182 -- CTRL+ALT + number to activate that tab

wezterm/bugabinga/mouse_binds.lua

Modified
3 3 local wez = require 'wezterm'
5 5 local bindings = {
7 7 event = { Down = { streak = 3, button = 'Left', }, },
8 + -- FIXME: this needs integration in nushel
8 9 action = wez.action.SelectTextAtMouseCursor 'SemanticZone',
9 10 mods = 'NONE',

wezterm/bugabinga/options.lua

Modified
1 1 local wez = require 'wezterm'
3 -return function(cfg)
4 - cfg.default_cwd = wez.home_dir
5 - cfg.inactive_pane_hsb = {
6 - saturation = 0.42,
7 - brightness = 0.69,
8 - }
9 - cfg.default_cursor_style = 'SteadyBlock'
10 - cfg.check_for_updates = false
11 - cfg.audible_bell = 'Disabled'
12 - cfg.visual_bell = {
13 - fade_in_duration_ms = 69,
14 - fade_out_duration_ms = 69,
15 - target = 'CursorColor',
16 - }
17 - cfg.cursor_blink_rate = 0
18 - cfg.front_end = 'WebGpu'
19 - cfg.max_fps = 144
20 - cfg.unzoom_on_switch_pane = true
21 - cfg.scrollback_lines = 16777216
3 +return function ( cfg )
4 + cfg.default_cwd = wez.home_dir
5 + cfg.inactive_pane_hsb = {
6 + saturation = 0.42,
7 + brightness = 0.69,
8 + }
9 + cfg.default_cursor_style = 'SteadyBlock'
10 + cfg.check_for_updates = false
11 + cfg.audible_bell = 'Disabled'
12 + cfg.visual_bell = {
13 + fade_in_duration_ms = 69,
14 + fade_out_duration_ms = 69,
15 + target = 'CursorColor',
16 + }
17 + cfg.cursor_blink_rate = 0
18 + cfg.front_end = 'WebGpu'
19 + cfg.max_fps = 144
20 + cfg.unzoom_on_switch_pane = true
21 + cfg.scrollback_lines = 16777216
22 + cfg.unix_domains = {
23 + {
24 + name = 'unix',
25 + no_serve_automatically = true, -- managed via systemd
26 + -- multiplexing = "WezTerm",
27 + local_echo_threshold_ms = 10,
28 + },
29 + }

wezterm/bugabinga/status.lua

Modified
36 36 { Text = table.concat( fonts, ', ' ), },
37 37 'ResetAttributes',
39 + local pane_domain = pane:get_domain_name()
40 41 local status = { '', }
41 42 if leader then
47 48 if zoomed_state then
48 49 table.insert( status, zoomed_state )
50 - if current_workspace then
51 - table.insert( status, current_workspace )
52 - end
53 - if font then
54 - table.insert( status, font )
55 - end
52 + local context = wez.format {
53 + { Text = current_workspace, },
54 + { Text = '@', },
55 + { Attribute = { Intensity = 'Bold', }, },
56 + { Text = pane_domain, },
57 + 'ResetAttributes',
58 + }
59 + table.insert( status, context )
61 + table.insert( status, font )
57 63 window:set_right_status( table.concat( status, DELIMITER ) )
58 64 --TODO: shirley, something useful can be done here
66 72 cfg.use_fancy_tab_bar = false
67 73 cfg.tab_max_width = 42
68 74 cfg.tab_bar_at_bottom = true
70 -

wezterm/wezterm.service

Modified
1 1 [Unit]
2 2 Description=Wezterm Multiplexing Server
3 -After=gnome-session.target
5 4 [Service]
6 5 ExecStart=/usr/bin/wezterm-mux-server
7 6 Restart=on-failure
9 8 [Install]
10 -WantedBy=gnome-session.target
9 +WantedBy=default.target