repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

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

67154c32f0927e5fbcd19d5e3ed85d18abb04fdf

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (25)

fedora.symlinks

Modified
79 79 fonts
80 80 ~/.local/share/fonts
82 +neovide
83 +~/.config/neovide

neovide/config.toml

Added
new file mode 100644
1 +fork = true
2 +frame = "none"
3 +maximized = true
4 +tabs = true
5 +theme = "auto"
6 +wsl = true
8 +[font]
9 +size = 15.0
10 +edging = "supixelantialias"
11 +hinting = "none"
13 +[[font.normal]]
14 +family = "Cousine"
15 +style = "Regular"
16 +[[font.normal]]
17 +family = "Symbols Nerd Font Mono"
18 +style = "Regular"
20 +[[font.bold]]
21 +family = "Fantasque Sans Mono"
22 +style = "Bold"
23 +[[font.bold]]
24 +family = "Symbols Nerd Font Mono"
25 +style = "Bold"
27 +[[font.italic]]
28 +family = "Victor Mono"
29 +style = "Oblique"
30 +[[font.italic]]
31 +family = "Symbols Nerd Font Mono"
32 +style = "Oblique"
34 +[[font.bold_italic]]
35 +family = "Victor Mono"
36 +style = "Bold Italic"
37 +[[font.bold_italic]]
38 +family = "Symbols Nerd Font Mono"
39 +style = "Bold Italic"

neovim/README.md

Modified
39 39 # todo
41 +* figure out desirable cmp key maps
41 42 * try loading lsp async for better startup perf
42 -* check out vim-dadbod for sql workflows
43 43 * navic highlights do not fit winbar
44 +* add nu-check to nvim-lint
45 +* add nu lsp
44 46 * make highlights more visible when expanding snippets
45 47 * cursor restore position on (session?) load jumps one location to somewhere
46 48 after correct location
47 49 * check out `vim.snippet`
48 50 * use `vim.base64` in wezterm plugin
49 51 * integrate language tool?
50 -* refactor mark.lua
51 52 * adapt config to respect `vim.g.nerdfont` (std.constants?)
52 53 * Do I want multiple LSPs per buffer?
53 54 In case of markdown and text it seems useful, for code it seems like a
54 55 headache...
55 -* use ltex-ls for markdown, code comments and commit messages
56 56 * flesh out 'const.lua', move to std?
57 57 * nvim spell for camel case words
58 -* add nu-check to nvim-lint
59 58 * create skeleton-plugin for default file content based on file type
60 59 (BufNewFile?)
61 60 * make lsp config extensible, so that plugin configs can hook into it (e.g.
62 61 on_attach)
63 -* split parts of config into plugins
64 62 * add support for Java multi line string in autopairs
65 -* try Termdebug with gdb

neovim/lazy-lock.json

Modified
2 2 "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" },
3 3 "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
4 - "actions-preview.nvim": { "branch": "master", "commit": "9f52a01c374318e91337697ebed51c6fae57f8a4" },
5 4 "better-escape.nvim": { "branch": "master", "commit": "bb197e51a91a635deb88630813c3bfc284413697" },
6 5 "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
7 6 "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
14 13 "dressing.nvim": { "branch": "master", "commit": "c5775a888adbc50652cb370073fcfec963eca93e" },
15 14 "flash.nvim": { "branch": "main", "commit": "7bb4a9c75d1e20cd24185afedeaa11681829ba23" },
16 15 "glow.nvim": { "branch": "main", "commit": "238070a686c1da3bccccf1079700eb4b5e19aea4" },
16 + "heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
17 17 "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
18 18 "lazy.nvim": { "branch": "main", "commit": "48b52b5cfcf8f88ed0aff8fde573a5cc20b1306d" },
19 - "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
20 19 "lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
21 - "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
22 20 "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
23 21 "mini.bracketed": { "branch": "main", "commit": "833d66df6e0588222312a963780c6ec42ed7437d" },
24 22 "mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" },
23 + "mini.diff": { "branch": "main", "commit": "24d46798be8a358d38d3adc92c7ebcbb2d6f67e0" },
25 24 "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
26 25 "neogen": { "branch": "main", "commit": "e932ba918b56723436b77aa3efb844a11b2851ab" },
27 26 "nrpattern.nvim": { "branch": "master", "commit": "f862ce687761078ef3155688151c55f69d28453e" },
49 48 "qf_helper.nvim": { "branch": "master", "commit": "fa3c2f3f2706e2c9984409c9c14b5993302ddfa7" },
50 49 "schemastore.nvim": { "branch": "main", "commit": "bfe74baf72ca8964a211286fed864f30c672f19b" },
51 50 "specs.nvim": { "branch": "main", "commit": "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },
52 - "speedtyper.nvim": { "branch": "main", "commit": "d73b3d2bdd574dd9c2e39e3558a4fe26f081d885" },
53 51 "ssr.nvim": { "branch": "main", "commit": "7c95cfa5836508f08ae833a4b31d2ed265560f64" },
54 52 "substitute.nvim": { "branch": "main", "commit": "97f49d16f8eea7967d41db4f657dd63af53eeba1" },
55 53 "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
58 56 "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
59 57 "text-case.nvim": { "branch": "main", "commit": "e898cfd46fa6cde0e83abb624a16e67d2ffc6457" },
60 58 "todo-comments.nvim": { "branch": "main", "commit": "313b04e5b02d29ab9275c9295ff5e2b73921b0eb" },
59 + "tree-sitter-nu": { "branch": "main", "commit": "91ada3c0bed7d2963f6bbe2a57d68d77e67c5f07" },
61 60 "treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" },
62 61 "twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },
63 62 "venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },

neovim/lua/bugabinga/options/ui.lua

