repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

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

3e243c9388e0d35cb292720f6e16d675199cf029

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (16)

+359 / −207 text lines

Diff layout

.gitignore

Modified

+2 / −0 text lines

77nushell/zoxide.nu
88nushell/history.txt
99nushell/plugin.nu
10profile.log
11neovim/profile.svg

neovim/init.lua

Modified

+20 / −5 text lines

88-- ▀▀▀ █ █ ██ █
99-- ▀ ▀
11-- set general neovim editor settings
12require 'bugabinga.options'
11local profiler = require 'plenary.profile'
12profiler.start('profile.log', { flame = true })
14-- the order of the first module to load is non-obvious.
15-- we want to load the plugins first, because the config depends on those.
16-- but we also want to load the module-cache plugin first, in order to benefit from caching most modules.
17-- for this and other reasons, all modules defined here should use a graceful version `require`, that allows handling the absence of modules.
18-- use either `bugabinga.std.want` or `pcall`.
19--
20--that way, we can order the modules here logically, assuming all plugins are installed.
21--if (some) plugins are not installed, the config gracefully degrades in features, but does not throw errors.
22--
23-- load this before all other plugins so that they may be cached
24require 'bugabinga.module-cache'
1326-- install plugin manager and declare plugins to use
1427require 'bugabinga.plugins'
16-- load this before all other plugins so that they may be cached
17require 'bugabinga.module-cache'
29-- set general neovim editor settings
30require 'bugabinga.options'
1932-- load ui stuff
2033require 'bugabinga.notify'
5972local keymap_build = require('bugabinga.std.keymap').build
6073keymap_build()
75profiler.stop()
6276-- TODO:
63-- [ ] icon facade: icon.get("name")
6477-- [ ] DAP
78-- [ ] icon facade: icon.get("name")
6579-- [ ] put all keybinds into facade
6680-- [ ] hydra cycle buffers
6781-- [ ] make keymap facade immediate and support buffer local binds
6983-- [ ] add fstabfmt to null-ls
7084-- [ ] undofile not work?
7185-- [ ] why does redo not work?
86-- [ ] add keybind to dismiss notify window
7287-- [ ] start a toggleterm with: watch <buffer> { clear; mdcat <buffer> }
7388-- [ ] load plugins/init.lua and sync on write. reload init.lua?
7489-- [ ] disable gomove in special buffers

neovim/justfile

Modified

+1 / −1 text lines

1818update:
1919 nvim --headless -u NONE -c 'lua require"bugabinga.plugins.headless"'
21profile_file := `$"startuptime/(hostname | str trim)_(date now | date format '%Y_%m_%d_%H_%M_%S').txt"`
21profile_file := `$"startuptime/(sys | get host | get hostname)_(date now | date format '%Y_%m_%d_%H_%M_%S').txt"`
2323# Profile startuptime of neovim. Depends on vim-startuptime.
2424profile:

neovim/lua/bugabinga/icons.lua

Modified

+78 / −78 text lines

