FastFold
vim-move
Our great sponsors
FastFold | vim-move | |
---|---|---|
10 | 7 | |
706 | 1,194 | |
- | - | |
1.7 | 3.6 | |
8 months ago | 7 months ago | |
Vim Script | 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.
FastFold
-
LaTeX and Neovim for technical note-taking
Just be aware that the marker based folding can be annoying to collaborators if you are working on documents with other authors. With a plugin like FastFold [0] you should be able to have fast folding with the expr foldtype.
[0]: https://github.com/Konfekt/FastFold
-
How can I get over the beginner's hump and move around faster?
If you don't get great results, try changing 'foldmethod' (syntax is usually best but indent often works well). If vim doesn't have syntax support for your language, find a plugin that offers it. Even better if it defines 'foldtext' so your methods collapse down into an easy to read outline. I use vim-ficklefold to manage folds and FastFold to prevent syntax folds from making vim slow.
-
How many plugins do you use on a daily basis and what are they?
FastFold
-
Is vim slow with large files and syntax on?
Could be foldmethod=syntax that's slow, try FastFold.
-
Share Your Vimrc Hacks and Must-Have Plugins! (We Need Your Help)!
FastFold, fauxClip, syntaxMarkerFold
-
Code randomly folded when editing code
I have have the same problem. I found this plugin FastFold that seems to be what we are looking for but I haven't had the chance to test it yet. The general idea is to stop autofolding under most circumstances except when it makes sense.
- Plugins alternative in Lua
-
unwanted fold opening
Check out FastFold plugin
-
Setting filetype is causing slow down while relocating lines
Because in this case the way this plugin works causes folds to recomputed. Fold methods syntax and expr are slow, cause those are written in Vim script instead directly in C. Plugin FastFold lets you change this behaviour and update folds only on demand.
-
What's your go-to for folding?
Some of those rules can be quite heavy on large files, so FastFold really helps here. It also prevents uncontrolled folds opening when editing, so just added bonus. Another plus are temporary manual folds.
vim-move
- How do you move your lines?
- Is it possible to do something like his on Vim/Neovim?
-
Moving list items up and down?
I like this plugin: https://github.com/matze/vim-move. It can move lines in visual mode and normal mode as well as properly indenting.
-
Small drama: The nicest vim user takes it personal offence when another user shares constructive criticism about vim plugins' language.
Vim is a decades old text editor that has become a tool for power users thanks to Vimscript, a language dedicated to writing Vim plugins (here's a small example, not mine). In the last few years, a project called Neovim has started re-writing Vim and adding support for writing plugins with Lua, which was already popular in game modding like Gmod or TBOI. This has led many users to reconsider the basis of both Vimscript and Lua and others to feel there's an (inexistent) grudge between the two developer teams.
- move.nvim. Move those lines and blocks!
- [Help] How to move lines like in VSCode
-
Plugins alternative in Lua
https://github.com/matze/vim-move (I use this one so much)
What are some alternatives?
nvim-dap-ui - A UI for nvim-dap
vim-indent-guides - A Vim plugin for visually displaying indent levels in code
vim-matchup - vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
dotfiles - Dotfiles for macOS
vim-syntaxMarkerFold - Markers while using syntax fold method
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
vim-hexokinase - hexokinase.vim - (Neo)Vim plugin for asynchronously displaying the colours in the file (#rrggbb, #rgb, rgb(a)? functions, hsl(a)? functions, web colours, custom patterns)
any-jump.vim - Jump to any definition and references 👁 IDE madness without overhead 🚀
fauxClip - Custom registers and clipboard support for Vim without +clipboard
vim-schlepp - Vim plugin for easily moving text selections around
tagbar - Vim plugin that displays tags in a window, ordered by scope
vim-scrolloff-fraction - scrolloff as a fraction of window height