Modified
124 124 vim.opt.smoothscroll = true
126 126 -- cursor
127 -vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50'
127 +-- vim.opt.guicursor = 'n-v-c-sm:block-Cursor,i-ci-ve:ver25-blinkon250,r-cr:hor20,o:hor50'
129 129 -- font
130 -vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h15:#e-subpixelantialias:#h-none'
130 +-- vim.opt.guifont = 'Cousine,Symbols Nerd Font Mono:h15:#e-subpixelantialias:#h-none'
132 132 -- neovide only options
133 133 if vim.g.neovide then
134 - -- vim.g.neovide_profiler = false
134 + vim.g.neovide_profiler = false
135 135 -- interpret all touch events as scroll events
136 136 vim.g.neovide_touch_deadzone = 0.0
137 137 -- after this timeout, start a visual selection
138 + vim.g.neovide_underline_stroke_scale = 2.5
138 139 vim.g.neovide_touch_drag_timeout = 0.69
139 - vim.g.neovide_padding_top = 0
140 + vim.g.neovide_padding_top = 8
140 141 vim.g.neovide_padding_left = 8
141 142 vim.g.neovide_padding_bottom = 0
142 143 vim.g.neovide_padding_right = 0
143 144 vim.g.neovide_hide_mouse_when_typing = true
144 145 vim.g.neovide_refresh_rate_idle = 5
146 + vim.g.neovide_theme = 'auto'
147 + vim.g.experimental_layer_grouping = true

neovim/lua/bugabinga/plugins/actions-preview.lua

Deleted
deleted file mode 100644
1 -local map = require 'std.map'
3 -map.normal.visual {
4 - description = 'Open Code Actions Preview...',
5 - category = 'lsp',
6 - keys = '<leader>la',
7 - command = function () require 'actions-preview'.code_actions() end,
8 -}
10 -return {
11 - 'aznhe21/actions-preview.nvim',
12 - opts = {
13 - telescope = {
14 - sorting_strategy = 'ascending',
15 - layout_strategy = 'vertical',
16 - layout_config = {
17 - width = 0.69,
18 - height = 0.42,
19 - prompt_position = 'top',
20 - preview_cutoff = 21,
21 - preview_height = function ( _, _, max_lines )
22 - return max_lines - 16
23 - end,
24 - },
25 - },
26 - },
27 -}

neovim/lua/bugabinga/plugins/autopairs.lua