11local want = require 'bugabinga.std.want'
2want { 'nvim-web-devicons' } (function(devicons)
3 devicons.setup {
4 override = {
5 sh = {
6 icon = '',
7 color = '#1DC123',
8 cterm_color = '59',
9 name = 'Sh',
10 },
11 toml = {
12 icon = '',
13 color = '#e24329',
14 cterm_color = '59',
15 name = 'Toml',
16 },
17 justfile = {
18 icon = 'ﮧ',
19 color = '#999eff',
20 cterm_color = '59',
21 name = 'Justfile',
22 },
23 Justfile = {
24 icon = 'ﮧ',
25 color = '#999eff',
26 cterm_color = '59',
27 name = 'Justfile',
28 },
29 ['.justfile'] = {
30 icon = 'ﮧ',
31 color = '#999eff',
32 cterm_color = '59',
33 name = 'Justfile',
34 },
35 ['.Justfile'] = {
36 icon = 'ﮧ',
37 color = '#999eff',
38 cterm_color = '59',
39 name = 'Justfile',
40 },
41 ['.gitattributes'] = {
42 icon = '',
43 color = '#e24329',
44 cterm_color = '59',
45 name = 'GitAttributes',
46 },
47 ['.gitconfig'] = {
48 icon = '',
49 color = '#e24329',
50 cterm_color = '59',
51 name = 'GitConfig',
52 },
53 ['.gitignore'] = {
54 icon = '',
55 color = '#e24329',
56 cterm_color = '59',
57 name = 'GitIgnore',
58 },
59 ['.gitlab-ci.yml'] = {
60 icon = '',
61 color = '#e24329',
62 cterm_color = '166',
63 name = 'GitlabCI',
64 },
65 ['.gitmodules'] = {
66 icon = '',
67 color = '#e24329',
68 cterm_color = '59',
69 name = 'GitModules',
70 },
71 ['diff'] = {
72 icon = '',
73 color = '#e24329',
74 cterm_color = '59',
75 name = 'Diff',
76 },
77 },
78 default = true,
79 }
2want { 'nvim-web-devicons' }(function(devicons)
3 devicons.setup {
4 override = {
5 sh = {
6 icon = '',
7 color = '#1DC123',
8 cterm_color = '59',
9 name = 'Sh',
10 },
11 toml = {
12 icon = '',
13 color = '#e24329',
14 cterm_color = '59',
15 name = 'Toml',
16 },
17 justfile = {
18 icon = 'ﮧ',
19 color = '#999eff',
20 cterm_color = '59',
21 name = 'Justfile',
22 },
23 Justfile = {
24 icon = 'ﮧ',
25 color = '#999eff',
26 cterm_color = '59',
27 name = 'Justfile',
28 },
29 ['.justfile'] = {
30 icon = 'ﮧ',
31 color = '#999eff',
32 cterm_color = '59',
33 name = 'Justfile',
34 },
35 ['.Justfile'] = {
36 icon = 'ﮧ',
37 color = '#999eff',
38 cterm_color = '59',
39 name = 'Justfile',
40 },
41 ['.gitattributes'] = {
42 icon = '',
43 color = '#e24329',
44 cterm_color = '59',
45 name = 'GitAttributes',
46 },
47 ['.gitconfig'] = {
48 icon = '',
49 color = '#e24329',
50 cterm_color = '59',
51 name = 'GitConfig',
52 },
53 ['.gitignore'] = {
54 icon = '',
55 color = '#e24329',
56 cterm_color = '59',
57 name = 'GitIgnore',
58 },
59 ['.gitlab-ci.yml'] = {
60 icon = '',
61 color = '#e24329',
62 cterm_color = '166',
63 name = 'GitlabCI',
64 },
65 ['.gitmodules'] = {
66 icon = '',
67 color = '#e24329',
68 cterm_color = '59',
69 name = 'GitModules',
70 },
71 ['diff'] = {
72 icon = '',
73 color = '#e24329',
74 cterm_color = '59',
75 name = 'Diff',
76 },
77 },
78 default = true,
79 }
8080end)
8282--[[ FIXME: integrate those into devicons

neovim/lua/bugabinga/module-cache.lua

Modified

+8 / −1 text lines

1local impatient = require 'impatient'
1-- usually i would use the `want` function here.
2-- but impatient wants to override the require function as soon as possible
3-- to get most out of the cache.
4local ok, impatient = pcall(require, 'impatient')
5if not ok then
6 vim.notify('modules will not be cached, because `impatient` could not be found.', 'error')
7 return
8end
29-- FIXME: enable profile only when neovim was startet with --startuptime?
310impatient.enable_profile()

neovim/lua/bugabinga/move-code.lua

Modified

+12 / −12 text lines

11local want = require 'bugabinga.std.want'
2want { 'gomove' } (function(move)
3 move.setup {
4 --FIXME: replace with keymap facade
5 -- whether or not to map default key bindings, (true/false)
6 map_defaults = true,
7 -- whether or not to reindent lines moved vertically (true/false)
8 reindent = true,
9 -- whether or not to undojoin same direction moves (true/false)
10 undojoin = true,
11 -- whether to not to move past end column when moving blocks horizontally, (true/false)
12 move_past_end_col = false,
13 }
2want { 'gomove' }(function(move)
3 move.setup {
4 --FIXME: replace with keymap facade
5 -- whether or not to map default key bindings, (true/false)
6 map_defaults = true,
7 -- whether or not to reindent lines moved vertically (true/false)
8 reindent = true,
9 -- whether or not to undojoin same direction moves (true/false)
10 undojoin = true,
11 -- whether to not to move past end column when moving blocks horizontally, (true/false)
12 move_past_end_col = false,
13 }
1414end)

neovim/lua/bugabinga/options/autocommands.lua

Modified

+21 / −21 text lines

11local auto = require 'bugabinga.std.auto'
33auto 'highlight_yanked_text' {
4 description = 'briefly highlight yanked text',
5 events = 'TextYankPost',
6 pattern = '*',
7 callback = function()
8 vim.highlight.on_yank { timeout = 500 }
9 end,
4 description = 'briefly highlight yanked text',
5 events = 'TextYankPost',
6 pattern = '*',
7 callback = function()
8 vim.highlight.on_yank { timeout = 500 }
9 end,
1212auto 'disable_colorcolumn_in_special_buffers' {
13 description = 'Hide colorcolumn in buffers, that do not show source code.',
14 events = { 'FileType' },
15 --FIXME: neo-tree filetype seems not to get matched, why?
16 pattern = 'Trouble,qf,neo-tree,help,toggleterm',
17 callback = function()
18 vim.opt_local.colorcolumn = {}
19 end,
13 description = 'Hide colorcolumn in buffers, that do not show source code.',
14 events = { 'FileType' },
15 --FIXME: neo-tree filetype seems not to get matched, why?
16 pattern = 'Trouble,qf,neo-tree,help,toggleterm',
17 callback = function()
18 vim.opt_local.colorcolumn = {}
19 end,
2222auto 'change_readonly_style' {
23 description = 'Change some highlights for readonly buffers.',
24 events = { 'BufEnter' },
25 callback = function()
26 if vim.bo.readonly then
27 -- TODO: use extmark to somehow indicate this file is readonly
28 vim.notify 'this buffer is read-only'
29 end
30 end,
23 description = 'Change some highlights for readonly buffers.',
24 events = { 'BufEnter' },
25 callback = function()
26 if vim.bo.readonly then
27 -- TODO: use extmark to somehow indicate this file is readonly
28 vim.notify 'this buffer is read-only'
29 end
30 end,

neovim/lua/bugabinga/options/keymaps.lua

Modified

+21 / −0 text lines

2020vim.keymap.set('', '<Down>', '<NOP>', { silent = true })
2121vim.keymap.set('', '<Left>', '<NOP>', { silent = true })
2222vim.keymap.set('', '<Right>', '<NOP>', { silent = true })
24local function open_link_under_cursor()
25 local file_under_cursor = vim.fn.expand '<cfile>'
26 --check that it vaguely resembles an URI
27 if file_under_cursor and file_under_cursor:match '%a+://.+' then
28 local Job = require 'plenary.job'
29 Job
30 :new({
31 --FIXME: a x-platform command is needed here
32 command = 'firefox',
33 args = { file_under_cursor },
34 on_exit = function(status, code)
35 print(status:result(), code)
36 vim.notify('Openend ' .. file_under_cursor)
37 end,
38 })
39 :start()
40 end
41end
43vim.keymap.set('n', 'gx', open_link_under_cursor, { silent = true })

neovim/lua/bugabinga/options/ui.lua

Modified

+8 / −8 text lines

6262-- neovide only options
6363if vim.g.neovide then
64 vim.g.neovide_floating_blur_amount_x = 4.0
65 vim.g.neovide_floating_blur_amount_y = 4.0
66 vim.g.neovide_scroll_animation_length = 0.33
67 vim.g.neovide_fullscreen = true
68 vim.g.neovide_profiler = false
69 vim.g.neovide_cursor_animation_length = 0.11
70 vim.g.neovide_cursor_trail_length = 0.666
71 vim.g.neovide_cursor_vfx_mode = 'pixiedust'
64 vim.g.neovide_floating_blur_amount_x = 4.0
65 vim.g.neovide_floating_blur_amount_y = 4.0
66 vim.g.neovide_scroll_animation_length = 0.33
67 vim.g.neovide_fullscreen = true
68 vim.g.neovide_profiler = false
69 vim.g.neovide_cursor_animation_length = 0.11
70 vim.g.neovide_cursor_trail_length = 0.666
71 vim.g.neovide_cursor_vfx_mode = 'pixiedust'
7272end

neovim/lua/bugabinga/plugins/headless.lua

Modified

+2 / −1 text lines

44auto 'close_neovim' {
55 description = 'Close neovim after updating plugins.',
6 events = { 'User PaqDoneSync' },
6 events = { 'User' },
7 pattern = 'PaqDoneSync',
78 command = 'quit',
89}

neovim/lua/bugabinga/search.lua

Modified

+22 / −22 text lines

11local want = require 'bugabinga.std.want'
2want { 'hlslens' } (function(_)
3 local noremap_silent = { noremap = true, silent = true }
2want { 'hlslens' }(function(_)
3 local noremap_silent = { noremap = true, silent = true }
5 -- FIXME: hlslens uses some highlights, that my theme does not cover yet
6 -- FIXME: use keymap facade
7 -- FIXME: change commands to lua callbacks
8 vim.api.nvim_set_keymap(
9 'n',
10 'n',
11 [[<Cmd>execute('normal! ' . v:count1 . 'n')<CR><Cmd>lua require('hlslens').start()<CR>]],
12 noremap_silent
13 )
14 vim.api.nvim_set_keymap(
15 'n',
16 'N',
17 [[<Cmd>execute('normal! ' . v:count1 . 'N')<CR><Cmd>lua require('hlslens').start()<CR>]],
18 noremap_silent
19 )
20 vim.api.nvim_set_keymap('n', '*', [[*<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
21 vim.api.nvim_set_keymap('n', '#', [[#<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
22 vim.api.nvim_set_keymap('n', 'g*', [[g*<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
23 vim.api.nvim_set_keymap('n', 'g#', [[g#<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
5 -- FIXME: hlslens uses some highlights, that my theme does not cover yet
6 -- FIXME: use keymap facade
7 -- FIXME: change commands to lua callbacks
8 vim.api.nvim_set_keymap(
9 'n',
10 'n',
11 [[<Cmd>execute('normal! ' . v:count1 . 'n')<CR><Cmd>lua require('hlslens').start()<CR>]],
12 noremap_silent
13 )
14 vim.api.nvim_set_keymap(
15 'n',
16 'N',
17 [[<Cmd>execute('normal! ' . v:count1 . 'N')<CR><Cmd>lua require('hlslens').start()<CR>]],
18 noremap_silent
19 )
20 vim.api.nvim_set_keymap('n', '*', [[*<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
21 vim.api.nvim_set_keymap('n', '#', [[#<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
22 vim.api.nvim_set_keymap('n', 'g*', [[g*<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
23 vim.api.nvim_set_keymap('n', 'g#', [[g#<Cmd>lua require('hlslens').start()<CR>]], noremap_silent)
25 vim.api.nvim_set_keymap('n', '<LEADER><LEADER>', '<CMD>noh<CR>', noremap_silent)
25 vim.api.nvim_set_keymap('n', '<LEADER><LEADER>', '<CMD>noh<CR>', noremap_silent)
2626end)

neovim/lua/bugabinga/start-screen.lua

Modified

+28 / −28 text lines

11local want = require 'bugabinga.std.want'
2want { 'alpha', 'alpha.themes.startify' } (function(alpha, theme)
3 --FIXME add "open alpha" keymap
4 theme.section.header.val = {
5 [[ ▄▄▄▄ █ ██ ▄████ ▄▄▄ ▄▄▄▄ ██▓███▄ █ ▄████ ▄▄▄ ]],
6 [[▓█████▄ ██ ▓██▒██▒ ▀█▒████▄ ▓█████▄▓██▒██ ▀█ █ ██▒ ▀█▒████▄ ]],
7 [[▒██▒ ▄█▓██ ▒██▒██░▄▄▄▒██ ▀█▄ ▒██▒ ▄█▒██▓██ ▀█ ██▒██░▄▄▄▒██ ▀█▄ ]],
8 [[▒██░█▀ ▓▓█ ░██░▓█ ██░██▄▄▄▄██▒██░█▀ ░██▓██▒ ▐▌██░▓█ ██░██▄▄▄▄██ ]],
9 [[░▓█ ▀█▒▒█████▓░▒▓███▀▒▓█ ▓██░▓█ ▀█░██▒██░ ▓██░▒▓███▀▒▓█ ▓██▒]],
10 [[░▒▓███▀░▒▓▒ ▒ ▒ ░▒ ▒ ▒▒ ▓▒█░▒▓███▀░▓ ░ ▒░ ▒ ▒ ░▒ ▒ ▒▒ ▓▒█░]],
11 [[▒░▒ ░░░▒░ ░ ░ ░ ░ ▒ ▒▒ ▒░▒ ░ ▒ ░ ░░ ░ ▒░ ░ ░ ▒ ▒▒ ░]],
12 [[ ░ ░ ░░░ ░ ░░ ░ ░ ░ ▒ ░ ░ ▒ ░ ░ ░ ░░ ░ ░ ░ ▒ ]],
13 [[ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ░]],
14 [[ ░ ░ ]],
15 }
16 theme.section.top_buttons.val = {
17 theme.button('e', ' New file', '<CMD>new | startinsert <CR>'),
18 }
19 theme.section.bottom_buttons.val = {
20 theme.button('q', ' Quit NVIM', ':qa<CR>'),
21 }
22 theme.section.mru.val = { { type = 'padding', val = 0 } }
23 theme.section.footer = {
24 { type = 'text', val = 'bugabinga.net' },
25 }
26 theme.mru_opts.ignore = function(path, _)
27 return string.find(path, 'COMMIT_EDITMSG')
28 end
29 alpha.setup(theme.config)
2want { 'alpha', 'alpha.themes.startify' }(function(alpha, theme)
3 --FIXME add "open alpha" keymap
4 theme.section.header.val = {
5 [[ ▄▄▄▄ █ ██ ▄████ ▄▄▄ ▄▄▄▄ ██▓███▄ █ ▄████ ▄▄▄ ]],
6 [[▓█████▄ ██ ▓██▒██▒ ▀█▒████▄ ▓█████▄▓██▒██ ▀█ █ ██▒ ▀█▒████▄ ]],
7 [[▒██▒ ▄█▓██ ▒██▒██░▄▄▄▒██ ▀█▄ ▒██▒ ▄█▒██▓██ ▀█ ██▒██░▄▄▄▒██ ▀█▄ ]],
8 [[▒██░█▀ ▓▓█ ░██░▓█ ██░██▄▄▄▄██▒██░█▀ ░██▓██▒ ▐▌██░▓█ ██░██▄▄▄▄██ ]],
9 [[░▓█ ▀█▒▒█████▓░▒▓███▀▒▓█ ▓██░▓█ ▀█░██▒██░ ▓██░▒▓███▀▒▓█ ▓██▒]],
10 [[░▒▓███▀░▒▓▒ ▒ ▒ ░▒ ▒ ▒▒ ▓▒█░▒▓███▀░▓ ░ ▒░ ▒ ▒ ░▒ ▒ ▒▒ ▓▒█░]],
11 [[▒░▒ ░░░▒░ ░ ░ ░ ░ ▒ ▒▒ ▒░▒ ░ ▒ ░ ░░ ░ ▒░ ░ ░ ▒ ▒▒ ░]],
12 [[ ░ ░ ░░░ ░ ░░ ░ ░ ░ ▒ ░ ░ ▒ ░ ░ ░ ░░ ░ ░ ░ ▒ ]],
13 [[ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ░]],
14 [[ ░ ░ ]],
15 }
16 theme.section.top_buttons.val = {
17 theme.button('e', ' New file', '<CMD>new | startinsert <CR>'),
18 }
19 theme.section.bottom_buttons.val = {
20 theme.button('q', ' Quit NVIM', ':qa<CR>'),
21 }
22 theme.section.mru.val = { { type = 'padding', val = 0 } }
23 theme.section.footer = {
24 { type = 'text', val = 'bugabinga.net' },
25 }
26 theme.mru_opts.ignore = function(path, _)
27 return string.find(path, 'COMMIT_EDITMSG')
28 end
29 alpha.setup(theme.config)
3030end)

neovim/lua/bugabinga/treesitter.lua

Modified

+2 / −1 text lines

66 'hlargs',
77 'neogen',
88}(function(install, configs, parsers, hlargs, neogen)
9 install.compilers = { 'zig', 'clang', 'gcc', 'cl', 'cc', vim.fn.getenv 'CC' }
9 install.compilers = { 'zig cc', 'clang', 'gcc', 'cl', 'cc', vim.fn.getenv 'CC' }
1010 install.prefer_git = true
1212 configs.setup {
3333 'lua',
3434 'make',
3535 'markdown',
36 'markdown_inline',
3637 'ninja',
3738 'proto',
3839 'python',

neovim/lua/bugabinga/windows.lua

Modified

+20 / −20 text lines

11local want = require 'bugabinga.std.want'
22want {
3 'focus',
4 'stabilize',
5 'shade',
6} (function(focus, stabilize, shade)
7 local excluded_filetypes = { 'toggleterm', 'qf', 'help', 'Trouble', 'neo-tree' }
3 'focus',
4 'stabilize',
5 'shade',
6}(function(focus, stabilize, shade)
7 local excluded_filetypes = { 'toggleterm', 'qf', 'help', 'Trouble', 'neo-tree' }
9 focus.setup {
10 excluded_filetypes = excluded_filetypes,
11 excluded_buftypes = { 'nofile', 'prompt', 'popup', 'help', 'terminal' },
12 compatible_filetrees = { 'neo-tree' },
13 cursorline = false,
14 signcolumn = false,
15 }
9 focus.setup {
10 excluded_filetypes = excluded_filetypes,
11 excluded_buftypes = { 'nofile', 'prompt', 'popup', 'help', 'terminal' },
12 compatible_filetrees = { 'neo-tree' },
13 cursorline = false,
14 signcolumn = false,
15 }
17 stabilize.setup()
17 stabilize.setup()
19 -- when shade is enabled with neovide (MULTIGRID), everything is blurry
20 if not vim.g.neovide then
21 shade.setup {
22 overlay_opacity = 42,
23 exclude_filetypes = excluded_filetypes,
24 }
25 end
19 -- when shade is enabled with neovide (MULTIGRID), everything is blurry
20 if not vim.g.neovide then
21 shade.setup {
22 overlay_opacity = 42,
23 exclude_filetypes = excluded_filetypes,
24 }
25 end
2626end)

neovim/startuptime/x230_2022_07_02_12_20_21.txt

Added
new file mode 100644

+114 / −0 text lines

1Extra options: [init.lua]
2Measured: 100 times
3
4Total Average: 542.197000 msec
5Total Max: 618.351000 msec
6Total Min: 520.947000 msec
7
8 AVERAGE MAX MIN
9---------------------------------
10495.977580 573.231000 474.888000: /home/oli/.config/nvim/init.lua
11 10.897490 13.200000 10.446000: loading packages
12 5.335870 6.086000 5.105000: loading after plugins
13 4.422350 5.017000 4.160000: loading rtp plugins
14 3.746160 4.151000 3.536000: sourcing vimrc file(s)
15 2.025000 2.902000 1.552000: opening buffers
16 1.445410 1.846000 1.347000: reading ShaDa
17 1.326570 1.699000 1.069000: BufEnter autocommands
18 1.247260 1.890000 0.976000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textobjects/plugin/nvim-treesitter-textobjects.vim
19 1.215630 1.602000 0.930000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter/plugin/nvim-treesitter.lua
20 0.857930 1.163000 0.810000: /usr/share/nvim/runtime/syntax/syntax.vim
21 0.681860 1.094000 0.562000: /home/oli/.local/share/nvim/site/pack/paqs/start/symbols-outline.nvim/plugin/symbols-outline.vim
22 0.654870 1.056000 0.476000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
23 0.654390 1.086000 0.604000: /usr/share/vim/vimfiles/plugin/skim.vim
24 0.597970 0.778000 0.565000: init lua interpreter
25 0.546160 0.969000 0.344000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-cmp/plugin/cmp.lua
26 0.541700 0.804000 0.430000: /home/oli/.local/share/nvim/site/pack/plugins/start/kommentary/plugin/kommentary.vim
27 0.518110 0.762000 0.394000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-autotag/plugin/nvim-ts-autotag.vim
28 0.461910 0.830000 0.371000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-gomove/plugin/gomove.lua
29 0.418630 0.641000 0.175000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
30 0.375510 0.664000 0.261000: /home/oli/.local/share/nvim/site/pack/plugins/start/lsp-colors.nvim/plugin/lsp-colors.vim
31 0.357520 0.609000 0.241000: /home/oli/.local/share/nvim/site/pack/paqs/start/playground/plugin/nvim-treesitter-playground.lua
32 0.354420 0.676000 0.310000: /home/oli/.local/share/nvim/site/pack/paqs/start/indent-blankline.nvim/plugin/indent_blankline.vim
33 0.335850 0.556000 0.271000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-buffer/after/plugin/cmp_buffer.lua
34 0.334820 0.570000 0.219000: /home/oli/.local/share/nvim/site/pack/paqs/start/Comment.nvim/after/plugin/Comment.lua
35 0.333540 0.484000 0.307000: inits 1
36 0.329590 0.522000 0.304000: /home/oli/.local/share/nvim/site/pack/plugins/start/hop.nvim/plugin/hop.vim
37 0.314200 0.523000 0.288000: /home/oli/.local/share/nvim/site/pack/plugins/start/completion-nvim/plugin/completion.vim
38 0.307430 0.556000 0.219000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textsubjects/plugin/nvim-treesitter-textsubjects.vim
39 0.305590 0.443000 0.224000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope.nvim/plugin/telescope.lua
40 0.285390 0.486000 0.268000: init highlight
41 0.277090 0.506000 0.249000: /home/oli/.local/share/nvim/site/pack/paqs/start/LuaSnip/plugin/luasnip.vim
42 0.265430 0.567000 0.112000: /home/oli/.local/share/nvim/site/pack/plugins/start/playground/plugin/nvim-treesitter-playground.vim
43 0.202940 0.337000 0.184000: /usr/share/nvim/runtime/plugin/rplugin.vim
44 0.197320 0.361000 0.129000: /home/oli/.local/share/nvim/site/pack/paqs/start/leap.nvim/plugin/init.lua
45 0.191340 0.335000 0.174000: /usr/share/nvim/runtime/plugin/matchparen.vim
46 0.174290 0.259000 0.138000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp_luasnip/after/plugin/cmp_luasnip.lua
47 0.172330 0.250000 0.158000: /home/oli/.local/share/nvim/site/pack/paqs/start/registers.nvim/plugin/registers.vim
48 0.153980 0.312000 0.101000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-context-commentstring/plugin/ts_context_commentstring.vim
49 0.149720 0.277000 0.124000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-path/after/plugin/cmp_path.lua
50 0.144150 0.256000 0.130000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lsp-installer/plugin/nvim-lsp-installer.vim
51 0.140190 0.331000 0.105000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lspconfig/plugin/lspconfig.vim
52 0.134570 0.230000 0.111000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp-document-symbol/after/plugin/cmp_nvim_lsp_document_symbol.lua
53 0.126730 0.183000 0.115000: /usr/share/nvim/runtime/syntax/synload.vim
54 0.123530 0.188000 0.110000: event init
55 0.111590 0.244000 0.077000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-dap/plugin/dap.lua
56 0.100060 0.154000 0.087000: early init
57 0.094560 0.323000 0.078000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-hlslens/plugin/hlslens.vim
58 0.088480 0.165000 0.071000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua
59 0.088330 0.175000 0.072000: /home/oli/.local/share/nvim/site/pack/paqs/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim
60 0.085760 0.156000 0.065000: /home/oli/.local/share/nvim/site/pack/paqs/start/dressing.nvim/plugin/dressing.lua
61 0.085190 0.312000 0.076000: /usr/share/nvim/runtime/plugin/shada.vim
62 0.083940 0.150000 0.071000: /home/oli/.local/share/nvim/site/pack/paqs/start/trouble.nvim/plugin/trouble.vim
63 0.081230 0.104000 0.068000: /usr/share/nvim/runtime/ftplugin.vim
64 0.077130 0.158000 0.064000: /home/oli/.local/share/nvim/site/pack/paqs/start/hydra.nvim/plugin/hydra.lua
65 0.075550 0.255000 0.068000: /home/oli/.local/share/nvim/site/pack/paqs/start/statusline.lua/plugin/statusline.vim
66 0.075480 0.130000 0.066000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-lsputils/plugin/nvim-lsputils.vim
67 0.071010 0.141000 0.058000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua
68 0.067920 0.108000 0.056000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
69 0.063900 0.109000 0.054000: /usr/share/nvim/runtime/plugin/man.vim
70 0.058050 0.096000 0.049000: /home/oli/.local/share/nvim/site/pack/plugins/start/popfix/plugin/popfix.vim
71 0.057760 0.093000 0.051000: locale set
72 0.056650 0.114000 0.051000: /home/oli/.local/share/nvim/site/pack/paqs/start/editorconfig.nvim/plugin/editorconfig.vim
73 0.055860 0.086000 0.050000: /home/oli/.local/share/nvim/site/pack/paqs/start/plenary.nvim/plugin/plenary.vim
74 0.054050 0.095000 0.048000: /home/oli/.local/share/nvim/site/pack/plugins/start/plenary.nvim/plugin/plenary.vim
75 0.052150 0.217000 0.046000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-colorizer.lua/plugin/colorizer.vim
76 0.050580 0.077000 0.045000: /etc/xdg/nvim/sysinit.vim
77 0.050470 0.084000 0.043000: inits 2
78 0.049860 0.079000 0.043000: expanding arguments
79 0.049000 0.092000 0.043000: parsing arguments
80 0.048360 0.078000 0.036000: init first window
81 0.047940 0.094000 0.043000: /home/oli/.local/share/nvim/site/pack/paqs/start/neo-tree.nvim/plugin/neo-tree.vim
82 0.045540 0.101000 0.036000: /usr/share/nvim/runtime/filetype.lua
83 0.044590 0.117000 0.038000: /home/oli/.local/share/nvim/site/pack/paqs/start/filetype.nvim/filetype.vim
84 0.044000 0.112000 0.038000: /home/oli/.local/share/nvim/site/pack/paqs/start/todo-comments.nvim/plugin/todo.vim
85 0.042960 0.128000 0.038000: /usr/share/nvim/runtime/indent.vim
86 0.040340 0.080000 0.036000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope-frecency.nvim/plugin/frecency.vim
87 0.040210 0.101000 0.037000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-jdtls/plugin/nvim_jdtls.vim
88 0.034460 0.089000 0.030000: /home/oli/.local/share/nvim/site/pack/paqs/start/lsp-zero.nvim/plugin/lsp-zero.vim
89 0.031380 0.054000 0.027000: clearing screen
90 0.027320 0.058000 0.025000: /home/oli/.local/share/nvim/site/pack/plugins/start/telescope.nvim/plugin/telescope.vim
91 0.025810 0.069000 0.023000: /usr/share/nvim/runtime/plugin/netrwPlugin.vim
92 0.025280 0.070000 0.019000: /usr/share/nvim/runtime/plugin/gzip.vim
93 0.025220 0.041000 0.023000: inits 3
94 0.024900 0.040000 0.023000: /usr/share/nvim/runtime/plugin/tutor.vim
95 0.024650 0.062000 0.022000: /home/oli/.local/share/nvim/site/pack/paqs/start/rust-tools.nvim/plugin/rust-tools.vim
96 0.022730 0.049000 0.020000: /usr/share/nvim/runtime/filetype.vim
97 0.022720 0.038000 0.021000: /usr/share/nvim/runtime/plugin/zipPlugin.vim
98 0.022030 0.049000 0.019000: /home/oli/.local/share/nvim/site/pack/plugins/start/which-key.nvim/plugin/which-key.vim
99 0.021690 0.041000 0.020000: /usr/share/nvim/runtime/plugin/tarPlugin.vim
100 0.021060 0.033000 0.018000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-colorizer.lua/plugin/colorizer.vim
101 0.020510 0.029000 0.019000: init default mappings
102 0.020110 0.041000 0.018000: init default autocommands
103 0.019670 0.031000 0.017000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
104 0.018500 0.045000 0.016000: /usr/share/nvim/runtime/plugin/matchit.vim
105 0.018140 0.031000 0.017000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-treesitter/plugin/nvim-treesitter.vim
106 0.017140 0.025000 0.015000: window checked
107 0.016580 0.029000 0.015000: /usr/share/nvim/runtime/plugin/spellfile.vim
108 0.016530 0.027000 0.015000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-lspconfig/plugin/lspconfig.vim
109 0.016010 0.027000 0.014000: /usr/share/nvim/runtime/plugin/health.vim
110 0.015850 0.025000 0.014000: /usr/share/nvim/archlinux.vim
111 0.015580 0.028000 0.014000: /usr/share/nvim/runtime/plugin/tohtml.vim
112 0.013420 0.023000 0.012000: /home/oli/.local/share/nvim/rplugin.vim
113 0.010580 0.023000 0.009000: --- NVIM STARTING ---
114 0.006270 0.011000 0.005000: editing files in windows

tools/cargo-tools.nu

Modified

+0 / −9 text lines

6464 }
67let cargo_git_crates = [
68 "https://github.com/mosmeh/indexa"
69]
7167def install-helix-editor [] {
7268 cd $env.WORKSPACE
7369 if ( $env.WORKSPACE | path join "helix/.git" | path exists ) {
9187 echo $"($crate.name) already installed"
9288 }
9389 }
94 # crates, that are not even on crates.io are not likely to be packeged anywhere else.
95 # so we skip the check if the binary is already in path
96 $cargo_git_crates | each { |crate|
97 cargo install --locked --git $crate
98 }
9990 install-helix-editor