startuptime.vim
vim-settings
startuptime.vim | vim-settings | |
---|---|---|
5 | 4 | |
283 | 17 | |
- | - | |
0.0 | 8.1 | |
over 1 year ago | about 2 months ago | |
Vim Script | Lua | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
startuptime.vim
-
How can I profile neovim plugins for a specific file?
You could use https://github.com/tweekmonster/startuptime.vim. Then you can run :StartupTime -- big-file.txt
-
Lua
tweekmonster/startuptime.vim is inaccurate. I think it doesn't take Lua into account. Don't use this plugin.
-
moonfly & nightfly colorschemes, now with faster startup
I recently had a look at startup performance. Using the startuptime plugin both moonfly & nightfly were taking around 4.5ms to load on my quad-core Linux desktop (not too bad for traditional Vimscript-based colorschemes). Some profiling did indicate that clearing highlights and resetting syntax are actually quite expensive. We really don't need to do either when loading a colorscheme at Vim start time; it is only really needed when changing colorschemes within an existing edit session. Putting in a simple guard results in moonfly & nightfly now taking only 2.5ms to startup (on my machine).
-
moonfly & nightfly colorschemes, now with expanded Neovim ecosystem support (and faster startup)
Lastly, I also had a look at startup performance. Using the startuptime plugin both moonfly & nightfly were taking around 4.5ms to load on my quad-core Linux desktop (not too bad for Vimscript-based colorschemes). Some profiling did indicate that clearing highlights and resetting syntax are actually quite expensive. We really don't need to do either when loading a colorscheme at Neovim start time; it is only really needed when changing colorschemes within an existing edit session. Putting in a simple guard results in moonfly & nightfly now taking only 2.5ms to startup (on my machine). That is quite similar to some of the nice new Lua-based Neovim colorschemes now available. A win, albeit a small one.
-
Why my config has gotten so slow?
Using the :StartupTime provided by https://github.com/tweekmonster/startuptime.vim ...
vim-settings
-
When did nvim-lspconfig regress so much. coc.nvim vs nvim-lspconfig
I’m not sure you set up cmp correctly. Here’s my completion config: https://github.com/ViViDboarder/vim-settings/blob/master/neovim/lua/plugins/completion.lua
-
auto-dark-mode.nvim – a Neovim plugin for macOS that automatically changes the editor appearance based on system settings
And something I’ve been doing myself using environment variables to make my color scheme match my terminal and then update colors on window focus: https://github.com/ViViDboarder/vim-settings/blob/master/neovim/lua/_colors.lua
-
Lua
You can check out my configs to get an idea of what I mean. https://github.com/ViViDboarder/vim-settings
-
Looking for airline replacement
I ended up with 100 lines vs 30 lines. Most of it was writing functions that replicate parts of airline I use, but maybe others don’t. So might actually be less of a concern.
What are some alternatives?
lightspeed.nvim - deprecated in favor of leap.nvim
feline.nvim - A minimal, stylish and customizable statusline for Neovim written in Lua
vim-startuptime - A plugin for profiling Vim and Neovim startup time.
nvim - Straightforward and pure Lua based Neovim configuration for my work as DevOps/Cloud Engineer with batteries included for Python, Golang, and, of course, YAML
barbar.nvim - The neovim tabline plugin.
impatient.nvim - Improve startup time for Neovim
neovim - Vim-fork focused on extensibility and usability
vim9jit - a vim9script -> lua transpiler (written in Rust)
hop.nvim - Neovim motions on speed!
dotnvim - Neovim Lua configuration pre-configured for Java, JavaScript, Typescript etc...
lualine.nvim - A blazing fast and easy to configure Neovim statusline written in Lua