Modified
5 5 event = 'InsertEnter',
6 6 opts = {
7 7 disable_filetype = ignored.filetypes,
8 + check_ts = true,
9 + enable_check_bracket_line = true,

neovim/lua/bugabinga/plugins/comment.lua

Modified
1 -return { {
1 +return {
2 2 'numToStr/Comment.nvim',
3 3 version = '0.*',
4 + lazy = false,
4 5 keys = {
5 6 { 'gc', mode = { 'n', 'v', }, desc = 'Comment toggle linewise', },
6 7 { 'gb', mode = { 'n', 'v', }, desc = 'Comment toggle blockwise', },
12 13 local commentstring_avail, commentstring = pcall( require, 'ts_context_commentstring.integrations.comment_nvim' )
13 14 return commentstring_avail and commentstring and { pre_hook = commentstring.create_pre_hook(), } or {}
14 15 end,
15 -}, }

neovim/lua/bugabinga/plugins/commentstring.lua

Modified
1 1 return {
2 2 'JoosepAlviste/nvim-ts-context-commentstring',
3 - lazy = false,
4 3 init = function ()
5 4 vim.g.skip_ts_context_commentstring_module = true
6 5 end,

neovim/lua/bugabinga/plugins/conform.lua

Modified
17 17 command = format,
20 -user_command.Format
21 -'Format the current buffer' (
22 - format
23 - )
20 +user_command.Format 'Format the current buffer' ( format )
25 22 return {
26 23 'stevearc/conform.nvim',
33 30 toml = { 'taplo', },
34 31 sh = { 'shfmt', },
35 32 just = { 'just', },
33 + nu = { 'nufmt', },
36 34 zig = { 'zigfmt', },
37 35 -- Use the "*" file type to run formatters on all file types.
38 36 ['*'] = { 'injected', 'typos', },

neovim/lua/bugabinga/plugins/heirline.lua

Added
new file mode 100644
1 +---@diagnostic disable: param-type-mismatch
2 +local icon = require 'std.icon'
3 +local auto = require 'std.auto'
4 +local ignored = require 'std.ignored'
6 +local NEW_FILE = '~untitled~'
8 +return {
9 + {
10 + 'rebelot/heirline.nvim',
11 + version = '1.*',
12 + event = 'VeryLazy',
13 + dependencies = {
14 + 'nvim-tree/nvim-web-devicons',
15 + { 'echasnovski/mini.diff', lazy = true, },
16 + { 'SmiteshP/nvim-navic', lazy = true, },
17 + },
18 + config = function ()
19 + local heirline = require 'heirline'
20 + local conditions = require 'heirline.conditions'
21 + local utils = require 'heirline.utils'
23 + local nugu = require 'bugabinga.nugu.palette'
24 + heirline.load_colors( nugu )
26 + auto 'reload_heirline_colors' {
27 + description = 'Reload dark/light nugu colors for Heirline',
28 + events = 'ColorScheme',
29 + command = function ()
30 + utils.on_colorscheme( nugu )
31 + end,
32 + }
34 + local vi_mode = {
35 + init = function ( self )
36 + self.mode = vim.fn.mode( 1 ) -- :h mode()
37 + end,
39 + static = {
40 + mode_names = {
41 + n = icon.normal,
42 + no = icon.normal .. '?',
43 + nov = icon.normal .. '?',
44 + noV = icon.normal .. '?',
45 + ['no\22'] = icon.normal .. '?',
46 + niI = icon.normal .. 'i',
47 + niR = icon.normal .. 'r',
48 + niV = icon.normal .. 'v',
49 + nt = icon.normal .. 't',
50 + v = icon.visual,
51 + vs = icon.visual .. 's',
52 + V = icon.visual .. '_',
53 + Vs = icon.visual .. 's',
54 + ['\22'] = '^' .. icon.visual,
55 + ['\22s'] = '^' .. icon.visual,
56 + s = icon.select,
57 + S = icon.select .. '_',
58 + ['\19'] = '^' .. icon.select,
59 + i = icon.insert,
60 + ic = icon.insert .. 'c',
61 + ix = icon.insert .. 'x',
62 + R = icon.replace,
63 + Rc = icon.replace .. 'c',
64 + Rx = icon.replace .. 'x',
65 + Rv = icon.replace .. 'v',
66 + Rvc = icon.replace .. 'v',
67 + Rvx = icon.replace .. 'v',
68 + c = icon.command,
69 + cv = icon.command .. 'x',
70 + r = icon.pending,
71 + rm = icon.pending .. 'm',
72 + ['r?'] = icon.pending .. '?',
73 + ['!'] = icon.exclaim,
74 + t = icon.terminal,
75 + },
76 + mode_colors = {
77 + n = 'ui_normal',
78 + i = 'ui_accent',
79 + v = 'ui_important_global',
80 + V = 'ui_important_global',
81 + ['\22'] = 'ui_important_global',
82 + c = 'ui_important_global',
83 + s = 'ui_important_global',
84 + S = 'ui_important_global',
85 + ['\19'] = 'ui_important_global',
86 + R = 'ui_important_global',
87 + r = 'ui_important_global',
88 + ['!'] = 'ui_important_global',
89 + t = 'ui_important_global',
90 + },
91 + },
93 + provider = function ( self )
94 + local mode_name = self.mode_names[self.mode]
95 + return ' ' .. icon.vim .. ' %3(' .. mode_name .. '%) '
96 + end,
98 + hl = function ( self )
99 + local mode = self.mode:sub( 1, 1 ) -- get only the first mode character
100 + return { fg = self.mode_colors[mode], bold = true, }
101 + end,
103 + update = {
104 + 'ModeChanged',
105 + pattern = '*:*',
106 + callback = vim.schedule_wrap( function ()
107 + vim.cmd.redrawstatus()
108 + end ),
109 + },
112 + local file_icon = {
113 + init = function ( self )
114 + local filename = self.filename
115 + local extension = vim.fn.fnamemodify( filename, ':e' )
116 + self.icon = require 'nvim-web-devicons'.get_icon_color( filename, extension, { default = true, } )
117 + end,
118 + provider = function ( self )
119 + return self.icon and (self.icon .. ' ')
120 + end,
121 + hl = 'DefaultIcon',
124 + local file_name = {
125 + init = function ( self )
126 + self.lfilename = vim.fs.normalize( vim.fn.fnamemodify( self.filename, ':.' ) )
127 + if self.lfilename == '' then
128 + self.lfilename = NEW_FILE
129 + end
130 + end,
132 + flexible = 2,
135 + provider = function ( self )
136 + return self.lfilename
137 + end,
138 + },
140 + provider = function ( self )
141 + return vim.fs.normalize( vim.fn.pathshorten( self.lfilename ) )
142 + end,
143 + },
146 + local file_flags = {
148 + condition = function ()
149 + return vim.bo.modified
150 + end,
151 + provider = string.format( ' %s ', icon.modified ),
152 + hl = 'Comment',
153 + },
155 + condition = function ()
156 + return not vim.bo.modifiable or vim.bo.readonly
157 + end,
158 + provider = string.format( ' %s ', icon.lock ),
159 + hl = 'ErrorMsg',
160 + },
163 + local file_name_block = {
164 + init = function ( self )
165 + self.filename = vim.fs.normalize( vim.api.nvim_buf_get_name( 0 ) )
166 + end,
168 + file_icon,
169 + { provider = ' ', },
170 + file_name,
171 + file_flags,
172 + { provider = '%<', }, -- this means that the statusline is cut here when there's not enough space
175 + local file_type = {
176 + provider = function ()
177 + return icon.file .. ' ' .. string.upper( vim.bo.filetype )
178 + end,
181 + local file_encoding = {
182 + provider = function ()
183 + local enc = (vim.bo.fenc ~= '' and vim.bo.fenc) or vim.o.enc -- :h 'enc'
184 + return enc ~= 'utf-8' and enc:upper()
185 + end,
188 + local file_format = {
189 + static = {
190 + dos = icon.newline .. icon.carriage_return,
191 + unix = icon.newline,
192 + mac = icon.carriage_return,
193 + },
194 + provider = function ( self )
195 + local fileformat = vim.bo.fileformat
196 + return self[fileformat]
197 + end,
200 + local file_size = {
201 + provider = function ()
202 + -- stackoverflow, compute human readable file size
203 + -- i want to see vim opening a 1EiB file 󰱯
204 + local suffix = { 'b', 'k', 'M', 'G', 'T', 'P', 'E', }
205 + local fsize = vim.fn.getfsize( vim.api.nvim_buf_get_name( 0 ) )
206 + fsize = (fsize < 0 and 0) or fsize
207 + if fsize < 1024 then
208 + return fsize .. suffix[1]
209 + end
210 + local i = math.floor( (math.log( fsize ) / math.log( 1024 )) )
211 + return string.format( '%.2g%s', fsize / math.pow( 1024, i ), suffix[i + 1] )
212 + end,
215 + local file_last_modified = {
216 + provider = function ()
217 + local ftime = vim.fn.getftime( vim.api.nvim_buf_get_name( 0 ) )
218 + if ftime > 0 then
219 + local timeago = require 'std.timeago'
220 + return timeago.format( ftime )
221 + end
222 + end,
225 + local lsp_active = {
226 + condition = conditions.lsp_attached,
227 + -- FIXME: updates from parent components do not seem to update children,
228 + -- if those have their own updates?
229 + update = { 'LspAttach', 'LspDetach', 'BufEnter', 'BufLeave', },
231 + provider = function ()
232 + local names = {}
233 + for _, client in pairs( vim.lsp.get_clients { bufnr = 0, } ) do
234 + table.insert( names, client.name )
235 + end
236 + return icon.lsp .. ' ' .. table.concat( names, ' ' )
237 + end,
240 + local navic = {
241 + condition = function ()
242 + local ok, navic = pcall( require, 'nvim-navic' )
243 + return ok and navic.is_available()
244 + end,
245 + static = {
246 + -- create a type highlight map
247 + type_hl = {
248 + File = 'Directory',
249 + Module = '@include',
250 + Namespace = '@namespace',
251 + Package = '@include',
252 + Class = '@structure',
253 + Method = '@method',
254 + Property = '@property',
255 + Field = '@field',
256 + Constructor = '@constructor',
257 + Enum = '@field',
258 + Interface = '@type',
259 + Function = '@function',
260 + Variable = '@variable',
261 + Constant = '@constant',
262 + String = '@string',
263 + Number = '@number',
264 + Boolean = '@boolean',
265 + Array = '@field',
266 + Object = '@type',
267 + Key = '@keyword',
268 + Null = '@comment',
269 + EnumMember = '@field',
270 + Struct = '@structure',
271 + Event = '@keyword',
272 + Operator = '@operator',
273 + TypeParameter = '@type',
274 + },
275 + -- bit operation dark magic, see below...
276 + enc = function ( line, col, winnr )
277 + return bit.bor( bit.lshift( line, 16 ), bit.lshift( col, 6 ), winnr )
278 + end,
279 + -- line: 16 bit (65535); col: 10 bit (1023); winnr: 6 bit (63)
280 + dec = function ( c )
281 + local line = bit.rshift( c, 16 )
282 + local col = bit.band( bit.rshift( c, 6 ), 1023 )
283 + local winnr = bit.band( c, 63 )
284 + return line, col, winnr
285 + end,
286 + },
287 + init = function ( self )
288 + local data = require 'nvim-navic'.get_data() or {}
289 + local children = {}
290 + -- create a child for each level
291 + for i, d in ipairs( data ) do
292 + -- encode line and column numbers into a single integer
293 + local pos = self.enc( d.scope.start.line, d.scope.start.character, self.winnr )
294 + local child = {
296 + provider = d.icon,
297 + hl = self.type_hl[d.type],
298 + },
300 + -- escape `%`s (elixir) and buggy default separators
301 + provider = d.name:gsub( '%%', '%%%%' ):gsub( '%s*->%s*', '' ),
302 + -- highlight icon only or location name as well
303 + hl = self.type_hl[d.type],
305 + on_click = {
306 + -- pass the encoded position through minwid
307 + minwid = pos,
308 + callback = function ( _, minwid )
309 + -- decode
310 + local line, col, winnr = self.dec( minwid )
311 + vim.api.nvim_win_set_cursor( vim.fn.win_getid( winnr ), { line, col, } )
312 + end,
313 + name = 'heirline_navic',
314 + },
315 + },
317 + -- add a separator only if needed
318 + if #data > 1 and i < #data then
319 + table.insert( child, {
320 + provider = ' > ',
321 + -- hl = { fg = 'bright_fg', },
322 + } )
323 + end
324 + table.insert( children, child )
325 + end
326 + -- instantiate the new child, overwriting the previous one
327 + self.child = self:new( children, 1 )
328 + end,
329 + -- evaluate the children containing navic components
330 + provider = function ( self )
331 + return self.child:eval()
332 + end,
333 + -- hl = { fg = 'gray', },
334 + update = 'CursorMoved',
337 + local diagnostic_enabled = {
338 + init = function ( self )
339 + self.icon = (not vim.diagnostic.is_enabled()) and icon.toggle_off or icon.toggle_on
340 + end,
341 + provider = function ( self )
342 + return icon.diagnostic .. ' ' .. self.icon
343 + end,
346 + local diagnostic = {
347 + condition = conditions.has_diagnostics,
349 + static = {
350 + error_icon = icon.error,
351 + warn_icon = icon.warn,
352 + info_icon = icon.info,
353 + hint_icon = icon.hint,
354 + },
356 + init = function ( self )
357 + self.errors = #vim.diagnostic.get( 0, { severity = vim.diagnostic.severity.ERROR, } )
358 + self.warnings = #vim.diagnostic.get( 0, { severity = vim.diagnostic.severity.WARN, } )
359 + self.hints = #vim.diagnostic.get( 0, { severity = vim.diagnostic.severity.HINT, } )
360 + self.info = #vim.diagnostic.get( 0, { severity = vim.diagnostic.severity.INFO, } )
361 + end,
363 + update = { 'DiagnosticChanged', 'BufEnter', 'BufLeave', },
366 + provider = function ( self )
367 + -- 0 is just another output, we can decide to print it or not!
368 + return self.errors > 0 and (self.error_icon .. ' ' .. self.errors .. ' ')
369 + end,
370 + hl = 'DiagnosticError',
371 + },
373 + provider = function ( self )
374 + return self.warnings > 0 and (self.warn_icon .. ' ' .. self.warnings .. ' ')
375 + end,
376 + hl = 'DiagnosticWarn',
377 + },
379 + provider = function ( self )
380 + return self.info > 0 and (self.info_icon .. ' ' .. self.info .. ' ')
381 + end,
382 + hl = 'DiagnosticInfo',
383 + },
385 + provider = function ( self )
386 + return self.hints > 0 and (self.hint_icon .. ' ' .. self.hints)
387 + end,
388 + hl = 'DiagnosticHint',
389 + },
392 + local is_svn_repo = function ()
393 + local svn_dir = vim.fs.find( '.svn', {
394 + upward = true,
395 + stop = vim.uv.os_homedir(),
396 + path = vim.fs.dirname( vim.api.nvim_buf_get_name( 0 ) ),
397 + type = 'directory',
398 + } )
400 + return not vim.tbl_isempty( svn_dir )
401 + end
403 + local svn_get_relative_url = function ()
404 + -- FIXME: replace with vim.system
405 + local job = require 'plenary.job'
406 + local relative_url = { '[ERR]', }
408 + job
409 + :new {
410 + command = 'svn',
411 + args = { 'info', '--show-item', 'relative-url', '--no-newline', },
412 + on_exit = function ( current_job, exit_code )
413 + if exit_code == 0 then
414 + relative_url = current_job:result()
415 + end
416 + end,
418 + :sync()
420 + return relative_url[1]
421 + end
423 + local svn = {
424 + condition = is_svn_repo,
426 + update = 'BufEnter',
428 + init = function ( self )
429 + self.relative_url = svn_get_relative_url()
430 + end,
433 + provider = function ( self )
434 + return icon.subversion .. ' ' .. icon.branch .. ' ' .. self.relative_url
435 + end,
436 + },
439 + local git = {
440 + condition = conditions.is_git_repo,
442 + init = function ( self )
443 + self.status_dict = vim.b.minidiff_summary
444 + end,
447 + provider = function ( self )
448 + return icon.git .. ' ' .. icon.branch .. ' ' .. self.status_dict.source_name .. ' '
449 + end,
450 + },
452 + provider = function ( self )
453 + local count = self.status_dict.add or 0
454 + return count > 0 and (icon.diff_add .. ' ' .. count .. ' ')
455 + end,
456 + hl = 'DiffAdd',
457 + },
459 + provider = function ( self )
460 + local count = self.status_dict.delete or 0
461 + return count > 0 and (icon.diff_remove .. ' ' .. count .. ' ')
462 + end,
463 + hl = 'DiffDelete',
464 + },
466 + provider = function ( self )
467 + local count = self.status_dict.change or 0
468 + return count > 0 and (icon.diff_change .. ' ' .. count .. ' ')
469 + end,
470 + hl = 'DiffChange',
471 + },
474 + local work_dir = {
475 + init = function ( self )
476 + self.icon = (vim.fn.haslocaldir( 0 ) == 1 and icon['local'] or '') .. ' ' .. icon.global .. ' '
477 + self.cwd = vim.fs.normalize( vim.uv.cwd() ):gsub( vim.fs.normalize( vim.uv.os_homedir() ), '~' )
478 + end,
480 + flexible = 1,
483 + provider = function ( self )
484 + return self.icon .. self.cwd
485 + end,
486 + },
488 + provider = function ( self )
489 + local cwd = vim.fn.pathshorten( self.cwd )
490 + return self.icon .. cwd
491 + end,
492 + },
494 + provider = '',
495 + },
498 + local help_file_name = {
499 + condition = function ()
500 + return vim.bo.filetype == 'help'
501 + end,
502 + provider = function ()
503 + local filename = vim.api.nvim_buf_get_name( 0 )
504 + return vim.fn.fnamemodify( filename, ':t' )
505 + end,
506 + hl = 'Question',
509 + local terminal_name = {
510 + provider = function ()
511 + local name, _ = vim.api.nvim_buf_get_name( 0 ):gsub( '.*:', '' )
512 + local basename = vim.fs.basename( name )
513 + return icon.terminal .. ' ' .. (basename or 'noname')
514 + end,
515 + hl = 'Bold',
518 + local togglers = {
519 + provider = function ()
520 + local togglers = require 'bugabinga.options.togglers'
521 + return tostring( togglers )
522 + end,
525 + local macro_recording = {
526 + condition = function ()
527 + return vim.fn.reg_recording() ~= '' and vim.o.cmdheight == 0
528 + end,
529 + provider = icon.macro .. ' ',
530 + hl = 'PreProc',
531 + utils.surround( { '░▒▓ ', ' ▓▒░', }, nil, {
532 + provider = function ()
533 + return vim.fn.reg_recording()
534 + end,
535 + hl = 'Bold',
536 + } ),
537 + update = {
538 + 'RecordingEnter',
539 + 'RecordingLeave',
540 + },
543 + local lazy = {
544 + condition = function ()
545 + local ok, lazy_status = pcall( require, 'lazy.status' )
546 + return ok and lazy_status.has_updates()
547 + end,
548 + update = { 'User', pattern = 'LazyUpdate', },
549 + provider = function ()
550 + return ' ' .. icon.lazy .. ' ' .. require 'lazy.status'.updates() .. ' '
551 + end,
552 + on_click = {
553 + callback = function ()
554 + require 'lazy'.update()
555 + end,
556 + name = 'update_plugins',
557 + },
560 + local align = { provider = '%=', }
561 + local space = { provider = ' ', }
563 + local default_statusline = {
564 + vi_mode,
565 + macro_recording,
566 + work_dir,
567 + space,
568 + git,
569 + svn,
570 + align,
571 + diagnostic,
572 + space,
573 + lsp_active,
574 + align,
575 + togglers,
576 + space,
577 + space,
578 + diagnostic_enabled,
579 + space,
580 + lazy,
581 + space,
582 + file_encoding,
583 + space,
584 + file_format,
585 + space,
586 + file_type,
587 + space,
588 + file_size,
589 + space,
590 + file_last_modified,
593 + local special_statusline = {
594 + condition = function ()
595 + return conditions.buffer_matches {
596 + buftype = ignored.buftypes,
597 + filetype = ignored.filetypes,
599 + end,
601 + file_type,
602 + space,
603 + help_file_name,
604 + align,
607 + local terminal_statusline = {
609 + condition = function ()
610 + return conditions.buffer_matches { buftype = { 'terminal', }, }
611 + end,
613 + { condition = conditions.is_active, vi_mode, space, },
614 + file_type,
615 + space,
616 + terminal_name,
617 + align,
620 + local inactive_statusline = {
621 + condition = conditions.is_not_active,
622 + file_type,
623 + space,
624 + file_name,
625 + align,
628 + local statuslines = {
629 + hl = function ()
630 + if conditions.is_active() then
631 + return 'StatusLine'
632 + else
633 + return 'StatusLineNC'
634 + end
635 + end,
637 + fallthrough = false,
639 + special_statusline,
640 + terminal_statusline,
641 + inactive_statusline,
642 + default_statusline,
645 + local winbars = {
646 + hl = function ()
647 + if conditions.is_active() then
648 + return 'Winbar'
649 + else
650 + return 'WinbarNC'
651 + end
652 + end,
654 + fallthrough = false,
657 + condition = function ()
658 + return conditions.buffer_matches { buftype = { 'terminal', }, }
659 + end,
661 + file_type,
662 + space,
663 + terminal_name,
664 + },
667 + file_name_block,
668 + space,
669 + navic,
670 + },
673 + -- local tabline_buffer_number = {
674 + -- provider = function ( self )
675 + -- return '(' .. tostring( self.bufnr ) .. ')'
676 + -- end,
677 + -- hl = function ( self )
678 + -- if self.is_active then
679 + -- return { fg = utils.get_highlight 'TabLineSel'.fg, }
680 + -- elseif not vim.api.nvim_buf_is_loaded( self.bufnr ) then
681 + -- return { fg = utils.get_highlight 'StatusLineNc'.fg, }
682 + -- else
683 + -- return { fg = utils.get_highlight 'TabLine'.fg, }
684 + -- end
685 + -- end,
686 + -- }
688 + -- local tabline_file_name = {
689 + -- provider = function ( self )
690 + -- local name = self.file_name
691 + -- return name == '' and NEW_FILE or vim.fs.normalize( vim.fn.fnamemodify( name, ':t' ) )
692 + -- end,
693 + -- hl = function ( self ) return { bold = self.is_active or self.is_visible, italic = true, } end,
694 + -- }
696 + -- local tabline_file_flags = {
697 + -- {
698 + -- condition = function ( self ) return vim.api.nvim_get_option_value( 'modified', { buf = self.bufnr, } ) end,
699 + -- provider = icon.modified .. ' ',
700 + -- },
701 + -- {
702 + -- condition = function ( self )
703 + -- return not vim.api.nvim_get_option_value( 'modifiable', { buf = self.bufnr, } ) or
704 + -- vim.api.nvim_get_option_value( 'readonly', { buf = self.bufnr, } )
705 + -- end,
706 + -- provider = function ( self )
707 + -- if vim.api.nvim_get_option_value( 'buftype', { buf = self.bufnr, } ) == 'terminal' then
708 + -- return icon.terminal
709 + -- else
710 + -- return icon.lock
711 + -- end
712 + -- end,
713 + -- },
714 + -- hl = 'Bold',
715 + -- }
717 + -- local tabline_file_name_block = {
718 + -- init = function ( self )
719 + -- self.file_name = vim.api.nvim_buf_get_name( self.bufnr )
720 + -- end,
721 + --
722 + -- hl = function ( self )
723 + -- if self.is_active then
724 + -- return 'TabLineSel'
725 + -- elseif not vim.api.nvim_buf_is_loaded( self.bufnr ) then
726 + -- return { fg = utils.get_highlight 'StatusLineNc'.fg, }
727 + -- else
728 + -- return 'TabLine'
729 + -- end
730 + -- end,
731 + --
732 + -- on_click = {
733 + -- callback = function ( _, minwid, _, button )
734 + -- if button == 'm' then --m = middle click
735 + -- vim.schedule( function ()
736 + -- vim.api.nvim_buf_delete( minwid, { force = false, } )
737 + -- vim.cmd.redrawtabline()
738 + -- end )
739 + -- else
740 + -- vim.api.nvim_win_set_buf( 0, minwid )
741 + -- end
742 + -- end,
743 + -- minwid = function ( self ) return self.bufnr end,
744 + -- name = 'heirline_tabline_buffer_callback',
745 + -- },
746 + --
747 + -- file_icon,
748 + -- { provider = ' ', },
749 + -- tabline_file_name,
750 + -- tabline_buffer_number,
751 + -- tabline_file_flags,
752 + -- }
754 + -- local tabline_buffer_block = utils.surround(
755 + -- {
756 + -- ' ' .. icon.slant_left,
757 + -- icon.slant_right .. ' ',
758 + -- },
759 + -- function ( self )
760 + -- if self.is_active then
761 + -- return utils.get_highlight 'TabLine'.bg
762 + -- else
763 + -- return utils.get_highlight 'TabLineFill'.bg
764 + -- end
765 + -- end,
766 + -- { tabline_file_name_block, }
767 + -- )
769 + -- local buffer_line = utils.make_buflist(
770 + -- tabline_buffer_block,
771 + -- { provider = icon.arrow_left .. ' ', hl = 'TabLine', },
772 + -- { provider = ' ' .. icon.arrow_right, hl = 'TabLine', }
773 + -- )
775 + local tabpage = {
776 + provider = function ( self )
777 + return '%' .. self.tabnr .. 'T ' .. self.tabpage .. ' %T'
778 + end,
779 + hl = function ( self )
780 + if self.is_active then
781 + return 'TabLineSel'
782 + else
783 + return 'TabLine'
784 + end
785 + end,
788 + local tab_pages = {
789 + { provider = '%=', },
790 + utils.make_tablist( tabpage ),
793 + -- local tabline = { buffer_line, tab_pages, }
795 + -- local statuscolumn = {}
797 + heirline.setup {
798 + statusline = statuslines,
799 + winbar = winbars,
800 + tabline = tab_pages,
801 + -- tabline = tabline,
802 + -- statuscolumn = statuscolumn,
804 + opts = {
805 + colors = nugu,
806 + disable_winbar_cb = function ( args )
807 + return conditions.buffer_matches( {
808 + buftype = ignored.buftypes,
809 + filetype = ignored.filetypes,
810 + }, args.buf )
811 + end,
812 + },
814 + end,
815 + },

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

Modified
1 1 local ignored = require 'std.ignored'
3 3 return {
4 - {
5 - 'ethanholz/nvim-lastplace',
6 - event = { 'VimEnter', 'SessionLoadPost', },
7 - opts = {
8 - lastplace_ignore_buftype = ignored.buftypes,
9 - lastplace_ignore_filetype = ignored.filetypes,
10 - lastplace_open_folds = true,
11 - },
4 + 'ethanholz/nvim-lastplace',
5 + lazy = false,
6 + opts = {
7 + lastplace_ignore_buftype = ignored.buftypes,
8 + lastplace_ignore_filetype = ignored.filetypes,
9 + lastplace_open_folds = true,

neovim/lua/bugabinga/plugins/lazydev.lua

Deleted
deleted file mode 100644
1 -return {
2 - {
3 - 'folke/lazydev.nvim',
4 - ft = 'lua', -- only load on lua files
5 - opts = {
6 - library = {
7 - 'lazy.nvim',
8 - -- See the configuration section for more details
9 - -- Load luvit types when the `vim.uv` word is found
10 - { path = 'luvit-meta/library', words = { 'vim%.uv', }, },
11 - -- Load the wezterm types when the `wezterm` module is required
12 - -- Needs `justinsgithub/wezterm-types` to be installed
13 - { path = 'wezterm-types', mods = { 'wezterm', }, },
14 - },
15 - },
16 - },
17 - { 'Bilal2453/luvit-meta', lazy = true, }, -- optional `vim.uv` typings
18 - { -- optional completion source for require statements and module annotations
19 - 'hrsh7th/nvim-cmp',
20 - opts = function ( _, opts )
21 - opts.sources = opts.sources or {}
22 - table.insert( opts.sources, {
23 - name = 'lazydev',
24 - group_index = 0, -- set group index to 0 to skip loading LuaLS completions
25 - } )
26 - end,
27 - },
28 - -- { "folke/neodev.nvim", enabled = false }, -- make sure to uninstall or disable neodev.nvim
29 -}

neovim/lua/bugabinga/plugins/lint.lua

Modified
5 5 ft = {
6 6 'lua',
7 7 'sh',
8 - 'vim',
8 + 'nu',
10 10 opts = {
11 11 linters_by_ft = {
12 12 lua = { 'selene', },
13 - sh = { 'shellcheck', },
14 - -- TODO make this linter
15 - -- nu = { 'nu-check', },
13 + sh = { 'shellcheck', 'dotenv_linter', },
14 + systemd = { 'systemd-analyze', },
17 - linters = {},
16 + linters = { },
19 18 config = function ( _, opts )
20 19 local lint = require 'lint'
25 24 local timer = assert( uv.new_timer() )
26 25 local DEBOUNCE_MS = 500
27 26 local aug = vim.api.nvim_create_augroup( 'Lint', { clear = true, } )
28 - vim.api.nvim_create_autocmd( { 'BufEnter', 'BufWritePost', 'TextChanged', 'InsertLeave', }, {
27 + vim.api.nvim_create_autocmd( { 'BufWritePost', }, {
29 28 group = aug,
30 29 callback = function ()
31 30 local bufnr = vim.api.nvim_get_current_buf()
32 31 timer:stop()
33 - timer:start(
34 - DEBOUNCE_MS,
35 - 0,
36 - vim.schedule_wrap( function ()
37 - if vim.api.nvim_buf_is_valid( bufnr ) then
38 - vim.api.nvim_buf_call( bufnr, function () lint.try_lint( nil, { ignore_errors = true, } ) end )
39 - end
40 - end )
32 + timer:start( DEBOUNCE_MS, 0,
33 + vim.schedule_wrap( function ()
34 + if vim.api.nvim_buf_is_valid( bufnr ) then
35 + vim.api.nvim_buf_call( bufnr, function () lint.try_lint( nil, { ignore_errors = true, } ) end )
36 + end
37 + end )
42 39 end,
44 - lint.try_lint( nil, { ignore_errors = true, } )
45 41 end,

neovim/lua/bugabinga/plugins/speedtyper.lua

Deleted
deleted file mode 100644
1 -return {
2 - {
3 - 'NStefan002/speedtyper.nvim',
4 - cmd = 'Speedtyper',
5 - opts = {}
6 - }
7 -}

neovim/lua/bugabinga/plugins/ssr.lua

Modified
4 4 local map = require 'std.map'
5 5 local user_command = require 'std.user_command'
7 7 local open_ssr = function () prequire 'ssr'.open() end
9 9 map.normal.visual {
10 - description = 'Open structural search and replace',
11 - category = 'refactoring',
12 - keys = '<leader>rr',
13 - command = open_ssr,
10 + description = 'Open structural search and replace',
11 + category = 'refactoring',
12 + keys = '<leader>rr',
13 + command = open_ssr,
16 16 user_command.StructuralSearchAndReplace
17 17 'Open structural search and replace view' (
18 - open_ssr
19 - )
18 + open_ssr
19 + )
21 21 return {
22 - 'cshuaimin/ssr.nvim',
23 - opts = {
24 - border = vim.g.border_style,
25 - min_width = 69,
26 - min_height = 42,
27 - max_width = 3 * 69,
28 - max_height = 3 * 42,
29 - adjust_window = true,
30 - keymaps = {
31 - close = 'q',
32 - next_match = 'n',
33 - prev_match = 'N',
34 - replace_confirm = '<cr>',
35 - replace_all = '<c-cr>',
36 - },
37 - },
22 + 'cshuaimin/ssr.nvim',
23 + opts = {
24 + border = vim.g.border_style,
25 + min_width = 69,
26 + min_height = 42,
27 + max_width = 3 * 69,
28 + max_height = 3 * 42,
29 + adjust_window = true,
30 + keymaps = {
31 + close = 'q',
32 + next_match = 'n',
33 + prev_match = 'N',
34 + replace_confirm = '<cr>',
35 + replace_all = '<c-cr>',
36 + },
37 + },

neovim/lua/bugabinga/plugins/treesitter.lua

Modified
10 10 -- version = '0.9.*',
11 11 -- branch = 'main', -- next gen version
12 12 branch = 'master',
13 - event = 'VeryLazy',
14 - init = function ( plugin )
15 - -- PERF: add nvim-treesitter queries to the rtp and it's custom query predicates early
16 - -- This is needed because a bunch of plugins no longer `require("nvim-treesitter")`, which
17 - -- no longer trigger the **nvim-treesitter** module to be loaded in time.
18 - -- Luckily, the only things that those plugins need are the custom queries, which we make available
19 - -- during startup.
20 - require 'lazy.core.loader'.add_to_rtp( plugin )
21 - require 'nvim-treesitter.query_predicates'
22 - end,
13 + lazy = false,
23 14 build = function ()
24 15 require 'nvim-treesitter.install'.update { with_sync = true, }
29 20 'windwp/nvim-ts-autotag',
30 21 'RRethy/nvim-treesitter-endwise',
31 22 'nvim-treesitter/nvim-treesitter-context',
23 + 'nushell/tree-sitter-nu',
33 25 config = function ()
34 26 local install = require 'nvim-treesitter.install'
35 27 local configs = require 'nvim-treesitter.configs'
37 29 install.prefer_git = false
38 - install.compilers = { 'zig', 'clang', 'gcc', 'cl', 'cc', vim.fn.getenv 'CC', }
30 + install.compilers = { 'zig cc', 'clang', 'gcc', 'cl', 'cc', vim.fn.getenv 'CC', }
40 32 local should_disable = function ( _, bufnr )
41 33 local max_filesize = 5 * 1024 * 1024 --MiB

neovim/lua/bugabinga/plugins/virt-column.lua

Modified
1 1 local ignored = require 'std.ignored'
2 +local icon = require 'std.icon'
3 4 return {
4 5 'lukas-reineke/virt-column.nvim',
5 6 version = '2.*',
6 7 event = 'VeryLazy',
7 8 opts = {
8 - char = { '┆', '╎', '│', },
9 + char = { icon.vertical_bar },
9 10 exclude = {
10 11 filetypes = ignored.filetypes,
11 12 buftypes = ignored.buftypes,

neovim/spell/nerd.utf-8.add

Modified
75 75 FIXMEs
76 76 JSpecify
77 +aerc
78 +yazi
79 +magit
80 +gitu
81 +sk

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
5 5 use ssh-keygen-ed.nu
6 6 use md.nu
7 7 use start.nu
8 +use timer.nu
10 +if $env.WIN32 {
11 + use refreshenv.nu *
9 14 source ($nu.default-config-dir | path join 'aliases.nu')
11 16 # must be done, after defining config, since zoxide mutates it
12 17 # this will fail if zoxide is not installed yet
13 18 source ($nu.default-config-dir | path join "zoxide.nu")
20 +source ($nu.default-config-dir | path join "scripts/direnv.nu")
22 +todo commands
23 +print (char nl)
24 +todo

nushell/scripts/direnv.nu

Added
new file mode 100644
1 +def direnv [] {
2 + [
3 + {
4 + condition: {|before, after| ($before != $after) and ($after | path join '.env' | path exists) }
5 + code: r#'
6 + open .env
7 + | lines
8 + | parse --regex '\s*(?P<k>.+?)\s*=\s*?(?P<v>.+)?\s*'
9 + | reduce --fold {} {|x, acc| $acc | upsert $x.k $x.v}
10 + | load-env
11 + '#
12 + }
13 + ]
16 +export-env {
17 + $env.config = ( $env.config | upsert hooks.env_change.PWD { |config|
18 + let o = ($config | get -i hooks.env_change.PWD)
19 + let val = (direnv)
20 + if $o == null {
21 + $val
22 + } else {
23 + $o | append $val
24 + }
25 + })

nushell/scripts/refreshenv.nu

Added
new file mode 100644
1 +def --env refreshenv [] {
2 + let user_path = registry query --hkcu environment | where name == Path | get value | split row ';' |
3 + where { |x| $x != '' }
4 + let sys_path = registry query --hklm 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment' | where name == Path | get value |
5 + split row ';' | where { |x| $x != '' }
7 + let out = $user_path ++ $sys_path ++ $env.path | uniq --ignore-case
8 + $env.path = $out
9 +}

nushell/scripts/timer.nu

Added
new file mode 100644
1 +export def main [ input: string ] {
3 + if (which tclock | is-empty) {
4 + error make {
5 + msg: "The program `tclock` is required!"
6 + }
7 + }
9 + if ( $input | is-empty ) {
10 + error make {
11 + msg: "timer needs a duration or time"
12 + label: {
13 + span: (metadata $input).span
14 + }
15 + help: "try 'timer 5min' for example"
16 + }
17 + }
19 + let duration = try { $input | into duration --unit sec }
21 + if ($duration != null) {
22 + start_with_duration ( $duration | into string | str replace sec s)
23 + return
24 + }
26 + let time = try { $input | into datetime }
28 + if ($time != null) {
29 + start_with_time $time
30 + return
31 + }
33 + error make {
34 + msg: "The input given is neiter a duration nor a time."
35 + label: {
36 + span: (metadata $input).span
37 + }
38 + help: "Consult `help into duration` and `help into datetime` for valid input."
39 + }
42 +export def beep [] {
43 + notify --summary "timer finished" --body "timer is done!" --app-name timer
45 + for idx in 1..6 {
46 + seq (random float 100..500) 50 (random float 500..1000) | each { sound make --amplify ( $idx | into float ) $in 144ms }
47 + }
50 +def start_with_duration [ duration: string ] {
51 + run-external tclock timer '--paused' '--no-millis' '--duration' $duration '--execute' 'nu --commands "use timer.nu; timer beep"'
54 +def pad [] {
55 + fill --width 2 --character 0 --alignment right
58 +def start_with_time [ time: datetime ] {
59 + let time = ($time | into record)
60 + let time = $"($time.year)-($time.month|pad)-($time.day|pad)T($time.hour|pad):($time.minute|pad):($time.second|pad)($time.timezone)"
61 + run-external tclock countdown '--title' Timer '--time' $time
62 + # FIXME: Why can countdown not execute external cmd?

tools/tools.csv

Modified
8 8 cargo-update;cargo-install-update
9 9 choose
10 10 du-dust; dust
11 +dotenv-linter
12 13 eza; eza; --features vendored-openssl,vendored-libgit2
13 14 fend
14 15 fd-find;fd
15 16 git-delta;delta
16 17 gitu;gitu; --locked
18 +gitoxide
18 20 hexyl
19 21 hyperfine
34 36 mdsh
35 37 monolith
36 38 # netscanner
39 +neovide;neovide; --git https://github.com/neovide/neovide
37 40 nu;nu; --locked
38 41 neovide; neovide; --git https://github.com/neovide/neovide
42 +nu_plugin_audio_hook; nu_plugin_audio_hook; --git https://github.com/FMotalleb/nu_plugin_audio_hook.git --features all-decoders
43 +nu_plugin_skim
44 +nu_plugin_desktop_notifications
39 45 ouch
40 46 pastel
41 47 pueue;pueue;--locked