dotfiles
bugabingas dorkfiles
owned by bugabinga
sync
d005bf5463bfd345640d6ffcbcaeb87b1e47bf6c
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (42)
49 +wezterm/wezterm.service
50 +~/.config/systemd/user/wezterm.service
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
= ' ' 15 - description =
'Insert newline under cursor',
16 - category =
'editing',
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 )
28 - description =
'Insert newline above cursor',
29 - category =
'editing',
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 )
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',
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 112 - (const.win32
or const.wsl2)
and {
'cmd.exe',
'/C',
'start',
'msedge', file_under_cursor, }
113 - or {
'firefox', file_under_cursor, },
84 + (const.win32
or const.wsl2)
and {
'cmd.exe',
'/C',
'start',
'msedge', file_under_cursor }
85 + or {
'firefox', file_under_cursor },
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' 5 5 'windwp/nvim-autopairs',
6 + commit =
'f158dcb865c36f72c92358f87787dab2c272eaf3',
6 7 event =
'InsertEnter',
8 9 disable_filetype = ignored.filetypes,
neovim/lua/bugabinga/plugins/better-escape.lua
Modified2 2 'max397574/better-escape.nvim',
3 4 event =
'InsertEnter',
neovim/lua/bugabinga/plugins/bracketed.lua
Modified2 2 'echasnovski/mini.bracketed',
neovim/lua/bugabinga/plugins/bufremove.lua
Modified 1 +local map
= require 'std.map' 4 + description =
'Delete Buffer',
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' )
14 + elseif choice
== 2 then 15 + delete_buffer(
0,
true )
24 + description =
'Delete Buffer (Force)',
25 + category =
'buffer',
26 + keys =
'<leader>bD',
27 + command =
function ()
require 'mini.bufremove'.delete(
0,
true )
end,
3 31 'echasnovski/mini.bufremove',
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' )
15 - elseif choice
== 2 then 22 - desc =
'Delete Buffer',
25 - {
'<leader>bD',
function ()
require 'mini.bufremove' .delete(
0,
true )
end,
desc =
'Delete Buffer (Force)', },
neovim/lua/bugabinga/plugins/cmp.lua
Modified 1 1 local icon
= require 'std.icon' 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
= {}
95 - {
name =
'nvim_lua', },
96 - {
name =
'nvim_lsp', },
98 - {
name =
'luasnip', },
95 + {
name =
'nvim_lua' },
96 + {
name =
'nvim_lsp' },
98 + {
name =
'luasnip' },
101 101 keyword_length =
4,
119 119 formatting
= formatting,
120 120 sources
= sources,
122 - completion
= {
autocomplete =
false, },
122 + completion
= {
autocomplete =
false },
124 124 expand =
function ( args ) luasnip.lsp_expand( args.body )
end,
neovim/lua/bugabinga/plugins/colorizer.lua
Modified 3 - 'JosefLitos/colorizer.nvim',
3 + 'litoj/colorizer.nvim',
4 + commit =
'c1602ff3f11566bb7f16f90985b0c59d3d7db0ef',
6 - filetypes = {
'*', },
7 8 user_default_options = {
17 18 mode
= 'virtualtext',
20 - sass
= {
enable =
false,
parsers = {
'css', }, },
21 + sass
= {
enable =
false,
parsers = {
'css' } },
21 22 virtualtext
= '██',
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 )
23 23 'stevearc/conform.nvim',
24 - cmd = {
'ConformInfo', },
25 + cmd = {
'ConformInfo' },
26 27 formatters_by_ft = {
28 - markdown = {
'mdslw', },
29 + markdown = {
'mdslw' },
30 - toml = {
'taplo', },
34 - zig = {
'zigfmt', },
36 - [
'*'] = {
'injected',
'typos', },
37 + [
'*'] = {
'injected',
'typos' },
39 - [
'_'] = {
'trim_whitespace',
'trim_newlines', },
40 + [
'_'] = {
'trim_whitespace',
'trim_newlines' },
neovim/lua/bugabinga/plugins/diffview.lua
Modified11 11 'sindrets/diffview.nvim',
12 - cmd = {
'DiffviewOpen', },
12 + commit =
'4516612fe98ff56ae0415a259ff6361a89419b0a',
13 + cmd = {
'DiffviewOpen' },
neovim/lua/bugabinga/plugins/flash.lua
Modified 1 1 local map
= require 'std.map' 3 3 map.normal.visual.operator_pending {
5 - category =
'navigation',
6 4 description =
'Jump to occurence of next chars quickly',
5 + category =
'navigation',
7 7 command =
function () prequire
'flash'.jump()
end,
10 10 map.normal.visual.operator_pending {
12 - category =
'navigation',
13 11 description =
'Jump to occurence of next treesitter node quickly',
12 + category =
'navigation',
14 14 command =
function () prequire
'flash'.treesitter()
end,
18 + description =
'Toggle Flash Search',
19 + category =
'navigation',
21 + command =
function ()
require 'flash'.toggle()
end,
22 25 'folke/flash.nvim',
neovim/lua/bugabinga/plugins/genghis.lua
Modified 1 1 local const
= require 'bugabinga.const' 3 - require 'bugabinga.health'.add_dependency {
4 - name_of_executable =
'recycle-bin',
3 + require 'bugabinga.health'.add_dependency {
4 + name_of_executable =
'recycle-bin',
8 8 local map
= require 'std.map' 11 - keys =
'<leader>fn',
13 - description =
'Create new file',
14 - command =
function ()
require 'genghis'.createNewFile()
end,
11 + keys =
'<leader>fn',
13 + description =
'Create new file',
14 + command =
function ()
require 'genghis'.createNewFile()
end,
18 - keys =
'<leader>fx',
20 - description =
'Move selection to new file',
21 - command =
function ()
require 'genghis'.moveSelectionToNewFile()
end,
18 + keys =
'<leader>fx',
20 + description =
'Move selection to new file',
21 + command =
function ()
require 'genghis'.moveSelectionToNewFile()
end,
25 - keys =
'<leader>fy',
27 - description =
'Yank file name',
28 - command =
function ()
require 'genghis'.copyFilename()
end,
25 + keys =
'<leader>fy',
27 + description =
'Yank file name',
28 + command =
function ()
require 'genghis'.copyFilename()
end,
32 - keys =
'<leader>fY',
34 - description =
'Yank file path',
35 - command =
function ()
require 'genghis'.copyFilepath()
end,
32 + keys =
'<leader>fY',
34 + description =
'Yank file path',
35 + command =
function ()
require 'genghis'.copyFilepath()
end,
39 - keys =
'<leader>fc',
41 - description =
'Change file mode/permissions',
42 - command =
function ()
require 'genghis'.chmodx()
end,
39 + keys =
'<leader>fc',
41 + description =
'Change file mode/permissions',
42 + command =
function ()
require 'genghis'.chmodx()
end,
46 - keys =
'<leader>fr',
48 - description =
'Rename file',
49 - command =
function ()
require 'genghis'.renameFile()
end,
46 + keys =
'<leader>fr',
48 + description =
'Rename file',
49 + command =
function ()
require 'genghis'.renameFile()
end,
53 - keys =
'<leader>fm',
55 - description =
'Move file',
56 - command =
function ()
require 'genghis'.moveAndRenameFile()
end,
53 + keys =
'<leader>fm',
55 + description =
'Move file',
56 + command =
function ()
require 'genghis'.moveAndRenameFile()
end,
60 - keys =
'<leader>fM',
62 - description =
'Move file to current working directory',
63 - command =
function ()
require 'genghis'.moveToFolderInCwd()
end,
60 + keys =
'<leader>fM',
62 + description =
'Move file to current working directory',
63 + command =
function ()
require 'genghis'.moveToFolderInCwd()
end,
67 - keys =
'<leader>ff',
69 - description =
'Duplicate file',
70 - command =
function ()
require 'genghis'.duplicateFile()
end,
67 + keys =
'<leader>ff',
69 + description =
'Duplicate file',
70 + command =
function ()
require 'genghis'.duplicateFile()
end,
74 - keys =
'<leader>fd',
76 - description =
'Move file to system trash',
77 - command =
function ()
78 - local opts
= const.win32
and {
79 - trashCmd =
'recycle-bin',
74 + keys =
'<leader>fd',
76 + description =
'Move file to system trash',
77 + command =
function ()
78 + local opts
= const.win32
and {
79 + trashCmd =
'recycle-bin',
82 - require 'genghis'.trashFile( opts )
82 + require 'genghis'.trashFile( opts )
87 - 'chrisgrieser/nvim-genghis',
94 - 'MoveToFolderInCwd',
98 - 'CopyFilepathWithTilde',
100 - 'CopyDirectoryPath',
101 - 'CopyRelativeDirectoryPath',
105 - 'stevearc/dressing.nvim',
87 + 'chrisgrieser/nvim-genghis',
88 + commit =
'ca258b1e466d131e17eacf0c632abe932bce20ab',
95 + 'MoveToFolderInCwd',
99 + 'CopyFilepathWithTilde',
100 + 'CopyRelativePath',
101 + 'CopyDirectoryPath',
102 + 'CopyRelativeDirectoryPath',
106 + 'stevearc/dressing.nvim',
neovim/lua/bugabinga/plugins/gomove.lua
Modified 3 3 local map
= require 'std.map' 7 7 'booperlv/nvim-gomove',
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', }, },
8 + commit =
'2b44ae7ac0804f4e3959228122f7c85bef1964e3',
19 10 config =
function ()
20 11 local move
= require 'gomove' 33 - local options
= {
remap =
true, }
24 + local options
= {
remap =
true }
neovim/lua/bugabinga/plugins/heirline.lua
Modified 10 10 'rebelot/heirline.nvim',
224 + local escape_status
= {
225 + condition =
function ()
226 + local ok, _
= pcall(
require,
'better_escape' )
229 + provider =
function ()
230 + local ok, _
= pcall(
require,
'better_escape' )
232 + return ok
and _.waiting
and '' or '' 224 236 local lsp_active
= {
225 237 condition = conditions.lsp_attached,
neovim/lua/bugabinga/plugins/last-place.lua
Modified 2 2 local ignored
= require 'std.ignored' 5 5 'ethanholz/nvim-lastplace',
6 + commit =
'0bb6103c506315044872e0f84b1f736c4172bb20',
8 9 lastplace_ignore_buftype = ignored.buftypes,
neovim/lua/bugabinga/plugins/lint.lua
Modified 3 3 'mfussenegger/nvim-lint',
4 + commit =
'968a35d54b3a4c1ce66609cf80b14d4ae44fe77f',
neovim/lua/bugabinga/plugins/luasnip.lua
Modifiedneovim/lua/bugabinga/plugins/mason.lua
Modified 2 - "williamboman/mason.nvim",
2 + 'williamboman/mason.nvim',
6 7 border = vim.g.border_style,
8 - package_installed =
"✓",
9 - package_pending =
"➜",
10 - package_uninstalled =
"✗",
10 + package_installed =
'✓',
11 + package_pending =
'➜',
12 + package_uninstalled =
'✗',
neovim/lua/bugabinga/plugins/mkdir.lua
Modified1 -return {
'jghauser/mkdir.nvim',
event =
'BufWritePre', }
2 + 'jghauser/mkdir.nvim',
3 + commit =
'c55d1dee4f099528a1853b28bb28caa802eba217',
4 + event =
'BufWritePre',
neovim/lua/bugabinga/plugins/oil.lua
Modified19 19 'stevearc/oil.nvim',
22 - dependencies = {
'nvim-tree/nvim-web-devicons', },
23 + dependencies = {
'nvim-tree/nvim-web-devicons' },
28 29 prompt_save_on_select_new_entry
= false,
29 30 delete_to_trash
= true,
31 - columns
= {
'icon', },
32 + columns
= {
'icon' },
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' } }
50 - oil.set_columns {
'icon', }
51 + oil.set_columns {
'icon' }
neovim/lua/bugabinga/plugins/specs.lua
Modified14 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 }
21 21 'KevinSilvester/specs.nvim',
22 + commit =
'8a108c8b37dec1b184a1d3d76c6cf867bfbe9636',
32 33 fader =
require 'specs'.exp_fader,
neovim/lua/bugabinga/plugins/substitute.lua
Modified 4 4 local map
= require 'std.map' 7 7 description =
'substitution motion',
8 8 category =
'editing',
10 - command =
function ()
require 'substitute'.operator()
end,
10 + command =
function () prequire
'substitute'.operator()
end,
14 14 description =
'substitution of current line',
15 15 category =
'editing',
17 - command =
function ()
require 'substitute'.line()
end,
17 + command =
function () prequire
'substitute'.line()
end,
21 21 description =
'substitution until end of line',
22 22 category =
'editing',
24 - command =
function ()
require 'substitute'.eol()
end,
24 + command =
function () prequire
'substitute'.eol()
end,
28 28 description =
'substitution motion (visual mode)',
29 29 category =
'editing',
31 - command =
function ()
require 'substitute'.visual()
end,
31 + command =
function () prequire
'substitute'.visual()
end,
35 35 'gbprod/substitute.nvim',
neovim/lua/bugabinga/plugins/surround.lua
Modified 2 - 'kylechui/nvim-surround',
2 + 'kylechui/nvim-surround',
10 + insert_line =
'<C-g>mS',
15 + normal_cur_line =
'mSS',
25 - insert_line =
'<C-g>mS',
30 - normal_cur_line =
'mSS',
42 - add = {
"require '",
"'", },
43 - find =
"require%b''",
45 - delete =
"^(require')().-(')()$",
47 - target =
"^(require')().-('()$",
51 - add = {
'vim.print(',
')', },
52 - find =
'vim%.print%b()',
53 - delete =
'^(vim%.print%()().-(%))()$',
55 - target =
'^(vim%.print%()().-(%))()$',
61 - 'nvim-treesitter/nvim-treesitter',
27 + add = {
"require '",
"'" },
28 + find =
"require%b''",
30 + delete =
"^(require')().-(')()$",
32 + target =
"^(require')().-('()$",
36 + add = {
'vim.print(',
')' },
37 + find =
'vim%.print%b()',
38 + delete =
'^(vim%.print%()().-(%))()$',
40 + target =
'^(vim%.print%()().-(%))()$',
46 + 'nvim-treesitter/nvim-treesitter',
neovim/lua/bugabinga/plugins/text-case.lua
Modified 3 2 'johmsalas/text-case.nvim',
4 - dependencies = {
'nvim-telescope/telescope.nvim', },
6 - require 'textcase'.setup {}
7 - require 'telescope'.load_extension
'textcase' 11 - {
'gA',
'<cmd>TextCaseOpenTelescope<CR>',
mode = {
'n',
'x', },
desc =
'Change text case', },
14 - 'TextCaseOpenTelescope',
15 - 'TextCaseOpenTelescopeQuickChange',
16 - 'TextCaseOpenTelescopeLSPChange',
17 - 'TextCaseStartReplacingCommand',
neovim/lua/bugabinga/plugins/treesitter.lua
Modified 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 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 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 },
50 - disable = should_disable,
51 37 additional_vim_regex_highlighting =
false,
54 - incremental_selection = {
56 - disable = should_disable,
59 - init_selection =
'<up>',
60 - node_incremental =
'<up>',
61 - node_decremental =
'<down>',
62 - scope_incremental =
'<right>',
66 - indent = {
enable =
true,
disable = should_disable },
71 - disable = should_disable,
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' },
90 - [
'@parameter.outer'] =
'v',
91 - [
'@function.outer'] =
'v',
92 - [
'@class.outer'] =
'<c-v>',
95 - include_surroundig_whitespace =
true,
100 - disable = should_disable,
103 - [
']m'] = {
query =
'@function.outer',
desc =
'Goto next function definition' },
106 - [
'[m'] = {
query =
'@function.outer',
desc =
'Goto previous function definition' },
40 + indent = {
enable =
true },
neovim/lua/bugabinga/plugins/treesj.lua
Modified 3 3 local map
= require 'std.map' 6 6 description =
'Toggle Tree Join/Split',
7 7 category =
'editing',
10 9 command =
function ()
11 - require 'treesj'.toggle()
10 + prequire
'treesj'.toggle {
split = {
recursive =
true } }
15 + description =
'Join Tree',
16 + category =
'editing',
17 + keys =
'<leader>jj',
18 + command =
function ()
19 + prequire
'treesj'.join()
24 + description =
'Split Tree',
25 + category =
'editing',
26 + keys =
'<leader>js',
27 + command =
function ()
28 + prequire
'treesj'.split()
17 - dependencies = {
'nvim-treesitter/nvim-treesitter', },
34 + dependencies = {
'nvim-treesitter/nvim-treesitter' },
19 36 use_default_keymaps =
false,
21 - max_join_length = vim.opt.textwidth:get(),
37 + max_join_length =
360,
neovim/lua/bugabinga/plugins/venn.lua
Deleteddeleted file mode 100644 1 -local map
= require 'std.map' 4 - description =
'Enable box drawing mode',
7 - command =
function () vim.cmd.VBox()
end,
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' 7 + description =
'Show key maps',
10 + command =
function ()
11 + prequire
'which-key'.show {
global =
false }
5 16 'folke/which-key.nvim',
10 - vim.o.timeoutlen
= 250 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,
22 21 group = icon.group,
23 + CR = icon.return_key,
25 + Space = icon.space_key,
25 30 border = vim.g.border_style,
26 - winblend = vim.o.winblend,
32 + winblend = vim.o.winblend,
28 - layout = {
align =
'center', },
30 - buftypes = ignored.buftypes,
36 + bt = ignored.buftypes,
37 + ft = ignored.filetypes,
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' 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', },
57 - p = {
name =
'|p|arameter',
_ =
'which_key_ignore', },
59 - l = {
name =
'|l|sp',
_ =
'which_key_ignore',
60 - c = {
name =
'|c|alls',
_ =
'which_key_ignore', },
neovim/lua/bugabinga/plugins/window.lua
Deleteddeleted file mode 100644 1 -local map
= require 'std.map' 2 -local user_command
= require 'std.user_command' 5 - description =
'Open window picker...',
6 - category =
'navigation',
8 - command =
function () prequire
'nvim-window'.pick()
end,
11 -user_command.PickWindow
12 -'Pick a window with a simple char motion' (
13 - function () prequire
'nvim-window'.pick()
end 17 - 'yorickpeterse/nvim-window',
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',
neovim/lua/bugabinga/plugins/zen.lua
Modified11 11 'folke/zen-mode.nvim',
13 - dependencies = { {
'folke/twilight.nvim',
opts = {
dimming = {
inactive =
false, }, }, }, },
15 - plugins = {
wezterm = {
enabled =
true,
font =
'+2', }, },
15 + plugins = {
wezterm = {
enabled =
true,
font =
'+2' } },
neovim/spell/nerd.utf-8.add
Modifiedneovim/spell/nerd.utf-8.add.spl
ModifiedPrevious version contains binary or non-UTF-8 data.
Current version contains binary or non-UTF-8 data.
11 11 use fedora_bootstrip.nu
14 15 use refreshenv.nu *
topgrade/topgrade.linux.toml
Modified10 10 self_update =
false 13 -repos = [
"/home/oli/Source/*",
"/home/oli/Notes"]
14 + "/home/oli/Source/*",
14 17 arguments =
"--ff --rebase" 15 18 max_concurrency =
12 16 19 pull_predefined =
false wezterm/bugabinga/code_fonts
Deleteddeleted file mode 100644 7 -Bitstream Vera Sans Mono
29 -Fixedsys Excelsior 3.01
40 -# IBM Plex Sans Condensed
52 -Latin Modern Mono Light
67 -Monaspace Krypton Var
104 -Symbols Nerd Font Mono
wezterm/bugabinga/code_fonts.csv
Modified 62 62 1,
Monaspace Argon Var 63 63 1,
Monaspace Krypton Var 78 - 1,
PixelCarnageMonoTT 78 + 0,
PixelCarnageMonoTT 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() )
6 + return wez.action.EmitEvent( id )
3 9 local leader
= {
key =
'VoidSymbol', }
4 10 if wez.target_triple:find
'windows' then 5 11 leader
= {
key =
'raw:255', }
155 161 action
= wez.action.QuitApplication,
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 )
173 + wez.log_info(
'Switching to: ', unix_domain )
174 + window:perform_action( wez.action.AttachDomain( unix_domain ), pane )
wezterm/bugabinga/mouse_binds.lua
Modified 3 3 local wez
= require 'wezterm' 7 7 event = {
Down = {
streak =
3,
button =
'Left', }, },
8 9 action = wez.action.SelectTextAtMouseCursor
'SemanticZone',
wezterm/bugabinga/options.lua
Modified 1 1 local wez
= require 'wezterm' 4 - cfg.default_cwd
= wez.home_dir
5 - cfg.inactive_pane_hsb
= {
9 - cfg.default_cursor_style
= 'SteadyBlock' 10 - cfg.check_for_updates
= false 11 - cfg.audible_bell
= 'Disabled' 13 - fade_in_duration_ms =
69,
14 - fade_out_duration_ms =
69,
15 - target =
'CursorColor',
17 - cfg.cursor_blink_rate
= 0 18 - cfg.front_end
= 'WebGpu' 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
= {
9 + cfg.default_cursor_style
= 'SteadyBlock' 10 + cfg.check_for_updates
= false 11 + cfg.audible_bell
= 'Disabled' 13 + fade_in_duration_ms =
69,
14 + fade_out_duration_ms =
69,
15 + target =
'CursorColor',
17 + cfg.cursor_blink_rate
= 0 18 + cfg.front_end
= 'WebGpu' 20 + cfg.unzoom_on_switch_pane
= true 21 + cfg.scrollback_lines
= 16777216 22 + cfg.unix_domains
= {
25 + no_serve_automatically =
true,
27 + local_echo_threshold_ms =
10,
wezterm/bugabinga/status.lua
Modified36 36 {
Text =
table.
concat( fonts,
', ' ), },
39 + local pane_domain
= pane:get_domain_name()
40 41 local status
= {
'', }
47 48 if zoomed_state
then 48 49 table.
insert( status, zoomed_state )
50 - if current_workspace
then 51 - table.
insert( status, current_workspace )
54 - table.
insert( status, font )
52 + local context
= wez.format {
53 + {
Text = current_workspace, },
55 + {
Attribute = {
Intensity =
'Bold', }, },
56 + {
Text = pane_domain, },
59 + table.
insert( status, context )
61 + table.
insert( status, font )
57 63 window:set_right_status(
table.
concat( status, DELIMITER ) )
66 72 cfg.use_fancy_tab_bar
= false 67 73 cfg.tab_max_width
= 42 68 74 cfg.tab_bar_at_bottom
= true wezterm/wezterm.service
Modified 2 2 Description=Wezterm Multiplexing Server
3 -After=gnome-session.target
6 5 ExecStart=/usr/bin/wezterm-mux-server
10 -WantedBy=gnome-session.target
9 +WantedBy=default.target