impatient.nvim
vim-surround
Our great sponsors
impatient.nvim | vim-surround | |
---|---|---|
31 | 83 | |
1,230 | 13,017 | |
- | - | |
5.9 | 0.0 | |
12 months ago | 10 months ago | |
Lua | Vim Script | |
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.
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?
vim-surround
-
Difftastic, a structural diff tool that understands syntax
I don't know what exactly you mean by pasting around the second selection, but you can paste selections, registers or even files at specific lines with some vim-fu. If it's generic enough you could write a function or even keyboard shortcut if it's very simple.
I have set ",',(,[,{ in visual mode to cut the selection insert the pairs then paste it back as a very hacky solution, but it gets the job done. If you want something more advanced to add or change anything around the selection tpope has solved that with vim-surround[1].
[1]: https://github.com/tpope/vim-surround
- Surround.vim: Delete/change/add parentheses/quotes/XML-tags with ease (2022)
-
Macro usage of replace
ysw https://github.com/tpope/vim-surround basically i surround the word with " So basically i wanted to surround the first word in line qoutes and then replace the first occurence of = with : Example:
-
Wrapping a range of lines in an html tag?
vim-surround is likely the plugin answer.
-
Quick Text Shortcuts?
If you have Tim Pope's vim-surround plugin, you can also add this to your Vimrc:
-
How do you manually install plugins
If you don't want to leverage Vim's package feature or you want to put your plugins in some other place, add the folder of the plugin to your :h 'runtimepath'. For example, if you download Tim Pope's vim-surround at ~\Documents\vim-surround, you should add this to your Vim configuration:
-
How to select multiple lines which are a 'component' quickly?
I'm using the vim-surround plugin by tPope and I know I can do ysw to surround words with whatever tag i want, I also know about cst (Change surrounding tag). But I'm wondering if there is a quick and easy way to wrap components. Some components might have closing tag and some components might not.
-
Is there anything like "vim-surround" built-in?
Is there any similar plugin to https://github.com/tpope/vim-surround?
-
ShadowVim embeds Neovim inside Xcode
Vim plugins (without UI) work out of the box. Hello vim-surround, argtextobj.vim and whatnot.
-
Vim function to move following word into parentheses?
If you don't insist on staying in insert mode then you can use vim-surround, which is perfect for this: yse
What are some alternatives?
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
nvim-autopairs - autopairs for neovim written in lua
barbar.nvim - The neovim tabline plugin.
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
indent-blankline.nvim - Indent guides for Neovim
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
vim-startuptime - A plugin for profiling Vim and Neovim startup time.
tabout.nvim - tabout plugin for neovim
neovim - Vim-fork focused on extensibility and usability
delimitMate - Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
nvim - My own NVIM (>=NVIM v0.10.0-dev-2355+g1c7b0b9d5) lua config
micro-editor - A modern and intuitive terminal-based text editor