dotfiles
impatient.nvim
Our great sponsors
dotfiles | impatient.nvim | |
---|---|---|
2 | 31 | |
28 | 1,230 | |
- | - | |
9.3 | 5.9 | |
9 days ago | 12 months ago | |
Shell | Lua | |
MIT License | 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.
dotfiles
-
fzf is so powerful when you use it well ! code/files/tags/git history
Nope it's a custom mix with fzf and git, you can have more details from this commit in my dotfiles : https://github.com/Sanix-Darker/dotfiles/commit/1c606b22e6ab2dd62638ff840e042eb394dae2b2
-
nvim + fzf-preview is all you need to be happy
I have installed Ag + fzf installed in my stack and i think it's the best combo i ever had to do, it's fast, not releated to nvim processes, since a long time ! On nvim, i have : fzf-preview, vim-floaterm and vista.vim and i can basically do any kind of search on anything: - Search in lines for specifics or all buffers - Search for all files from a directory - Search globally (files, lines, ...) - Search for new changes (git changes or local-history changes) - Search for tags (functions names/ class names / variables) Personally, i don't like Treesitter nvim (nvim-treesitter) because it's embed as a plugin on nvim, so if nvim is running slowly, these feature are going to be impacted ! At the other-hand, fzf/ag are running independently from nvim as a bash command, and am just dealing with their stdout 🙂 Of course, this is my choice and it may be like by you ! PS: my dotfiles : https://github.com/Sanix-Darker/dotfiles (tmux, polybar, rofi, nvim... all included)
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?
gh-f - 🔎 the ultimate compact fzf gh extension
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
barbar.nvim - The neovim tabline plugin.
indent-blankline.nvim - Indent guides for Neovim
vim-startuptime - A plugin for profiling Vim and Neovim startup time.
neovim - Vim-fork focused on extensibility and usability
nvim - My own NVIM (>=NVIM v0.10.0-dev-2993+gc81b7849a) lua config
filetype.nvim - A faster version of filetype.vim
nvimdots - A well configured and structured Neovim.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
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
nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls