neovim-plugin
impatient.nvim
Our great sponsors
neovim-plugin | impatient.nvim | |
---|---|---|
2 | 31 | |
34 | 1,230 | |
- | - | |
10.0 | 5.9 | |
over 3 years ago | 12 months ago | |
Lua | 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.
neovim-plugin
-
Should I remove require('plugin').setup() from my plugins?
Definitely remove it, as it is an anti-pattern that gained popularity because individuals often copy content without careful consideration. As far as I know, it primarily originated from this Github post, which was created during the early days of Lua's growing popularity in Neovim as an attempt to reinvent the wheel.
-
Guide: Structuring Lua plugins
I'm pretty sure we got started down the .setup road because of this article by norcalli a few years ago. It was published when plugins started using Lua and suddenly I went from seeing one or two plugins using .setup to literally every single plugin use it.
impatient.nvim
-
Reduce Neovim startup time with plugins
You could use impatient.nvim or the new vim.loader module if you’re on nightly. Both work really well. I used impatient for a long time and it reduced my startup time by half. I’m using vim.loader now and it reduces it by about the same amount
-
Optimizing my startup time
The 20-30 ms promise depends on your hardware. In my case, vanilla Neovim takes about 18 ms to startup, so a realistic good startup time for my config is around 50-60 ms. Lines of code isn’t a great reference either because you could just lazy load a bunch of plugins and have more LoC but still better startup times. What I would recommend is using lazy.nvim or if you wanna stick with packer, then pairing it with impatient.nvim .
-
lazy.nvim is amazing!
automatically caches all startup code before :h VimEnter or :h BufReadPre (basically what impatient.nvim does)
-
fzf is so powerful when you use it well ! code/files/tags/git history
there is an amazing plugin called impatient.nvim that cache a lot of stuff and make other pluggins go so fast !
-
neovim startup optimization
Try installing https://github.com/lewis6991/impatient.nvim first.
-
Guide: Structuring Lua plugins
:lua vim.pretty_print(vim.mpack.decode(vim.mpack.encode({some = { thing = false }}))) used by impatient.nvim
- Can neovim config be baked in to make neovim blazingly fast?
-
Default mappings override user mappings in Rust ( [[ and ]] mappings )
Did you defined your [[ and ]] mappings in that file or just created it? the after directory runs at the end of your config so you can override this kind of settings. Maybe you are using impatient.nvim? From their README:
-
what is your startup time like?
Are you using impatient.nvim? It caches lua modules. My startuptime with 72 plugins (including it) and zero lazy loading is 600ms.
- Why do Neovim users actively seek out lua rewrites?
What are some alternatives?
vim-illuminate - illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
barbar.nvim - The neovim tabline plugin.
leap.nvim - Neovim's answer to the mouse 🦘
indent-blankline.nvim - Indent guides for Neovim
neoconf - Cli-Tool to handle Neovim configuration.
vim-startuptime - A plugin for profiling Vim and Neovim startup time.
nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
neovim - Vim-fork focused on extensibility and usability
nvim - 🍨 Soothing pastel theme for (Neo)vim
nvim - My own NVIM (>=NVIM v0.10.0-dev-2355+g1c7b0b9d5) lua config