repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge remote-tracking branch 'refs/remotes/origin/trunk'

b82b90a9c91ab55133676dde9a99d3b8327d7908

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Conflicts:
	.gitignore
	neovim/init.lua
	neovim/lua/bugabinga/options/file.lua
	neovim/lua/bugabinga/options/init.lua
	neovim/lua/bugabinga/plugins/init.lua

Changed files (33)

+951 / −402 text lines · all files grouped into 32 bars

.gitignore

Modified

+4 / −0 text lines

7 7 nushell/zoxide.nu
8 8 nushell/history.txt
9 9 nushell/plugin.nu
10 +<<<<<<< HEAD
10 11 neovim/profile.log
12 +=======
13 +profile.log
14 +>>>>>>> trunk
11 15 neovim/profile.svg

neovim/filetype.lua

Added
new file mode 100644

+29 / −0 text lines

1 +-- use builtin lua filetype detection
2 +vim.g.do_filetype_lua = 1
3 +-- disable builtin filetype.vim
4 +vim.g.did_load_filetypes = 0
6 +vim.filetype.add {
7 + extension = {
8 + service = 'systemd',
9 + mount = 'systemd',
10 + timer = 'systemd',
11 + socket = 'systemd',
12 + network = 'systemd',
13 + just = 'just',
14 + -- lua = function(path)
15 + -- if path:match 'neovim' and path:match 'dotfiles' then
16 + -- -- TODO: a custom file type for lua neovim configuration can be used to
17 + -- -- start the lua lsp in a specific mode to neovim
18 + -- return 'neovim.lua'
19 + -- end
20 + -- return 'lua'
21 + -- end,
22 + },
23 + filename = {
24 + ['justfile'] = 'just',
25 + ['Justfile'] = 'just',
26 + ['.justfile'] = 'just',
27 + ['.Justfile'] = 'just',
28 + },

neovim/ftplugin/markdown.lua

Modified

+30 / −0 text lines

2 2 -- auto save markdown files
3 3 vim.opt_local.autowriteall = true
4 4 -- hide code block fences
5 5 vim.opt_local.conceallevel = 2
7 +local want = require 'bugabinga.std.want'
8 +-- local auto = require 'bugabinga.std.auto'
9 +local map = require 'bugabinga.std.keymap'
10 +-- TODO C-V open markdown preview
12 +want { 'toggleterm.terminal' } (function(toggleterm)
13 + local Terminal = toggleterm.Terminal
14 + -- local buffer_content = vim.api.nvim_buf_get_lines(0, 0, -1, false)
15 + local file = vim.api.nvim_buf_get_name(0)
16 + local mdcat = Terminal:new {
17 + cmd = 'mdcat ' .. file,
18 + direction = 'float',
19 + float_opts = { border = 'curved' },
20 + start_in_insert = false,
21 + on_open = function(terminal)
22 + -- terminal:send(buffer_content)
23 + end,
24 + }
25 + map {
26 + name = 'Open Markdown Preview',
27 + description = 'Opens a preview of the current markdown buffer in a terminal.',
28 + category = map.CATEGORY.MARKDOWN,
29 + mode = map.MODE.NORMAL,
30 + keys = '<C-v>',
31 + command = function()
32 + mdcat:toggle()
33 + end,
34 + }
35 +end)

neovim/init.lua

Modified

+26 / −15 text lines

8 8 -- ▀▀▀ █ █ ██ █
9 9 -- ▀ ▀
11 --- set general neovim editor settings
12 -require 'bugabinga.options'
11 +-- the order of the first module to load is non-obvious.
12 +-- we want to load the plugins first, because the config depends on those.
13 +-- but we also want to load the module-cache plugin first, in order to benefit from caching most modules.
14 +-- for this and other reasons, all modules defined here should use a graceful version `require`, that allows handling the absence of modules.
15 +-- use either `bugabinga.std.want` or `pcall`.
16 +--
17 +--that way, we can order the modules here logically, assuming all plugins are installed.
18 +--if (some) plugins are not installed, the config gracefully degrades in features, but does not throw errors.
19 +--
20 +-- load this before all other plugins so that they may be cached
21 +require 'bugabinga.module-cache'
13 23 -- install plugin manager and declare plugins to use
14 24 require 'bugabinga.plugins'
16 --- load this before all other plugins so that they may be cached
17 -require 'bugabinga.module-cache'
26 +-- set general neovim editor settings
27 +require 'bugabinga.options'
19 29 -- load ui stuff
20 30 require 'bugabinga.notify'
36 46 require 'bugabinga.problems'
38 48 -- load editor features
39 -require 'bugabinga.filetype'
40 49 require 'bugabinga.move-code'
41 50 require 'bugabinga.last-known-position'
42 51 require 'bugabinga.fast-navigation'
54 63 -- lsp
55 64 require 'bugabinga.lsp'
57 --- should be one of the last things to do.
58 --- applies all the declared keybindings to neovim.
59 -local keymap_build = require('bugabinga.std.keymap').build
60 -keymap_build()
62 66 -- TODO:
63 --- [ ] icon facade: icon.get("name")
64 67 -- [ ] DAP
68 +-- [ ] preview multimedia with telescope
69 +-- [ ] icon facade: icon.get("name")
70 +-- [ ] make keymap facade immediate and support buffer local binds
65 71 -- [ ] put all keybinds into facade
66 72 -- [ ] hydra cycle buffers
67 --- [ ] make keymap facade immediate and support buffer local binds
68 --- [ ] change style for read only files
69 73 -- [ ] add fstabfmt to null-ls
70 --- [ ] undofile not work?
71 --- [ ] why does redo not work?
74 +-- [ ] add keybind to dismiss notify window
72 75 -- [ ] start a toggleterm with: watch <buffer> { clear; mdcat <buffer> }
73 76 -- [ ] load plugins/init.lua and sync on write. reload init.lua?
77 +<<<<<<< HEAD
74 78 -- [ ] disable gomove in special buffers
75 79 -- [ ] replace filetype.lua plugin with builtin: https://neovim.io/news/2022/04
76 80 -- [ ] lsp diagnostics hide in insert mode
81 +=======
82 +-- [ ] change style for read only files
83 +-- [~] disable gomove in special buffers
84 +-- [x] replace filetype.lua plugin with builtin: https://neovim.io/news/2022/04
85 +-- [x] undofile not work?
86 +-- [x] why does redo not work?
87 +>>>>>>> trunk
77 88 -- [x] JDTLS
78 89 -- [~] bindings for luadev
79 90 -- [~] close toogleterms on quit

neovim/justfile

Modified

+1 / −1 text lines

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

neovim/lua/bugabinga/filetype.lua

Deleted
deleted file mode 100644

+0 / −28 text lines

1 -local want = require 'bugabinga.std.want'
2 -want { 'filetype' }(function(filetype)
3 - -- disable builtin filetype.vim
4 - vim.g.did_load_filetypes = 1
6 - -- the filetype plugins breaks expectations by other plugins by not loading
7 - -- ftdetect, like filetype.vim does.
8 - -- if that turns out to be a problem, comment these lines in, to get the old
9 - -- behaviour
10 - --
11 - -- vim.cmd[[runtime! ftdetect/*.vim]]
12 - -- vim.cmd[[runtime! ftdetect/*.lua]]
14 - filetype.setup {
15 - overrides = {
16 - extensions = {
17 - service = 'systemd',
18 - just = 'just',
19 - },
20 - literal = {
21 - justfile = 'just',
22 - Justfile = 'just',
23 - ['.justfile'] = 'just',
24 - ['.Justfile'] = 'just',
25 - },
26 - },
27 - }
28 -end)

neovim/lua/bugabinga/fuzzy-search-ui.lua

Modified

+3 / −5 text lines

1 -local map = require('bugabinga.std.keymap').add
1 +local map = require('bugabinga.std.keymap')
2 2 local want = require 'bugabinga.std.want'
3 3 want { 'telescope', 'command_center', 'dressing' }(function(telescope, command_center, dressing)
4 4 -- Command Center gets loaded here to configure it in the context of Telescope.
8 8 map {
9 9 name = 'Open Command Center',
10 10 description = 'Opens the Command Center with Telescope to show all available keybound commands.',
11 - mode = 'n',
12 - map = '<C-p>',
13 - map_options = {},
14 - category = nil,
11 + mode = map.MODE.NORMAL,
12 + keys = '<C-p>',
15 13 command = function()
16 14 telescope.extensions.command_center.command_center()
17 15 end,

neovim/lua/bugabinga/icons.lua

Modified

+78 / −78 text lines

1 1 local want = require 'bugabinga.std.want'
2 -want { '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 - }
2 +want { '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 + }
82 82 --[[ FIXME: integrate those into devicons

neovim/lua/bugabinga/module-cache.lua

Modified

+8 / −1 text lines

1 -local 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.
4 +local ok, impatient = pcall(require, 'impatient')
5 +if not ok then
6 + vim.notify('modules will not be cached, because `impatient` could not be found.', 'error')
7 + return
8 +end
2 9 -- FIXME: enable profile only when neovim was startet with --startuptime?
3 10 impatient.enable_profile()

neovim/lua/bugabinga/move-code.lua

Modified

+12 / −12 text lines

1 1 local want = require 'bugabinga.std.want'
2 -want { '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 - }
2 +want { '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 + }
14 14 end)

neovim/lua/bugabinga/options/autocommands.lua

Modified

+21 / −21 text lines

1 1 local auto = require 'bugabinga.std.auto'
3 3 auto '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,
12 12 auto '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,
22 22 auto '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/file.lua

Modified

+23 / −0 text lines

4 4 -- Keep track of file changes outside of vim
5 5 vim.opt.autoread = true
7 7 -- encode files in UTF-8
8 8 vim.opt.fileencoding = 'utf-8'
10 +<<<<<<< HEAD
10 11 -- create backup files
11 12 vim.opt.backup = true
17 18 vim.opt.writebackup = true
21 +=======
22 +-- do not create local backup files
23 +vim.opt.backup = true
24 +-- by default backups are created next to the edited file.
25 +-- that tends to pollute the workspace.
26 +-- instead, backup to the second default directory only.
27 +-- neovim should create it if it does not exist.
28 +-- the double slash at the end means something important...
29 +-- i think it means to use full path as name for backup files to avoid
30 +-- collisions.
31 +vim.opt.backupdir = vim.fn.stdpath 'state' .. '/backup//'
33 +-- do not make a backup before writing to a file
34 +vim.opt.writebackup = true
36 +-- save a swap file after every 100 typed characters.
37 +vim.opt.swapfile = true
38 +vim.opt.updatecount = 100
40 +-- enable persistent undo. save undo history across neovim instances
41 +vim.opt.undofile = true
42 +>>>>>>> trunk

neovim/lua/bugabinga/options/init.lua

Modified

+5 / −0 text lines

2 2 -- NEOVIM EDITOR OPTIONS
4 4 require 'bugabinga.options.behaviour'
5 5 require 'bugabinga.options.ui'
6 +require 'bugabinga.options.file'
6 7 require 'bugabinga.options.keymaps'
7 8 require 'bugabinga.options.autocommands'
33 34 'rrhelper',
34 35 'spellfile_plugin',
35 36 'matchit',
37 +<<<<<<< HEAD
36 38 'matchparen',
39 +=======
40 + --'matchparen',
41 +>>>>>>> trunk
38 43 for _, plugin in pairs(disabled_built_ins) do
39 44 vim.g['loaded_' .. plugin] = 1

neovim/lua/bugabinga/options/keymaps.lua

Modified

+91 / −11 text lines

1 +local map = require 'bugabinga.std.keymap'
1 2 -- set <SPACE> as leader key
2 -vim.keymap.set('', '<SPACE>', '<NOP>', { silent = true })
3 +map {
4 + mode = map.MODE.ALL,
5 + keys = map.KEY.SPACE,
6 + command = map.COMMAND.NOP,
7 + visible = false,
8 +}
3 9 vim.g.mapleader = ' '
4 10 vim.g.maplocalleader = ' '
6 12 -- disable default ENTER binding
7 -vim.keymap.set('', '<CR>', '<NOP>', { silent = true })
13 +map {
14 + mode = map.MODE.ALL,
15 + keys = map.KEY.ENTER,
16 + command = map.COMMAND.NOP,
17 + visible = false,
9 20 -- disable command history keymap, because i fatfinger it too often
10 21 -- FIXME: these seem to disable the binding only partially.
11 22 -- when pressing q: "fast", it is disabled.
12 23 -- when pausing between q and :, the binding still opens command history.
13 --- this may be relatred to the timeoutlen setting?
14 -vim.keymap.set('', 'q:', '<NOP>', { silent = true })
15 -vim.keymap.set('', 'q/', '<NOP>', { silent = true })
16 -vim.keymap.set('', 'Q', '<NOP>', { silent = true })
24 +-- this may be related to the timeoutlen setting?
25 +map {
26 + mode = map.MODE.ALL,
27 + keys = 'q:',
28 + command = map.COMMAND.NOP,
29 + visible = false,
31 +map {
32 + mode = map.MODE.ALL,
33 + keys = 'q/',
34 + command = map.COMMAND.NOP,
35 + visible = false,
37 +map {
38 + mode = map.MODE.ALL,
39 + keys = 'Q',
40 + command = map.COMMAND.NOP,
41 + visible = false,
18 43 -- disable them evil arrows
19 -vim.keymap.set('', '<Up>', '<NOP>', { silent = true })
20 -vim.keymap.set('', '<Down>', '<NOP>', { silent = true })
21 -vim.keymap.set('', '<Left>', '<NOP>', { silent = true })
22 -vim.keymap.set('', '<Right>', '<NOP>', { silent = true })
44 +map {
45 + mode = map.MODE.ALL,
46 + keys = map.KEY.UP,
47 + command = map.COMMAND.NOP,
48 + visible = false,
50 +map {
51 + mode = map.MODE.ALL,
52 + keys = map.KEY.DOWN,
53 + command = map.COMMAND.NOP,
54 + visible = false,
56 +map {
57 + mode = map.MODE.ALL,
58 + keys = map.KEY.LEFT,
59 + command = map.COMMAND.NOP,
60 + visible = false,
62 +map {
63 + mode = map.MODE.ALL,
64 + keys = map.KEY.RIGHT,
65 + command = map.COMMAND.NOP,
66 + visible = false,
69 +local function open_link_under_cursor()
70 + local file_under_cursor = vim.fn.expand '<cfile>'
71 + --check that it vaguely resembles an URI
72 + if file_under_cursor and file_under_cursor:match '%a+://.+' then
73 + local Job = require 'plenary.job'
74 + Job
75 + :new({
76 + --FIXME: a x-platform command is needed here
77 + command = 'firefox',
78 + args = { file_under_cursor },
79 + on_exit = function(status, code)
80 + print(status:result(), code)
81 + vim.notify('Openend ' .. file_under_cursor)
82 + end,
83 + })
84 + :start()
85 + end
86 +end
88 +map {
89 + description = 'Open web link under cursor in browser',
90 + category = map.CATEGORY.NAVIGATION,
91 + mode = map.MODE.NORMAL,
92 + keys = 'gx',
93 + command = open_link_under_cursor,
96 +map {
97 + description = 'Dismiss current notifications',
98 + category = map.CATEGORY.NOTIFY,
99 + mode = map.MODE.NORMAL,
100 + keys = map.KEY.ESCAPE,
101 + command = function()pcall(vim.notify.dismiss)end,

neovim/lua/bugabinga/options/ui.lua

Modified

+8 / −8 text lines

74 74 -- neovide only options
75 75 if vim.g.neovide then
76 - vim.g.neovide_floating_blur_amount_x = 4.0
77 - vim.g.neovide_floating_blur_amount_y = 4.0
78 - vim.g.neovide_scroll_animation_length = 0.33
79 - vim.g.neovide_fullscreen = true
80 - vim.g.neovide_profiler = false
81 - vim.g.neovide_cursor_animation_length = 0.11
82 - vim.g.neovide_cursor_trail_length = 0.666
83 - vim.g.neovide_cursor_vfx_mode = 'pixiedust'
76 + vim.g.neovide_floating_blur_amount_x = 4.0
77 + vim.g.neovide_floating_blur_amount_y = 4.0
78 + vim.g.neovide_scroll_animation_length = 0.33
79 + vim.g.neovide_fullscreen = true
80 + vim.g.neovide_profiler = false
81 + vim.g.neovide_cursor_animation_length = 0.11
82 + vim.g.neovide_cursor_trail_length = 0.666
83 + vim.g.neovide_cursor_vfx_mode = 'pixiedust'

neovim/lua/bugabinga/plugins/headless.lua

Modified

+2 / −1 text lines

3 3 local auto = require 'bugabinga.std.auto'
4 4 local paq = require 'bugabinga.plugins'
6 6 auto 'close_neovim' {
7 7 description = 'Close neovim after updating plugins.',
8 - events = { 'User PaqDoneSync' },
8 + events = { 'User' },
9 + pattern = 'PaqDoneSync',
9 10 command = 'quit',

neovim/lua/bugabinga/plugins/init.lua

Modified

+7 / −0 text lines

4 4 local paq = require 'bugabinga.plugins.install'
5 5 paq {
6 6 -- allow paq to manage itself
7 7 'savq/paq-nvim',
8 8 -- caches other plugins for faster startup
9 9 'lewis6991/impatient.nvim',
10 +<<<<<<< HEAD
10 11 -- faster implementation of filetypes.vim
11 12 'nathom/filetype.nvim',
13 +=======
14 +>>>>>>> trunk
12 15 -- Utilities used by some plugins, e.g. telescope
13 16 'nvim-lua/plenary.nvim',
14 17 -- collection of icons used by other plugins. needs a nerd font
144 147 -- autoclose pairs on enter and completion
145 148 'windwp/nvim-autopairs',
146 149 -- glue, that binds all the neovim lsp crap
150 +<<<<<<< HEAD
147 151 -- 'VonHeikemen/lsp-zero.nvim',
152 +=======
153 + 'VonHeikemen/lsp-zero.nvim',
154 +>>>>>>> trunk
148 155 -- LSP Support
149 156 'neovim/nvim-lspconfig',
150 157 'williamboman/nvim-lsp-installer',

neovim/lua/bugabinga/search.lua

Modified

+22 / −22 text lines

1 1 local want = require 'bugabinga.std.want'
2 -want { 'hlslens' } (function(_)
3 - local noremap_silent = { noremap = true, silent = true }
2 +want { '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)
26 26 end)

neovim/lua/bugabinga/start-screen.lua

Modified

+28 / −28 text lines

1 1 local want = require 'bugabinga.std.want'
2 -want { '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)
2 +want { '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)
30 30 end)

neovim/lua/bugabinga/std/keymap.lua

Modified

+43 / −73 text lines

1 --- this is a facade API over keybindings, so that i can more freely experiments
2 --- with different plugins and newer neovim APIs.
3 ---
4 --- this module returns 2 functions.
5 --- the first takes a keybinding and collects them.
6 --- the second function converts the declared keybindings into actual mappings
7 --- neovim and other plugins.
8 ---
9 --- a keybinging is expected to have the following structure:
10 --- {
11 --- name = "Open Command Center",
12 --- description = "Opens the Command Center with Telescope to show all available keybound commands.",
13 --- category = nil,
14 --- mode = "n",
15 --- map = "<C-P>",
16 --- map_options = { silent = true, noremap = true },
17 --- command = function() require'telescope'.run("command_center") end,
18 --- }
19 ---
20 --- use the first function throughout the configuration to declare keybindings.
21 --- call the second function at the end of the configuration to actually apply
22 --- the keybindings to the system.
24 1 local want = require 'bugabinga.std.want'
2 +local bind = want { 'command_center' } (function(command_center)
3 + return function(map)
4 + map.visible = map.visible or true
5 + map.options = map.options or {}
6 + local options = vim.tbl_extend('keep', map.options, { silent = true })
7 + if map.visible then
8 + command_center.add({
9 + name = map.name,
10 + description = map.description,
11 + category = map.category,
12 + cmd = map.command,
13 + keybindings = { map.mode, map.keys, options },
14 + }, command_center.mode.ADD_ONLY)
15 + end
16 + -- use neovim api to add keybind instead of command_center, because it has
17 + -- nicer defaults.
18 + vim.keymap.set(map.mode, map.keys, map.command, options)
19 + end
20 +end)
26 -local keybindings = {}
28 -local function add(keybinding)
29 - table.insert(keybindings, keybinding)
30 -end
32 --- the goal of this function is to process a list of keybinds.
33 --- those keybinds need to:
34 --- * be added to Command Center
35 --- * be transformed into a tree and feed to the Hydra
36 --- * left-over keybinds, that do not form a tree, need to be mapped manually
37 -local function build()
38 - -- registering keybinds in command center.
39 - -- this will NOT YET apply the keymap in neovim.
40 - want { 'command_center' }(function(command_center)
41 - local converted_bindings_for_command_center = {}
42 - --example of a command-center keybind table
43 - --{
44 - -- description = "Open git diffview",
45 - -- cmd = "<CMD>DiffviewOpen<CR>",
46 - -- keybindings = { "n", "<leader>gd", noremap },
47 - -- category = "git",
48 - -- }
49 - for _, keybind in pairs(keybindings) do
50 - local converted = {
51 - description = keybind.description,
52 - category = keybind.category,
53 - cmd = keybind.command,
54 - keybindings = { keybind.mode, keybind.map, keybind.map_options },
55 - }
56 - table.insert(converted_bindings_for_command_center, converted)
57 - end
58 - command_center.add(converted_bindings_for_command_center, command_center.mode.ADD_ONLY)
59 - end)
61 - -- FIXME feed the beast!
63 - -- Manually map the left-over keybindings with the neovim api.
64 - -- It is assumed, that all keybinds eaten by the Hydra are removed from
65 - -- `keybindings`.
67 - for _, keybind in pairs(keybindings) do
68 - vim.keymap.set(keybind.mode, keybind.map, keybind.command, keybind.map_options)
69 - end
70 -end
72 -return {
73 - add = add,
74 - build = build,
75 -}
22 +return setmetatable({
23 + MODE = {
24 + NORMAL = 'n',
25 + ALL = '',
26 + },
27 + KEY = {
28 + SPACE = '<SPACE>',
29 + ENTER = '<CR>',
30 + ESCAPE = '<ESC>',
31 + UP = '<Up>',
32 + DOWN = '<Down>',
33 + LEFT = '<Left>',
34 + RIGHT = '<Right>',
35 + },
36 + COMMAND = {
37 + NOP = function() end,
38 + },
39 + CATEGORY = {
40 + NAVIGATION = 'navigation',
41 + NOTIFY = 'notify',
42 + },
43 +},{
44 + __call = function(_, ...) return bind(...) end,
45 +})

neovim/lua/bugabinga/treesitter.lua

Modified

+2 / −1 text lines

6 6 'hlargs',
7 7 'neogen',
8 8 }(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' }
10 10 install.prefer_git = true
12 12 configs.setup {
33 33 'lua',
34 34 'make',
35 35 'markdown',
36 + 'markdown_inline',
36 37 'ninja',
37 38 'proto',
38 39 'python',

neovim/lua/bugabinga/windows.lua

Modified

+20 / −20 text lines

1 1 local want = require 'bugabinga.std.want'
2 2 want {
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
26 26 end)

neovim/startuptime/x230_2022_07_02_12_20_21.txt

Added
new file mode 100644

+114 / −0 text lines

1 +Extra options: [init.lua]
2 +Measured: 100 times
4 +Total Average: 542.197000 msec
5 +Total Max: 618.351000 msec
6 +Total Min: 520.947000 msec
8 + AVERAGE MAX MIN
9 +---------------------------------
10 +495.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

neovim/startuptime/x230_2022_07_05_08_27_43.txt

Added
new file mode 100644

+114 / −0 text lines

1 +Extra options: [init.lua]
2 +Measured: 100 times
4 +Total Average: 210.622070 msec
5 +Total Max: 226.287000 msec
6 +Total Min: 204.690000 msec
8 + AVERAGE MAX MIN
9 +---------------------------------
10 +155.097290 171.722000 149.592000: /home/oli/.config/nvim/init.lua
11 + 13.237180 14.748000 12.898000: loading packages
12 + 6.524820 7.083000 6.365000: loading after plugins
13 + 5.404500 6.005000 5.236000: loading rtp plugins
14 + 4.595380 5.221000 4.333000: sourcing vimrc file(s)
15 + 2.167390 3.107000 1.732000: opening buffers
16 + 1.801000 2.443000 1.732000: reading ShaDa
17 + 1.678660 2.613000 1.232000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textobjects/plugin/nvim-treesitter-textobjects.vim
18 + 1.496880 1.916000 1.323000: BufEnter autocommands
19 + 1.353290 1.970000 0.867000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter/plugin/nvim-treesitter.lua
20 + 1.075160 1.646000 1.020000: /usr/share/nvim/runtime/syntax/syntax.vim
21 + 0.816020 1.088000 0.694000: /home/oli/.local/share/nvim/site/pack/paqs/start/symbols-outline.nvim/plugin/symbols-outline.vim
22 + 0.794500 0.994000 0.761000: /usr/share/vim/vimfiles/plugin/skim.vim
23 + 0.739890 1.431000 0.412000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
24 + 0.732120 0.958000 0.665000: init lua interpreter
25 + 0.708510 1.469000 0.606000: /home/oli/.local/share/nvim/site/pack/plugins/start/kommentary/plugin/kommentary.vim
26 + 0.638470 0.899000 0.509000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-cmp/plugin/cmp.lua
27 + 0.531910 0.795000 0.346000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-autotag/plugin/nvim-ts-autotag.vim
28 + 0.530270 0.726000 0.466000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-gomove/plugin/gomove.lua
29 + 0.505340 1.176000 0.317000: /home/oli/.local/share/nvim/site/pack/plugins/start/lsp-colors.nvim/plugin/lsp-colors.vim
30 + 0.482540 1.368000 0.250000: /home/oli/.local/share/nvim/site/pack/paqs/start/playground/plugin/nvim-treesitter-playground.lua
31 + 0.472900 1.113000 0.212000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
32 + 0.435290 0.533000 0.385000: /home/oli/.local/share/nvim/site/pack/paqs/start/indent-blankline.nvim/plugin/indent_blankline.vim
33 + 0.410870 0.613000 0.358000: inits 1
34 + 0.406800 0.560000 0.383000: /home/oli/.local/share/nvim/site/pack/plugins/start/hop.nvim/plugin/hop.vim
35 + 0.382170 0.472000 0.360000: /home/oli/.local/share/nvim/site/pack/plugins/start/completion-nvim/plugin/completion.vim
36 + 0.377160 0.533000 0.216000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope.nvim/plugin/telescope.lua
37 + 0.361300 0.560000 0.326000: init highlight
38 + 0.350550 0.549000 0.302000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-buffer/after/plugin/cmp_buffer.lua
39 + 0.322740 0.549000 0.303000: /home/oli/.local/share/nvim/site/pack/paqs/start/LuaSnip/plugin/luasnip.vim
40 + 0.319120 1.065000 0.160000: /home/oli/.local/share/nvim/site/pack/plugins/start/playground/plugin/nvim-treesitter-playground.vim
41 + 0.290510 0.449000 0.197000: /home/oli/.local/share/nvim/site/pack/paqs/start/Comment.nvim/after/plugin/Comment.lua
42 + 0.288620 0.537000 0.168000: /home/oli/.local/share/nvim/site/pack/paqs/start/leap.nvim/plugin/init.lua
43 + 0.268990 0.401000 0.150000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textsubjects/plugin/nvim-treesitter-textsubjects.vim
44 + 0.241910 0.308000 0.230000: /usr/share/nvim/runtime/plugin/rplugin.vim
45 + 0.231990 0.318000 0.223000: /usr/share/nvim/runtime/plugin/matchparen.vim
46 + 0.217210 0.334000 0.208000: /home/oli/.local/share/nvim/site/pack/paqs/start/registers.nvim/plugin/registers.vim
47 + 0.203150 0.388000 0.128000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-context-commentstring/plugin/ts_context_commentstring.vim
48 + 0.176890 0.249000 0.156000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp_luasnip/after/plugin/cmp_luasnip.lua
49 + 0.173130 0.365000 0.154000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lsp-installer/plugin/nvim-lsp-installer.vim
50 + 0.170270 0.414000 0.152000: /usr/share/nvim/runtime/syntax/synload.vim
51 + 0.170270 0.316000 0.128000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lspconfig/plugin/lspconfig.vim
52 + 0.162430 0.231000 0.140000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-path/after/plugin/cmp_path.lua
53 + 0.158940 0.350000 0.137000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp-document-symbol/after/plugin/cmp_nvim_lsp_document_symbol.lua
54 + 0.152600 0.330000 0.124000: event init
55 + 0.121500 0.273000 0.096000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-dap/plugin/dap.lua
56 + 0.119320 0.301000 0.100000: early init
57 + 0.103190 0.174000 0.097000: /usr/share/nvim/runtime/plugin/shada.vim
58 + 0.103010 0.274000 0.093000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-hlslens/plugin/hlslens.vim
59 + 0.100130 0.194000 0.080000: /home/oli/.local/share/nvim/site/pack/paqs/start/hydra.nvim/plugin/hydra.lua
60 + 0.099280 0.210000 0.071000: /home/oli/.local/share/nvim/site/pack/paqs/start/dressing.nvim/plugin/dressing.lua
61 + 0.095110 0.168000 0.088000: /home/oli/.local/share/nvim/site/pack/paqs/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim
62 + 0.093090 0.154000 0.088000: /home/oli/.local/share/nvim/site/pack/paqs/start/trouble.nvim/plugin/trouble.vim
63 + 0.090590 0.121000 0.086000: /home/oli/.local/share/nvim/site/pack/paqs/start/statusline.lua/plugin/statusline.vim
64 + 0.090510 0.160000 0.082000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-lsputils/plugin/nvim-lsputils.vim
65 + 0.090310 0.148000 0.079000: /usr/share/nvim/runtime/ftplugin.vim
66 + 0.088410 0.161000 0.079000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua
67 + 0.088380 0.189000 0.072000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua
68 + 0.075630 0.168000 0.068000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
69 + 0.073520 0.105000 0.067000: /usr/share/nvim/runtime/plugin/man.vim
70 + 0.068050 0.150000 0.051000: /usr/share/nvim/runtime/filetype.lua
71 + 0.067310 0.104000 0.064000: /home/oli/.local/share/nvim/site/pack/paqs/start/editorconfig.nvim/plugin/editorconfig.vim
72 + 0.066710 0.143000 0.061000: /home/oli/.local/share/nvim/site/pack/paqs/start/plenary.nvim/plugin/plenary.vim
73 + 0.065200 0.098000 0.055000: locale set
74 + 0.064950 0.108000 0.059000: /home/oli/.local/share/nvim/site/pack/plugins/start/popfix/plugin/popfix.vim
75 + 0.064170 0.130000 0.060000: /home/oli/.local/share/nvim/site/pack/plugins/start/plenary.nvim/plugin/plenary.vim
76 + 0.062200 0.094000 0.058000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-colorizer.lua/plugin/colorizer.vim
77 + 0.060780 0.198000 0.051000: parsing arguments
78 + 0.060100 0.081000 0.056000: /etc/xdg/nvim/sysinit.vim
79 + 0.059230 0.144000 0.050000: inits 2
80 + 0.057910 0.135000 0.050000: expanding arguments
81 + 0.057320 0.093000 0.042000: init first window
82 + 0.057150 0.077000 0.055000: /home/oli/.local/share/nvim/site/pack/paqs/start/neo-tree.nvim/plugin/neo-tree.vim
83 + 0.056850 0.230000 0.048000: /home/oli/.local/share/nvim/site/pack/paqs/start/filetype.nvim/filetype.vim
84 + 0.052680 0.089000 0.048000: /usr/share/nvim/runtime/indent.vim
85 + 0.051600 0.262000 0.046000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-jdtls/plugin/nvim_jdtls.vim
86 + 0.051460 0.081000 0.049000: /home/oli/.local/share/nvim/site/pack/paqs/start/todo-comments.nvim/plugin/todo.vim
87 + 0.050360 0.223000 0.046000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope-frecency.nvim/plugin/frecency.vim
88 + 0.039890 0.065000 0.038000: /home/oli/.local/share/nvim/site/pack/paqs/start/lsp-zero.nvim/plugin/lsp-zero.vim
89 + 0.035260 0.071000 0.032000: clearing screen
90 + 0.032630 0.036000 0.031000: /home/oli/.local/share/nvim/site/pack/plugins/start/telescope.nvim/plugin/telescope.vim
91 + 0.030880 0.042000 0.029000: /usr/share/nvim/runtime/plugin/netrwPlugin.vim
92 + 0.030810 0.045000 0.029000: /usr/share/nvim/runtime/plugin/tutor.vim
93 + 0.029820 0.063000 0.028000: /home/oli/.local/share/nvim/site/pack/paqs/start/rust-tools.nvim/plugin/rust-tools.vim
94 + 0.029340 0.041000 0.028000: inits 3
95 + 0.028160 0.053000 0.027000: /usr/share/nvim/runtime/plugin/zipPlugin.vim
96 + 0.028130 0.077000 0.025000: /usr/share/nvim/runtime/plugin/gzip.vim
97 + 0.027800 0.057000 0.025000: /usr/share/nvim/runtime/filetype.vim
98 + 0.026760 0.051000 0.025000: /usr/share/nvim/runtime/plugin/tarPlugin.vim
99 + 0.025900 0.029000 0.024000: /home/oli/.local/share/nvim/site/pack/plugins/start/which-key.nvim/plugin/which-key.vim
100 + 0.025520 0.122000 0.023000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-colorizer.lua/plugin/colorizer.vim
101 + 0.024800 0.043000 0.022000: init default mappings
102 + 0.024210 0.056000 0.021000: init default autocommands
103 + 0.023450 0.033000 0.022000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
104 + 0.022100 0.032000 0.021000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-treesitter/plugin/nvim-treesitter.vim
105 + 0.022080 0.034000 0.021000: /usr/share/nvim/runtime/plugin/matchit.vim
106 + 0.021730 0.040000 0.017000: window checked
107 + 0.020980 0.084000 0.018000: /usr/share/nvim/runtime/plugin/health.vim
108 + 0.020920 0.036000 0.019000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-lspconfig/plugin/lspconfig.vim
109 + 0.020250 0.034000 0.019000: /usr/share/nvim/runtime/plugin/spellfile.vim
110 + 0.018820 0.022000 0.018000: /usr/share/nvim/runtime/plugin/tohtml.vim
111 + 0.018420 0.024000 0.017000: /usr/share/nvim/archlinux.vim
112 + 0.016100 0.017000 0.016000: /home/oli/.local/share/nvim/rplugin.vim
113 + 0.012540 0.024000 0.011000: --- NVIM STARTING ---
114 + 0.006460 0.010000 0.006000: editing files in windows

neovim/startuptime/x230_2022_07_05_08_31_54.txt

Added
new file mode 100644

+114 / −0 text lines

1 +Extra options: [init.lua]
2 +Measured: 100 times
4 +Total Average: 195.860280 msec
5 +Total Max: 205.074000 msec
6 +Total Min: 191.469000 msec
8 + AVERAGE MAX MIN
9 +---------------------------------
10 +140.868510 148.139000 137.555000: /home/oli/.config/nvim/init.lua
11 + 13.197390 14.069000 12.876000: loading packages
12 + 6.497840 7.057000 6.335000: loading after plugins
13 + 5.356470 6.496000 5.198000: loading rtp plugins
14 + 4.566870 5.308000 4.306000: sourcing vimrc file(s)
15 + 2.449790 3.967000 1.881000: opening buffers
16 + 1.770840 2.121000 1.712000: reading ShaDa
17 + 1.545190 1.871000 1.326000: BufEnter autocommands
18 + 1.449700 1.829000 1.223000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textobjects/plugin/nvim-treesitter-textobjects.vim
19 + 1.439020 1.866000 1.108000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter/plugin/nvim-treesitter.lua
20 + 1.058380 1.725000 1.012000: /usr/share/nvim/runtime/syntax/syntax.vim
21 + 0.792350 1.047000 0.753000: /usr/share/vim/vimfiles/plugin/skim.vim
22 + 0.764910 1.503000 0.548000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
23 + 0.733680 0.994000 0.666000: init lua interpreter
24 + 0.726120 0.942000 0.679000: /home/oli/.local/share/nvim/site/pack/paqs/start/symbols-outline.nvim/plugin/symbols-outline.vim
25 + 0.646400 1.052000 0.389000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-cmp/plugin/cmp.lua
26 + 0.612660 0.870000 0.539000: /home/oli/.local/share/nvim/site/pack/plugins/start/kommentary/plugin/kommentary.vim
27 + 0.602790 1.053000 0.400000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-autotag/plugin/nvim-ts-autotag.vim
28 + 0.538930 0.735000 0.463000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-gomove/plugin/gomove.lua
29 + 0.487660 0.837000 0.318000: /home/oli/.local/share/nvim/site/pack/plugins/start/lsp-colors.nvim/plugin/lsp-colors.vim
30 + 0.414630 0.746000 0.207000: /home/oli/.local/share/nvim/site/pack/paqs/start/playground/plugin/nvim-treesitter-playground.lua
31 + 0.405950 0.580000 0.352000: inits 1
32 + 0.405830 0.756000 0.375000: /home/oli/.local/share/nvim/site/pack/paqs/start/indent-blankline.nvim/plugin/indent_blankline.vim
33 + 0.399260 0.526000 0.384000: /home/oli/.local/share/nvim/site/pack/plugins/start/hop.nvim/plugin/hop.vim
34 + 0.385520 0.604000 0.361000: /home/oli/.local/share/nvim/site/pack/plugins/start/completion-nvim/plugin/completion.vim
35 + 0.367700 0.619000 0.264000: /home/oli/.local/share/nvim/site/pack/paqs/start/Comment.nvim/after/plugin/Comment.lua
36 + 0.366260 0.530000 0.257000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope.nvim/plugin/telescope.lua
37 + 0.356600 0.534000 0.323000: init highlight
38 + 0.355770 0.547000 0.262000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textsubjects/plugin/nvim-treesitter-textsubjects.vim
39 + 0.337500 0.453000 0.311000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-buffer/after/plugin/cmp_buffer.lua
40 + 0.322350 0.570000 0.158000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
41 + 0.315490 0.450000 0.302000: /home/oli/.local/share/nvim/site/pack/paqs/start/LuaSnip/plugin/luasnip.vim
42 + 0.259480 0.485000 0.101000: /home/oli/.local/share/nvim/site/pack/plugins/start/playground/plugin/nvim-treesitter-playground.vim
43 + 0.241810 0.427000 0.230000: /usr/share/nvim/runtime/plugin/rplugin.vim
44 + 0.232130 0.270000 0.222000: /usr/share/nvim/runtime/plugin/matchparen.vim
45 + 0.210160 0.301000 0.201000: /home/oli/.local/share/nvim/site/pack/paqs/start/registers.nvim/plugin/registers.vim
46 + 0.203220 0.313000 0.152000: /home/oli/.local/share/nvim/site/pack/paqs/start/leap.nvim/plugin/init.lua
47 + 0.188600 0.307000 0.156000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp_luasnip/after/plugin/cmp_luasnip.lua
48 + 0.170940 0.211000 0.156000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lsp-installer/plugin/nvim-lsp-installer.vim
49 + 0.162910 0.290000 0.149000: /usr/share/nvim/runtime/syntax/synload.vim
50 + 0.161600 0.380000 0.142000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-path/after/plugin/cmp_path.lua
51 + 0.161070 0.304000 0.125000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-context-commentstring/plugin/ts_context_commentstring.vim
52 + 0.158380 0.383000 0.130000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lspconfig/plugin/lspconfig.vim
53 + 0.152620 0.275000 0.137000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp-document-symbol/after/plugin/cmp_nvim_lsp_document_symbol.lua
54 + 0.144870 0.249000 0.123000: event init
55 + 0.117110 0.197000 0.098000: early init
56 + 0.105870 0.188000 0.095000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-dap/plugin/dap.lua
57 + 0.105480 0.213000 0.094000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-hlslens/plugin/hlslens.vim
58 + 0.097390 0.125000 0.094000: /usr/share/nvim/runtime/plugin/shada.vim
59 + 0.092900 0.131000 0.088000: /home/oli/.local/share/nvim/site/pack/paqs/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim
60 + 0.090390 0.124000 0.087000: /home/oli/.local/share/nvim/site/pack/paqs/start/trouble.nvim/plugin/trouble.vim
61 + 0.090150 0.131000 0.085000: /home/oli/.local/share/nvim/site/pack/paqs/start/statusline.lua/plugin/statusline.vim
62 + 0.090130 0.184000 0.072000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua
63 + 0.089670 0.119000 0.077000: /usr/share/nvim/runtime/ftplugin.vim
64 + 0.088830 0.109000 0.081000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-lsputils/plugin/nvim-lsputils.vim
65 + 0.087980 0.210000 0.079000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua
66 + 0.085910 0.139000 0.077000: /home/oli/.local/share/nvim/site/pack/paqs/start/hydra.nvim/plugin/hydra.lua
67 + 0.081750 0.177000 0.071000: /home/oli/.local/share/nvim/site/pack/paqs/start/dressing.nvim/plugin/dressing.lua
68 + 0.076570 0.142000 0.068000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
69 + 0.068550 0.097000 0.063000: /usr/share/nvim/runtime/plugin/man.vim
70 + 0.068050 0.245000 0.062000: /home/oli/.local/share/nvim/site/pack/paqs/start/plenary.nvim/plugin/plenary.vim
71 + 0.067710 0.278000 0.060000: /home/oli/.local/share/nvim/site/pack/plugins/start/popfix/plugin/popfix.vim
72 + 0.066590 0.097000 0.063000: /home/oli/.local/share/nvim/site/pack/paqs/start/editorconfig.nvim/plugin/editorconfig.vim
73 + 0.064150 0.112000 0.058000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-colorizer.lua/plugin/colorizer.vim
74 + 0.063780 0.106000 0.056000: locale set
75 + 0.062860 0.119000 0.059000: /home/oli/.local/share/nvim/site/pack/plugins/start/plenary.nvim/plugin/plenary.vim
76 + 0.061080 0.112000 0.056000: /etc/xdg/nvim/sysinit.vim
77 + 0.060240 0.180000 0.050000: parsing arguments
78 + 0.058200 0.121000 0.053000: /home/oli/.local/share/nvim/site/pack/paqs/start/neo-tree.nvim/plugin/neo-tree.vim
79 + 0.058050 0.157000 0.050000: expanding arguments
80 + 0.057670 0.089000 0.050000: inits 2
81 + 0.056350 0.099000 0.040000: init first window
82 + 0.052610 0.281000 0.046000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-jdtls/plugin/nvim_jdtls.vim
83 + 0.052000 0.160000 0.043000: /usr/share/nvim/runtime/filetype.lua
84 + 0.051560 0.065000 0.050000: /home/oli/.local/share/nvim/site/pack/paqs/start/todo-comments.nvim/plugin/todo.vim
85 + 0.051250 0.059000 0.048000: /usr/share/nvim/runtime/indent.vim
86 + 0.047770 0.082000 0.043000: /home/oli/.local/share/nvim/site/pack/paqs/start/filetype.nvim/filetype.vim
87 + 0.047450 0.085000 0.045000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope-frecency.nvim/plugin/frecency.vim
88 + 0.040470 0.081000 0.037000: /home/oli/.local/share/nvim/site/pack/paqs/start/lsp-zero.nvim/plugin/lsp-zero.vim
89 + 0.034750 0.066000 0.032000: clearing screen
90 + 0.032770 0.056000 0.031000: /home/oli/.local/share/nvim/site/pack/plugins/start/telescope.nvim/plugin/telescope.vim
91 + 0.030730 0.058000 0.028000: /usr/share/nvim/runtime/plugin/netrwPlugin.vim
92 + 0.030660 0.059000 0.029000: /usr/share/nvim/runtime/plugin/tutor.vim
93 + 0.030280 0.136000 0.028000: inits 3
94 + 0.029390 0.047000 0.028000: /home/oli/.local/share/nvim/site/pack/paqs/start/rust-tools.nvim/plugin/rust-tools.vim
95 + 0.027670 0.038000 0.027000: /usr/share/nvim/runtime/plugin/zipPlugin.vim
96 + 0.027050 0.067000 0.024000: /usr/share/nvim/runtime/filetype.vim
97 + 0.027030 0.047000 0.025000: /usr/share/nvim/runtime/plugin/gzip.vim
98 + 0.026110 0.039000 0.025000: /usr/share/nvim/runtime/plugin/tarPlugin.vim
99 + 0.026070 0.051000 0.024000: /home/oli/.local/share/nvim/site/pack/plugins/start/which-key.nvim/plugin/which-key.vim
100 + 0.024710 0.035000 0.022000: init default mappings
101 + 0.024210 0.048000 0.021000: init default autocommands
102 + 0.023980 0.035000 0.022000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-colorizer.lua/plugin/colorizer.vim
103 + 0.023390 0.052000 0.022000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
104 + 0.021870 0.026000 0.021000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-treesitter/plugin/nvim-treesitter.vim
105 + 0.021720 0.062000 0.017000: window checked
106 + 0.021470 0.024000 0.021000: /usr/share/nvim/runtime/plugin/matchit.vim
107 + 0.020270 0.023000 0.019000: /home/oli/.local/share/nvim/site/pack/plugins/start/nvim-lspconfig/plugin/lspconfig.vim
108 + 0.019990 0.022000 0.019000: /usr/share/nvim/runtime/plugin/spellfile.vim
109 + 0.018540 0.023000 0.018000: /usr/share/nvim/runtime/plugin/health.vim
110 + 0.018470 0.021000 0.018000: /usr/share/nvim/runtime/plugin/tohtml.vim
111 + 0.018460 0.026000 0.017000: /usr/share/nvim/archlinux.vim
112 + 0.018330 0.210000 0.015000: /home/oli/.local/share/nvim/rplugin.vim
113 + 0.012290 0.021000 0.010000: --- NVIM STARTING ---
114 + 0.006600 0.018000 0.006000: editing files in windows

nushell/config.nu

Modified

+1 / −1 text lines

85 85 sync_history_on_enter: true # Enable to share the history between multiple sessions, else you have to close the session to persist history to file
86 86 menus: [
87 87 # Configuration for default nushell menus
88 - # Note the lack of souce parameter
88 + # Note the lack of source parameter
90 90 name: completion_menu
91 91 only_buffer_difference: false

nushell/env.nu

Modified

+4 / −1 text lines

7 7 let-env NOTES = if $env.WIN32? { "N:/" } else { "~/Notes" | path expand }
8 8 let-env CARGO_HOME = ( "~/.cargo" | path expand )
10 +# theme for ls and other programs, that use LS_COLORS
11 +let-env LS_COLORS = (vivid generate nord)
10 13 # Specifies how environment variables are:
11 14 # - converted from a string to a value on Nushell startup (from_string)
12 15 # - converted from a value back to a string when running external commands (to_string)
32 35 let-env NU_PLUGIN_DIRS = [
33 36 ($nu.config-path | path dirname | path join 'plugins'),
34 37 ($env.CARGO_HOME | path join 'bin'),
35 -]

tools/cargo-tools.nu

Modified

+0 / −9 text lines

67 -let cargo_git_crates = [
68 - "https://github.com/mosmeh/indexa"
71 67 def install-helix-editor [] {
72 68 cd $env.WORKSPACE
73 69 if ( $env.WORKSPACE | path join "helix/.git" | path exists ) {
91 87 echo $"($crate.name) already installed"
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 - }
99 90 install-helix-editor

topgrade/topgrade.windows.toml

Modified

+2 / −10 text lines

1 1 # Disable specific steps - same options as the command line flag
2 -disable = ["wsl", "tldr"]
2 +disable = ["wsl"]
4 4 assume_yes = true
38 38 # Commands to run before anything
39 39 [pre_commands]
40 -"00 - Refresh dotfiles" = "java W:/dotfiles/bootstripper.java W:/dotfiles"
41 40 "01 - Winget Backup" = "winget export --source winget 'D:/Tools/winget_installed_apps.json' *> $null"
43 -# Custom commands
44 42 [commands]
43 +"00 - Refresh dotfiles" = "java W:/dotfiles/bootstripper.java W:/dotfiles"
45 44 "01 - Install Cargo Tools" = "nu --env-config ~/AppData/Roaming/nushell/env.nu W:/dotfiles/tools/cargo-tools.nu"
47 -# Diese Skripte beziehen APM und MeMate aus dem Transfer.
48 45 "02 - Advantage-PM Client" = "nu X:/update_apm_client.nu"
49 46 "03 - MeMate" = "nu X:/update_memate.nu"
51 -# Dateisystem-Indexer ix erfrischen
52 47 "04 - Indexa Update" = "ix --update"
54 -# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
55 -"05 - TLDR" = "tldr --update"

wezterm/bugabinga/nugu.lua

Added
new file mode 100644

+114 / −0 text lines

1 +return {
2 + ['nugu-dark'] = {
3 + -- The default text color
4 + foreground = '#c9c9c9',
5 + -- The default background color
6 + background = '#131313',
8 + -- Overrides the cell background color when the current cell is occupied by the
9 + -- cursor and the cursor style is set to Block
10 + cursor_bg = '#814eaa',
11 + -- Overrides the text color when the current cell is occupied by the cursor
12 + cursor_fg = '#e0e0e0',
13 + -- Specifies the border color of the cursor when the cursor style is set to Block,
14 + -- or the color of the vertical or horizontal bar when the cursor style is set to
15 + -- Bar or Underline.
16 + cursor_border = '#8BABA5',
18 + -- the foreground color of selected text
19 + selection_fg = '#fefefe',
20 + -- the background color of selected text
21 + selection_bg = '#8BABA5',
23 + -- The color of the scrollbar "thumb"; the portion that represents the current viewport
24 + scrollbar_thumb = '#287F70',
26 + -- The color of the split lines between panes
27 + split = '#287F70',
29 + ansi = {
30 + '#113131', -- black
31 + '#A21300', -- red
32 + '#56968C', -- green
33 + '#A2A213', -- yellow
34 + '#2F77AE', -- blue
35 + '#992FAE', -- magenta
36 + '#13A2A2', -- cyan
37 + '#31ae99', -- white
38 + },
40 + brights = {
41 + '#638787',
42 + '#e17769',
43 + '#cacaca',
44 + '#d4d48a',
45 + '#b4c5d1',
46 + '#ccb4d1',
47 + '#8ad4d4',
48 + '#b6d1cd',
49 + },
51 + -- Since: 20220319-142410-0fcdea07
52 + -- When the IME, a dead key or a leader key are being processed and are effectively
53 + -- holding input pending the result of input composition, change the cursor
54 + -- to this color to give a visual cue about the compose state.
55 + compose_cursor = '#2F77AE',
56 + visual_bell = '#A21300',
57 + },
58 + ['nugu-light'] = {
59 + -- The default text color
60 + foreground = '#131313',
61 + -- The default background color
62 + background = '#c9c9c9',
64 + -- Overrides the cell background color when the current cell is occupied by the
65 + -- cursor and the cursor style is set to Block
66 + cursor_bg = '#814eaa',
67 + -- Overrides the text color when the current cell is occupied by the cursor
68 + cursor_fg = '#e0e0e0',
69 + -- Specifies the border color of the cursor when the cursor style is set to Block,
70 + -- or the color of the vertical or horizontal bar when the cursor style is set to
71 + -- Bar or Underline.
72 + cursor_border = '#8BABA5',
74 + -- the foreground color of selected text
75 + selection_fg = '#fefefe',
76 + -- the background color of selected text
77 + selection_bg = '#8BABA5',
79 + -- The color of the scrollbar "thumb"; the portion that represents the current viewport
80 + scrollbar_thumb = '#287F70',
82 + -- The color of the split lines between panes
83 + split = '#287F70',
85 + ansi = {
86 + '#113131', -- black
87 + '#A21300', -- red
88 + '#56968C', -- green
89 + '#A2A213', -- yellow
90 + '#2F77AE', -- blue
91 + '#992FAE', -- magenta
92 + '#13A2A2', -- cyan
93 + '#31ae99', -- white
94 + },
96 + brights = {
97 + '#638787',
98 + '#e17769',
99 + '#cacaca',
100 + '#d4d48a',
101 + '#b4c5d1',
102 + '#ccb4d1',
103 + '#8ad4d4',
104 + '#b6d1cd',
105 + },
107 + -- Since: 20220319-142410-0fcdea07
108 + -- When the IME, a dead key or a leader key are being processed and are effectively
109 + -- holding input pending the result of input composition, change the cursor
110 + -- to this color to give a visual cue about the compose state.
111 + compose_cursor = '#2F77AE',
112 + visual_bell = '#A21300',
113 + },

wezterm/selene.toml

Added
new file mode 100644

+1 / −0 text lines

1 +std = "lua51"

wezterm/stylua.toml

Added
new file mode 100644

+6 / −0 text lines

1 +column_width = 120
2 +line_endings = "Unix"
3 +indent_type = "Spaces"
4 +indent_width = 2
5 +quote_style = "AutoPreferSingle"
6 +call_parentheses = "None"

wezterm/wezterm.lua

Modified

+18 / −56 text lines

1 -local wez = require("wezterm")
1 +local wez = require 'wezterm'
2 +local nugu = require 'bugabinga.nugu'
4 +local color_scheme = 'nugu-dark' -- not there yet ;)
5 +local color_schemes = nugu
3 7 local hostname = wez.hostname()
4 8 local enable_wayland = false
5 -local window_decorations = "RESIZE"
6 -local color_scheme = "nugu-dark" -- not there yet ;)
7 -local color_schemes = {
8 - ["nugu-dark"] = {
9 - -- The default text color
10 - foreground = "#c9c9c9",
11 - -- The default background color
12 - background = "#131313",
9 +local window_decorations = 'RESIZE'
10 +local font_size = 11.0
11 +local font = wez.font('BlexMono Nerd Font', { weight = 'Regular', stretch = 'Condensed' })
14 - -- Overrides the cell background color when the current cell is occupied by the
15 - -- cursor and the cursor style is set to Block
16 - cursor_bg = "#56968C",
17 - -- Overrides the text color when the current cell is occupied by the cursor
18 - cursor_fg = "#f0f0f0",
19 - -- Specifies the border color of the cursor when the cursor style is set to Block,
20 - -- or the color of the vertical or horizontal bar when the cursor style is set to
21 - -- Bar or Underline.
22 - cursor_border = "#52ad70",
24 - -- the foreground color of selected text
25 - selection_fg = "#ffffff",
26 - -- the background color of selected text
27 - selection_bg = "#287F70",
29 - -- The color of the scrollbar "thumb"; the portion that represents the current viewport
30 - scrollbar_thumb = "#56968C",
32 - -- The color of the split lines between panes
33 - split = "#31ae99",
35 - ansi = { "#18574C", "#A21300", "#31ae99", "#A2A213", "#818181", "#13A2A2", "#8BABA5", "#f0f0f0" },
36 - brights = { "#8BABA5", "#A21300", "#aefeff", "#A2A213", "#13A2A2", "#992FAE", "#2F77AE", "#ffffff" },
38 - -- Since: 20220319-142410-0fcdea07
39 - -- When the IME, a dead key or a leader key are being processed and are effectively
40 - -- holding input pending the result of input composition, change the cursor
41 - -- to this color to give a visual cue about the compose state.
42 - compose_cursor = "#2F77AE",
43 - visual_bell = "#A21300",
44 - },
45 -}
46 -local font_size = 12.0
47 -local font = wez.font("BlexMono Nerd Font", { weight = "Medium" })
49 -if hostname == "x230" then
13 +if hostname == 'x230' then
50 14 enable_wayland = true
51 - window_decorations = "NONE"
52 - font_size = 11.0
53 -elseif hostname == "pop-os" then
54 - font_size = 13.0
55 -elseif hostname == "PC-00625" then
56 - window_decorations = "TITLE|RESIZE"
57 - font_size = 11.0
58 - font = wez.font("CaskaydiaCove NF")
15 + window_decorations = 'NONE'
16 +elseif hostname == 'pop-os' then
17 + font_size = 12
18 +elseif hostname == 'PC-00625' then
19 + font_size = 12
20 + window_decorations = 'TITLE|RESIZE'
61 23 return {
63 25 font_size = font_size,
64 26 color_scheme = color_scheme,
65 27 color_schemes = color_schemes,
66 - default_prog = { "nu" },
28 + default_prog = { 'nu' },
67 29 window_decorations = window_decorations,
68 30 enable_tab_bar = true,
69 31 hide_tab_bar_if_only_one_tab = true,
70 32 check_for_updates = false,
71 33 show_update_window = false,
72 - audible_bell = "Disabled",
34 + audible_bell = 'Disabled',
73 35 visual_bell = {
74 36 fade_in_duration_ms = 75,
75 37 fade_out_duration_ms = 75,
76 - target = "CursorColor",
38 + target = 'CursorColor',
78 40 tab_max_width = 24,
79 41 enable_wayland = enable_wayland,