dotfiles
bugabingas dorkfiles
owned by bugabinga
neovim: add jdks for fedora
wezterm: enable mux and show current (random) font
35ad98826903d7fe69359c02b80ec18d679f64ee
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (10)
neovim/lazy-lock.json
Modified 2 2 "Comment.nvim": {
"branch":
"master",
"commit":
"e51f2b142d88bb666dcaa77d93a07f4b419aca70" },
3 - "LuaSnip": {
"branch":
"master",
"commit":
"03c8e67eb7293c404845b3982db895d59c0d1538" },
4 - "actions-preview.nvim": {
"branch":
"master",
"commit":
"5072b1b1065a6b22bdd46b5c21780a91d6a08071" },
5 - "auto-dark-mode.nvim": {
"branch":
"master",
"commit":
"e328dc463d238cb7d690fb4daf068eba732a5a14" },
3 + "LuaSnip": {
"branch":
"master",
"commit":
"b152822e1a4bafb6bdf11a16cc26525cbd95ee00" },
4 + "actions-preview.nvim": {
"branch":
"master",
"commit":
"ceb6e06d1c8c30d8ddfe3afb03cd2c47b08b2798" },
6 5 "better-escape.nvim": {
"branch":
"master",
"commit":
"7e86edafb8c7e73699e0320f225464a298b96d12" },
7 6 "cmp-buffer": {
"branch":
"main",
"commit":
"3022dbc9166796b644a841a02de8dd1cc1d311fa" },
8 7 "cmp-nvim-lsp": {
"branch":
"main",
"commit":
"5af77f54de1b16c34b23cba810150689a3a90312" },
10 9 "cmp-path": {
"branch":
"main",
"commit":
"91ff86cd9c29299a64f968ebb45846c485725f23" },
11 10 "cmp_luasnip": {
"branch":
"master",
"commit":
"05a9ab28b53f71d1aece421ef32fee2cb857a843" },
12 11 "colorizer.nvim": {
"branch":
"master",
"commit":
"107719885290366c893e1c1c58b7474cbeabfef6" },
13 - "conform.nvim": {
"branch":
"master",
"commit":
"a6965ac128eba75537ec2bc5ddd5d5e357062bdc" },
12 + "conform.nvim": {
"branch":
"master",
"commit":
"12b3995537f52ba2810a9857e8ca256881febbda" },
14 13 "diffview.nvim": {
"branch":
"main",
"commit":
"3dc498c9777fe79156f3d32dddd483b8b3dbd95f" },
15 - "dressing.nvim": {
"branch":
"master",
"commit":
"18e5beb3845f085b6a33c24112b37988f3f93c06" },
14 + "dressing.nvim": {
"branch":
"master",
"commit":
"5162edb1442a729a885c45455a07e9a89058be2f" },
16 15 "fidget.nvim": {
"branch":
"main",
"commit":
"1ba38e4cbb24683973e00c2e36f53ae64da38ef5" },
17 - "flash.nvim": {
"branch":
"main",
"commit":
"48817af25f51c0590653bbc290866e4890fe1cbe" },
18 - "gitsigns.nvim": {
"branch":
"main",
"commit":
"52f8da33cc0cadbf1164c4a91c8bfd6895533d67" },
16 + "flash.nvim": {
"branch":
"main",
"commit":
"7bb4a9c75d1e20cd24185afedeaa11681829ba23" },
17 + "gitsigns.nvim": {
"branch":
"main",
"commit":
"76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
19 18 "glow.nvim": {
"branch":
"main",
"commit":
"238070a686c1da3bccccf1079700eb4b5e19aea4" },
20 19 "heirline.nvim": {
"branch":
"master",
"commit":
"03cff30d7e7d3ba6fdc00925f015822f79cef908" },
21 20 "indent-blankline.nvim": {
"branch":
"master",
"commit":
"3d08501caef2329aba5121b753e903904088f7e6" },
22 - "lazy.nvim": {
"branch":
"main",
"commit":
"bef521ac89c8d423f9d092e37b58e8af0c099309" },
21 + "lazy.nvim": {
"branch":
"main",
"commit":
"3f13f080434ac942b150679223d54f5ca91e0d52" },
23 22 "lspkind.nvim": {
"branch":
"master",
"commit":
"1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
24 - "lua-utils.nvim": {
"branch":
"main",
"commit":
"e565749421f4bbb5d2e85e37c3cef9d56553d8bd" },
25 - "mason-tool-installer.nvim": {
"branch":
"main",
"commit":
"b129892f783740e6cf741f2ea09fa5dd512aa584" },
26 - "mason.nvim": {
"branch":
"main",
"commit":
"c43eeb5614a09dc17c03a7fb49de2e05de203924" },
27 23 "mini.bracketed": {
"branch":
"main",
"commit":
"65c7dfb51e832de9e279e5d5b0741e7af6755ab5" },
28 24 "mkdir.nvim": {
"branch":
"main",
"commit":
"c55d1dee4f099528a1853b28bb28caa802eba217" },
29 25 "neodev.nvim": {
"branch":
"main",
"commit":
"ce9a2e8eaba5649b553529c5498acb43a6c317cd" },
30 26 "neogen": {
"branch":
"main",
"commit":
"0daffcec249bf42275e322361fe55b89a05ff278" },
31 - "neorg": {
"branch":
"main",
"commit":
"c17b8e9e7327e03f78fbdccfb15abd09ec607bd0" },
32 - "neotest": {
"branch":
"master",
"commit":
"f03a78cef74db5638e4312e18b767294a90de8da" },
27 + "neotest": {
"branch":
"master",
"commit":
"5caac5cc235d495a2382bc2980630ef36ac87032" },
33 28 "neotest-plenary": {
"branch":
"master",
"commit":
"dcaf5ed67a9e28a246e9783319e5aa6c9ea1c584" },
34 29 "nrpattern.nvim": {
"branch":
"master",
"commit":
"f862ce687761078ef3155688151c55f69d28453e" },
35 - "nui.nvim": {
"branch":
"main",
"commit":
"a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
30 + "nui.nvim": {
"branch":
"main",
"commit":
"cbd2668414331c10039278f558630ed19b93e69b" },
36 31 "nvim-autopairs": {
"branch":
"master",
"commit":
"4f41e5940bc0443fdbe5f995e2a596847215cd2a" },
37 - "nvim-cmp": {
"branch":
"main",
"commit":
"ce16de5665c766f39c271705b17fff06f7bcb84f" },
32 + "nvim-cmp": {
"branch":
"main",
"commit":
"8f3c541407e691af6163e2447f3af1bd6e17f9a3" },
38 33 "nvim-dap": {
"branch":
"master",
"commit":
"6ae8a14828b0f3bff1721a35a1dfd604b6a933bb" },
39 - "nvim-dap-ui": {
"branch":
"master",
"commit":
"edfa93f60b189e5952c016eee262d0685d838450" },
34 + "nvim-dap-ui": {
"branch":
"master",
"commit":
"5934302d63d1ede12c0b22b6f23518bb183fc972" },
40 35 "nvim-dap-virtual-text": {
"branch":
"master",
"commit":
"3e8e207513e6ef520894950acd76b79902714103" },
41 - "nvim-genghis": {
"branch":
"main",
"commit":
"1e6855be88e2266c612903dbc337222b59a06e44" },
36 + "nvim-genghis": {
"branch":
"main",
"commit":
"01eeb090ea4947df6b6b9d8589b324b9f1aaf851" },
42 37 "nvim-gomove": {
"branch":
"main",
"commit":
"2b44ae7ac0804f4e3959228122f7c85bef1964e3" },
43 - "nvim-jdtls": {
"branch":
"master",
"commit":
"a4746791876166dc146eae573a1b49d24a6652e7" },
44 38 "nvim-lastplace": {
"branch":
"main",
"commit":
"0bb6103c506315044872e0f84b1f736c4172bb20" },
45 - "nvim-lint": {
"branch":
"master",
"commit":
"f098232d70cebe90e27404928c9bc19ca7a5a7b5" },
39 + "nvim-lint": {
"branch":
"master",
"commit":
"861a04313501563bb1b11f125ae9b7237a517b9b" },
46 40 "nvim-lsp-file-operations": {
"branch":
"master",
"commit":
"223aca86b737dc66e9c51ebcda8788a8d9cc6cf2" },
47 41 "nvim-navbuddy": {
"branch":
"master",
"commit":
"f34237e8a41ebc6e2716af2ebf49854d8c5289c8" },
48 42 "nvim-navic": {
"branch":
"master",
"commit":
"8649f694d3e76ee10c19255dece6411c29206a54" },
49 43 "nvim-neoclip.lua": {
"branch":
"main",
"commit":
"798cd0592a81c185465db3a091a0ff8a21af60fd" },
50 - "nvim-nio": {
"branch":
"master",
"commit":
"5a3a06e5df34f1b4fc1500622b10620c49c60da6" },
51 - "nvim-spectre": {
"branch":
"master",
"commit":
"9653847cf2f225648967f6e9363643e327387579" },
52 - "nvim-surround": {
"branch":
"main",
"commit":
"a4e30d33add8a9743b4f518b3a788b3c8e5def71" },
53 - "nvim-tree.lua": {
"branch":
"master",
"commit":
"ddd1d6eb21c45433bdc65cc8015f2457998f2bf2" },
54 - "nvim-treesitter": {
"branch":
"master",
"commit":
"baaae36ac709f405c0ee5d39ef9ffd8d8160f1a3" },
55 - "nvim-treesitter-context": {
"branch":
"master",
"commit":
"e6e71047bb323fb36f5664993a42adaac252bb36" },
56 - "nvim-treesitter-endwise": {
"branch":
"master",
"commit":
"60e8c288e011403f248b5f6478dde12bed8a6c55" },
44 + "nvim-nio": {
"branch":
"master",
"commit":
"8765cbc4d0c629c8158a5341e1b4305fd93c3a90" },
45 + "nvim-spectre": {
"branch":
"master",
"commit":
"4651801ba37a9407b7257287aec45b6653ffc5e9" },
46 + "nvim-surround": {
"branch":
"main",
"commit":
"6d0dc3dbb557bcc6a024969da461df4ba803fc48" },
47 + "nvim-tree.lua": {
"branch":
"master",
"commit":
"76db7ed0da3027882dd0a72de18643c2e26956dc" },
48 + "nvim-treesitter": {
"branch":
"master",
"commit":
"440f177277e6049d665382a94ce1af602900b5c7" },
49 + "nvim-treesitter-context": {
"branch":
"master",
"commit":
"2650e6431f7daba5d9c2c64134fa5eb2312eb3d7" },
50 + "nvim-treesitter-endwise": {
"branch":
"master",
"commit":
"8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
57 51 "nvim-treesitter-textobjects": {
"branch":
"master",
"commit":
"23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" },
58 52 "nvim-ts-autotag": {
"branch":
"main",
"commit":
"531f48334c422222aebc888fd36e7d109cb354cd" },
59 53 "nvim-ts-context-commentstring": {
"branch":
"main",
"commit":
"a6382f744f584bbf71d0a563af789af7190aabda" },
60 - "nvim-web-devicons": {
"branch":
"master",
"commit":
"b3468391470034353f0e5110c70babb5c62967d3" },
54 + "nvim-web-devicons": {
"branch":
"master",
"commit":
"794bba734ec95eaff9bb82fbd112473be2087283" },
61 55 "nvim-window": {
"branch":
"main",
"commit":
"fad0dc96de265b0bdcb21d1071329e5ab1deb4af" },
62 - "oil.nvim": {
"branch":
"master",
"commit":
"8bb35eb81a48f14c4a1ef480c2bbb87ceb7cd8bb" },
63 - "overseer.nvim": {
"branch":
"master",
"commit":
"dd701ed0639ef1e10d0ca8dec039719e916c4a7b" },
64 - "pair-ls.nvim": {
"branch":
"master",
"commit":
"e7a8f55f54a6a1956b782ddefba79dc6bb308d1d" },
56 + "oil.nvim": {
"branch":
"master",
"commit":
"bcfc0a2e01def5019aa14fac2fc6de20dedb6d3d" },
57 + "overseer.nvim": {
"branch":
"master",
"commit":
"89942ad366c8a9bb93f82411de17dc7c644b4e3b" },
58 + "pair-ls.nvim": {
"branch":
"master",
"commit":
"ccf3280d8cafec48e4947dd827abbc456435dfad" },
65 59 "playground": {
"branch":
"master",
"commit":
"ba48c6a62a280eefb7c85725b0915e021a1a0749" },
66 - "plenary.nvim": {
"branch":
"master",
"commit":
"50012918b2fc8357b87cff2a7f7f0446e47da174" },
67 - "qf_helper.nvim": {
"branch":
"master",
"commit":
"91dad029c11d1c39b0d1276eda52616f651072be" },
60 + "plenary.nvim": {
"branch":
"master",
"commit":
"08e301982b9a057110ede7a735dd1b5285eb341f" },
61 + "qf_helper.nvim": {
"branch":
"master",
"commit":
"301cea47118ccfc91a7cc48e316f2abc1ec7c1c6" },
68 62 "resession.nvim": {
"branch":
"master",
"commit":
"dc8825439c619030925543a444c4186a2487c200" },
69 - "schemastore.nvim": {
"branch":
"main",
"commit":
"f7cae6f1b38cb296f48ce1a9c5ed1a419d912a42" },
63 + "schemastore.nvim": {
"branch":
"main",
"commit":
"2ef728ff7e790431f1f71052bfd4c5568157e110" },
70 64 "specs.nvim": {
"branch":
"main",
"commit":
"8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },
71 65 "speedtyper.nvim": {
"branch":
"main",
"commit":
"2d158eed4c753995b0501a3a7a72464fbb213e3d" },
72 66 "ssr.nvim": {
"branch":
"main",
"commit":
"bb323ba621ac647b4ac5638b47666e3ef3c279e1" },
73 67 "substitute.nvim": {
"branch":
"main",
"commit":
"17ffaeb5a1dc2dbef39cf0865d8a4b6000836714" },
74 - "suda.vim": {
"branch":
"master",
"commit":
"04469d855e36fffcda6be036eb7ff005f64fa0d6" },
68 + "suda.vim": {
"branch":
"master",
"commit":
"b97fab52f9cdeabe2bbb5eb98d82356899f30829" },
75 69 "telescope-fzf-native.nvim": {
"branch":
"main",
"commit":
"9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
76 70 "telescope-symbols.nvim": {
"branch":
"master",
"commit":
"a6d0127a53d39b9fc2af75bd169d288166118aec" },
77 71 "telescope-zoxide": {
"branch":
"main",
"commit":
"68966349aa1b8e9ade403e18479ecf79447389a7" },
78 72 "telescope.nvim": {
"branch":
"master",
"commit":
"6312868392331c9c0f22725041f1ec2bef57c751" },
79 73 "text-case.nvim": {
"branch":
"main",
"commit":
"d62c63a4e9a996c7321885937ab89920fca2c1c8" },
80 - "tint.nvim": {
"branch":
"master",
"commit":
"862835626941d263466754b9c8e2ce2cb004f5ac" },
74 + "tint.nvim": {
"branch":
"master",
"commit":
"02bd0527a315a80e4e25bb2dd7b6994fb0daae01" },
81 75 "todo-comments.nvim": {
"branch":
"main",
"commit":
"a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
82 - "tree-sitter-nu": {
"branch":
"main",
"commit":
"b090676f0205f52debb93745b9ad788385583276" },
83 - "treesj": {
"branch":
"main",
"commit":
"60e27280030f9cd8dfb6ceb335922c6ff76682cc" },
76 + "tree-sitter-nu": {
"branch":
"main",
"commit":
"a58513279e98dc3ff9ed149e3b4310cbb7e11068" },
77 + "treesj": {
"branch":
"main",
"commit":
"e1e82ab4237619d342c7102c9f13d4b9833bfd39" },
84 78 "twilight.nvim": {
"branch":
"main",
"commit":
"8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
85 79 "venn.nvim": {
"branch":
"main",
"commit":
"a5430d75875acbe93e9685cdeb78c6eb2a329ed5" },
86 80 "vim-vscode-snippets": {
"branch":
"master",
"commit":
"812e60d1c648f889328761ec71daff09d1eb3177" },
neovim/lua/bugabinga/lsp/clients/java.lua
Modified19 19 jdk11.path
= '/usr/lib64/jvm/java-11-openjdk-11' 20 20 jdk17.path
= '/usr/lib64/jvm/java-17-openjdk-17' 21 21 jdk21.path
= '/usr/lib64/jvm/java-21-openjdk-21' 22 + elseif host
== 'fedora' then
23 + jdk11.path
= '/usr/lib/jvm/java-11-openjdk' 24 + jdk17.path
= '/usr/lib/jvm/java-17-openjdk' 25 + jdk21.path
= '/usr/lib/jvm/java-21-openjdk' 22 26 elseif host
== 'NB-00718' then
23 27 jdk11.path
= 'C:/Users/okr/scoop/apps/openjdk11/current' 24 28 jdk17.path
= 'C:/Users/okr/scoop/apps/openjdk17/current' neovim/lua/bugabinga/nugu/init.lua
Modified 46 46 local set_group_properties = function ( self, properties )
48 - properties = { properties,
'table', },
50 - [
'properties.fg'] = { properties.fg,
'string',
true, },
52 - [
'properties.bg'] = { properties.bg,
'string',
true, },
54 - [
'properties.sp'] = { properties.sp,
'string',
true, },
56 - [
'properties.blend'] = { properties.blend,
'number',
true, },
58 - [
'properties.bold'] = { properties.bold,
'boolean',
true, },
60 - [
'properties.standout'] = { properties.standout,
'boolean',
true, },
62 - [
'properties.underline'] = { properties.underline,
'boolean',
true, },
64 - [
'properties.undercurl'] = { properties.undercurl,
'boolean',
true, },
66 - [
'properties.underdotted'] = { properties.underdotted,
'boolean',
true, },
68 - [
'properties.underdashed'] = { properties.underdashed,
'boolean',
true, },
70 - [
'properties.strikethrough'] = { properties.strikethrough,
'boolean',
true, },
72 - [
'properties.italic'] = { properties.italic,
'boolean',
true, },
74 - [
'properties.reverse'] = { properties.reverse,
'boolean',
true, },
76 - [
'properties.nocombine'] = { properties.nocombine,
'boolean',
true, },
78 - [
'properties.default'] = { properties.default,
'boolean',
true, },
80 - [
'properties.ctermfg'] = { properties.ctermfg,
'string',
true, },
82 - [
'properties.ctermbg'] = { properties.ctermbg,
'string',
true, },
84 - [
'properties.cterm'] = { properties.cterm,
'table',
true, },
86 - [
'properties.force'] = { properties.force,
'boolean',
true, },
89 - for key, value
in pairs( properties )
do 48 + properties = { properties,
'table', },
50 + [
'properties.fg'] = { properties.fg,
'string',
true, },
52 + [
'properties.bg'] = { properties.bg,
'string',
true, },
54 + [
'properties.sp'] = { properties.sp,
'string',
true, },
56 + [
'properties.blend'] = { properties.blend,
'number',
true, },
58 + [
'properties.bold'] = { properties.bold,
'boolean',
true, },
60 + [
'properties.standout'] = { properties.standout,
'boolean',
true, },
62 + [
'properties.underline'] = { properties.underline,
'boolean',
true, },
64 + [
'properties.undercurl'] = { properties.undercurl,
'boolean',
true, },
66 + [
'properties.underdotted'] = { properties.underdotted,
'boolean',
true, },
68 + [
'properties.underdashed'] = { properties.underdashed,
'boolean',
true, },
70 + [
'properties.strikethrough'] = { properties.strikethrough,
'boolean',
true, },
72 + [
'properties.italic'] = { properties.italic,
'boolean',
true, },
74 + [
'properties.reverse'] = { properties.reverse,
'boolean',
true, },
76 + [
'properties.nocombine'] = { properties.nocombine,
'boolean',
true, },
78 + [
'properties.default'] = { properties.default,
'boolean',
true, },
80 + [
'properties.ctermfg'] = { properties.ctermfg,
'string',
true, },
82 + [
'properties.ctermbg'] = { properties.ctermbg,
'string',
true, },
84 + [
'properties.cterm'] = { properties.cterm,
'table',
true, },
86 + [
'properties.force'] = { properties.force,
'boolean',
true, },
89 + for key, value
in pairs( properties )
do 94 94 local new_group = function ()
95 - return setmetatable( {}, {
96 - __call = set_group_properties,
95 + return setmetatable( {}, {
96 + __call = set_group_properties,
100 100 local add_group = function ( self, key )
101 - if not self.groups[key]
then 102 - self.groups[key]
= new_group()
104 - return self.groups[key]
101 + if not self.groups[key]
then 102 + self.groups[key]
= new_group()
104 + return self.groups[key]
107 107 local link_group = function ( self, key, value )
109 - local group
= add_group( self, key )
110 - for name, link_group
in pairs( self.groups )
do 111 - if link_group
== value
then 109 + local group
= add_group( self, key )
110 + for name, link_group
in pairs( self.groups )
do 111 + if link_group
== value
then 119 119 local _
= setmetatable( {
groups = {}, }, {
120 - __index = add_group,
121 - __newindex = link_group,
120 + __index = add_group,
121 + __newindex = link_group,
124 124 _.Debug {
fg = ui_normal,
bg =
debug,
bold =
true, }
198 198 _.Label
= _.Statement
199 199 _.Operator
= _.Statement
200 200 _.Keyword
= _.Statement
201 +_.Parameter {
fg = content_focus, }
201 202 _.Exception
= _.Statement
203 204 _.PreProc {
fg = content_important_global,
bg = content_unfocus,
bold =
true, }
205 206 _.Define
= _.PreProc
206 207 _.Macro
= _.PreProc
207 208 _.PreCondit
= _.PreProc
208 -_.Parameter {
fg = content_focus, }
210 -_.Type
= _.Statement
211 211 _.StorageClass
= _.Statement
212 212 _.Structure
= _.Statement
213 213 _.Typedef
= _.Statement
265 265 _[
'@constant']
= _.Constant
266 266 _[
'@constant.builtin']
= _.Special
267 267 _[
'@constant.macro']
= _.Define
268 +_[
'@attribute']
= _.Keyword
268 269 _[
'@define']
= _.Define
269 270 _[
'@macro']
= _.Macro
270 271 _[
'@string']
= _.String
291 292 _[
'@keyword.return'] {
fg = _.Keyword.fg,
bg = _.Keyword.bg,
underline =
true,
bold =
true, }
292 293 _[
'@exception']
= _.Exception
293 294 _[
'@variable']
= _.Identifier
295 +_[
'@variable.parameter']
= _.Parameter
294 296 _[
'@type']
= _.Type
297 +_[
'@type.builtin']
= _.Type
295 298 _[
'@type.definition']
= _.Typedef
296 299 _[
'@storageclass']
= _.StorageClass
297 300 _[
'@structure']
= _.Structure
298 -_[
'@namespace']
= _.PreProc
301 +_[
'@namespace']
= _.Italic
299 302 _[
'@include']
= _.Include
300 303 _[
'@preproc']
= _.PreProc
301 304 _[
'@debug']
= _.Debug
302 305 _[
'@tag']
= _.Tag
307 +_[
'@markup.raw.block']
= _.PreProc
304 309 _[
'@lsp.type.namespace']
= _[
'@namespace']
305 310 _[
'@lsp.type.type']
= _[
'@type']
311 +_[
'@lsp.type.modifier']
= _[
'@keyword']
306 312 _[
'@lsp.type.class']
= _[
'@type']
307 313 _[
'@lsp.type.enum']
= _[
'@type']
308 314 _[
'@lsp.type.interface']
= _[
'@type']
536 542 return function ()
538 - local namespace
= 0 539 - for name, group
in pairs( _.groups )
do 540 - vim.api.nvim_set_hl( namespace, name, group )
544 + local namespace
= 0 545 + for name, group
in pairs( _.groups )
do 546 + vim.api.nvim_set_hl( namespace, name, group )
neovim/lua/bugabinga/options/behaviour.lua
Modified 7 7 vim.opt.timeoutlen
= 250 10 +vim.opt.path:append
'**' 10 13 vim.opt.whichwrap:append
'<' 11 14 vim.opt.whichwrap:append
'>' neovim/lua/bugabinga/plugins/auto-dark-mode.lua
Modified 2 2 'f-person/auto-dark-mode.nvim',
neovim/lua/bugabinga/plugins/overseer.lua
Deleteddeleted file mode 100644 1 -local map
= require 'std.map' 2 -local user_command
= require 'std.user_command' 5 - description =
'Toggle task view',
8 - command =
function () prequire
'overseer'.toggle {
enter =
true,
direction =
'right', }
end,
12 - description =
'Run task',
14 - keys =
'<leader>9r',
15 - command =
function () prequire
'overseer'._run_template()
end,
19 - description =
'Run any command as task',
21 - keys =
'<leader>9c',
22 - command =
function () prequire
'overseer'._run_command()
end,
26 - description =
'Load task bundle',
28 - keys =
'<leader>9r',
29 - command =
function () prequire
'overseer'._load_bundle()
end,
33 - description =
'Run an action on the most recent task, or the task under the cursor',
35 - keys =
'<leader>9d',
36 - command =
function () prequire
'overseer'._quick_action()
end,
40 - description =
'Select a task to run an action on',
42 - keys =
'<leader>9s',
43 - command =
function () prequire
'overseer'._task_action()
end,
47 - description =
'Display diagnostic information about overseer',
49 - keys =
'<leader>9i',
50 - command =
function () prequire
'overseer'._info()
end,
53 -user_command.OverseerDebugParser
54 -'Open a tab with windows laid out for debugging a parser' (
56 - prequire
'overseer'.debug_parser()
61 -'Run your grepprg as an Overseer task' 62 - {
nargs =
'*',
bang =
true,
bar =
true,
complete =
'file', } (
64 - local args
= vim.fn.expandcmd( params.args )
66 - local cmd, num_subs
= vim.o.grepprg:gsub(
'%$%*', args )
67 - if num_subs
== 0 then 68 - cmd
= cmd
.. ' ' .. args
71 - prequire(
'oil',
function ( oil )
72 - cwd
= oil.get_current_dir()
74 - local task
= prequire
'overseer'.new_task {
77 - name =
'grep ' .. args,
80 - 'on_output_quickfix',
81 - errorformat = vim.o.grepformat,
82 - open =
not params.bang,
87 - {
'on_complete_dispose',
timeout =
30, },
96 -'Run your makeprg as an Overseer task' 97 - {
nargs =
'*',
bang =
true, } (
100 - local cmd, num_subs
= vim.o.makeprg:gsub(
'%$%*', params.args )
101 - if num_subs
== 0 then 102 - cmd
= cmd
.. ' ' .. params.args
104 - local task
= prequire
'overseer'.new_task {
105 - cmd = vim.fn.expandcmd( cmd ),
107 - {
'on_output_quickfix',
open =
not params.bang,
open_height =
8, },
118 - 'stevearc/resession.nvim',
123 - status = {
'RUNNING', },
129 - 'stevearc/overseer.nvim',
131 - strategy = {
'jobstart', },
136 - level = vim.log.levels.WARN,
140 - filename =
'overseer.log',
141 - level = vim.log.levels.DEBUG,
144 - component_aliases = {
147 - 'display_duration',
150 - 'on_output_summarize',
151 - 'on_exit_set_status',
152 - {
'on_complete_notify',
system =
'unfocused', },
153 - 'on_complete_dispose',
155 - default_neotest = {
157 - {
'on_complete_notify',
system =
'unfocused',
on_change =
true, },
wezterm/bugabinga/key_binds.lua
Modified 6 6 local font_size_mode
= ' Change Font Size (=-+)' 7 7 local pane_mode
= ' Pane (hjklqr)' 8 8 local resize_pane_mode
= 'ﭕ Resize Pane (hjkl)' 9 -local bracketed_mode
= ' Navigate to...' 10 -local navigate_forward_mode
= ' Navigate forward ...' 11 -local navigate_backward_mode
= ' Navigate backward ...' 9 +local navigate_forward_mode
= ' Navigate forward (bw)' 10 +local navigate_backward_mode
= ' Navigate backward (bw)' 13 12 local key_tables
= {
14 13 [resize_pane_mode] = {
21 20 {
key =
'Escape',
action =
'PopKeyTable' },
23 22 [font_size_mode]
= {
24 - {
key =
'+',
action = wez.action.IncreaseFontSize },
23 + {
key =
'+',
mods =
'SHIFT',
action = wez.action.IncreaseFontSize },
25 24 {
key =
'-',
action = wez.action.DecreaseFontSize },
26 25 {
key =
'=',
action = wez.action.ResetFontSize },
33 32 {
key =
'k',
action = wez.action.ActivatePaneDirection
'Up' },
34 33 {
key =
'l',
action = wez.action.ActivatePaneDirection
'Right' },
36 - {
key =
'v',
action = wez.action.SplitHorizontal {
domain =
'CurrentPaneDomain' }, },
37 - {
key =
's',
action = wez.action.SplitVertical {
domain =
'CurrentPaneDomain' }, },
35 + {
key =
'v',
action = wez.action.SplitHorizontal {
domain =
'CurrentPaneDomain' }, },
36 + {
key =
's',
action = wez.action.SplitVertical {
domain =
'CurrentPaneDomain' }, },
39 38 {
key =
'r',
action = wez.action.ActivateKeyTable {
name = resize_pane_mode,
one_shot =
false } },
43 42 {
key =
'Escape',
action =
'PopKeyTable' },
45 - [bracketed_mode]
= {
47 44 [navigate_forward_mode]
= {
50 47 action = wez.action.ActivateTabRelative(
1),
51 + action = wez.action.SwitchWorkspaceRelative(
1),
53 54 [navigate_backward_mode]
= {
56 57 action = wez.action.ActivateTabRelative(
-1),
61 + action = wez.action.SwitchWorkspaceRelative(
-1),
wezterm/bugabinga/status.lua
Modified 3 3 local wez
= require 'wezterm' 5 5 local DELIMITER
= ' · ' 7 7 local zoomed = function(pane)
8 - local tab
= pane:tab()
9 - local any_is_zoomed
= false 11 - for _, info
in ipairs(tab:panes_with_info())
do 12 - if info.is_zoomed
then 13 - any_is_zoomed
= true 17 - return any_is_zoomed
and '🔎 Zoomed Pane' .. DELIMITER
or '' 8 + local tab
= pane:tab()
9 + local any_is_zoomed
= false 11 + for _, info
in ipairs(tab:panes_with_info())
do 12 + if info.is_zoomed
then 13 + any_is_zoomed
= true 17 + return any_is_zoomed
and '🔎 Zoomed Pane' or nil 21 -wez.on(
'update-right-status',
function(window, pane)
22 - local name
= window:active_key_table()
23 - local current_workspace
= ' ' .. window:active_workspace()
.. DELIMITER
24 - local zoomed_state
= zoomed(pane)
26 - local status
= name
or current_workspace
27 - window:set_right_status(zoomed_state
.. status)
23 +wez.on(
'update-status',
function(window, pane)
24 + local name
= window:active_key_table()
25 + local current_workspace
= window:active_workspace()
26 + local zoomed_state
= zoomed(pane)
28 + if window:leader_is_active()
then 32 + for _, font
in pairs(window:effective_config().font.font)
do 33 + table.
insert(fonts, font.family)
35 + local font
= wez.format {
36 + {
Text =
' Font ' },
37 + {
Attribute = {
Intensity =
'Bold' } },
38 + {
Text =
table.
concat(fonts,
', ') },
42 + local status
= {
' ' }
43 + if zoomed_state
then table.
insert(status, zoomed_state)
end 44 + if current_workspace
then table.
insert(status, current_workspace)
end 45 + if leader
then table.
insert(status, leader)
end 46 + if font
then table.
insert(status, font)
end 48 + window:set_right_status(
table.
concat(status, DELIMITER))
wezterm/bugabinga/workspaces.lua
Modified26 26 local dork_ws
= 'dorkfiles editing' 27 27 local dork_cwd
= WORKSPACE
.. '/dotfiles' 28 28 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.55 }
30 - dork_top_pane:split {
cwd = dork_cwd,
direction =
'Left',
size =
0.7 }
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 }
31 31 dork_tab:set_title
'Dorkfiles Editing' 32 32 local wezterm_config_tab
= dork_window:spawn_tab {
cwd = dork_cwd
.. '/wezterm' }
33 33 wezterm_config_tab:set_title
'Wezterm' 34 - wezterm_config_tab:active_pane():split {
cwd = dork_cwd
.. '/wezterm',
direction =
'Left',
size =
0.7 }
35 - local helix_config_tab
= dork_window:spawn_tab {
cwd = dork_cwd
.. '/helix' }
36 - helix_config_tab:set_title
'Helix' 37 - helix_config_tab:active_pane():split {
cwd = dork_cwd
.. '/helix',
direction =
'Left',
size =
0.7 }
34 + 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 }
40 + local code_ws
= 'code' 41 + local code_cwd
= wez.home_dir
42 + local code_tab, code_pane, code_window
= mux.spawn_window {
cwd = code_cwd,
workspace = code_ws }
43 + local code_top_pane
= code_pane:split {
cwd = code_cwd,
direction =
'Top',
size =
0.42 }
44 + code_pane:split {
cwd = code_cwd,
direction =
'Right',
size =
0.42 }
45 + code_top_pane:split {
cwd = code_cwd,
direction =
'Right',
size =
0.42 }
46 + code_window:spawn_tab {
args = {
'nvim' } }
47 + code_tab:set_title
'Code' 48 + code_top_pane:activate()
40 50 local default_ws
= 'default' 41 51 local default_cwd
= wez.home_dir
42 52 local default_tab, default_pane, default_window
= mux.spawn_window {
cwd = default_cwd,
workspace = default_ws }
43 - local default_top_pane
= default_pane:split {
cwd = default_cwd,
direction =
'Top',
size =
0.5 }
44 - default_pane:split {
cwd = default_cwd,
direction =
'Right',
size =
0.5 }
45 - default_top_pane:split {
cwd = default_cwd,
direction =
'Right',
size =
0.5 }
53 + local default_top_pane
= default_pane:split {
cwd = default_cwd,
direction =
'Top',
size =
0.42 }
54 + default_pane:split {
cwd = default_cwd,
direction =
'Right',
size =
0.42 }
55 + default_top_pane:split {
cwd = default_cwd,
direction =
'Right',
size =
0.42 }
46 56 default_window:spawn_tab {
args = {
'btm' } }
47 57 default_tab:set_title
'Default' 48 58 default_top_pane:activate()
53 63 wez.on(
'gui-attached',
function()
56 - if win32
then setup_workspaces()
end wezterm/wezterm.lua
Modified 3 3 local wez
= require 'wezterm' 4 4 local nugu
= require 'bugabinga.nugu' 6 6 local key_binds
= require 'bugabinga.key_binds' 7 7 local auto_dark_mode
= require 'bugabinga.auto_dark_mode' 8 +local workspaces
= require 'bugabinga.workspaces' 9 9 require 'bugabinga.status' 10 10 local zen_mode
= require 'bugabinga.neovim_zen_mode' 13 13 local hostname
= wez.hostname()
14 14 local enable_wayland
= false 15 -local window_decorations
= 'RESIZE' 15 +local window_decorations
= 'INTEGRATED_BUTTONS|RESIZE' 16 16 local font_size
= 11.0 18 18 local font
= wez.font
'Cousine' 24 24 local font_names
= {}
25 25 local nerdfonts
= io.
open(wez.config_dir
.. '/nerdfonts',
'r')
26 - for font_name
in nerdfonts:lines()
do 27 - table.
insert(font_names,font_name)
27 + for font_name
in nerdfonts:lines()
do 28 + table.
insert(font_names, font_name)
30 + local random_font
= font_names[
math.
random(
#font_names)]
31 + font
= wez.font(random_font)
29 - local random_font
= font_names[
math.
random(
#font_names)]
30 - font
= wez.font(random_font)
34 + window_decorations
= 'NONE' 38 42 default_prog
= {
'nu',
'--login' },
39 43 default_cursor_style
= 'SteadyBlock',
50 + default_gui_startup_args
= {
'connect',
'mux' },
42 53 font_size
= font_size,
43 54 freetype_load_target
= 'Light',
44 55 freetype_render_target
= 'HorizontalLcd',
45 - underline_position
= "-2pt",
46 57 warn_about_missing_glyphs
= false,
48 59 color_scheme
= auto_dark_mode,
49 60 color_schemes
= nugu,
50 61 cursor_blink_rate
= 0,
52 - force_reverse_video_cursor
= true,
54 65 window_decorations
= window_decorations,
55 66 enable_wayland
= enable_wayland,