FastFold
vim-exchange
Our great sponsors
FastFold | vim-exchange | |
---|---|---|
10 | 14 | |
706 | 740 | |
- | - | |
1.7 | 2.3 | |
8 months ago | 3 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-exchange
-
Trying to write an editor plugin / tool to swap arguments (something like vim-sexp but for haskell)
I use the vim-exchange plugin.
-
swap words according to pattern
not sure that would be the best solution. I would use https://github.com/tommcdo/vim-exchange like this cxiwWW..
-
Maccy 0.26
It cannot. I sometimes need this feature but I just use an editor plugin (https://github.com/tommcdo/vim-exchange) for this..
-
mini.basics - Common configuration presets for options/mappings/autocommands
A bit of a feedback: - I've never really studied quickfix/loclist capabilities much until recently during writing a slightly updated version of :cnext/:cprev. It is indeed a very nice feature, albeit with a lot of "old Vim" presence to it. The 'fzf.vim' and 'telescope.nvim' were always enough for me. Now I have a small hope of trying to make a "poor man Telescope". - Never really understood the utility of 'vim-subversive'. It seems to be very similar to :s or "Visually select -> hit * -> cgn -> dot repeat until needed". - There is a MiniMisc.zoom() as an alternative to 'vim-maximizer'. - I use 'vim-argwrap' myself and do plan to do its analogue. Although hope to make a more or less simple function in 'mini.misc' instead of the whole module. - I did use 'sideways.vim' but replaced it with combination of "argument" textobject from 'mini.ai' and tommcdo/vim-exchange (which I do plan to rewrite, but not quite soon). Here is how (cxia + cxila; exchange "inner argument" with "last inner argument"). Far from perfect, but works most of the time. - I had 'undotree' in my installed plugins for more than a year and I've never really used it. I've seen an idea here, I think, about "straightening" undo history to become a single line instead of a tree. I currently like this idea better than 'undotree'. - Yes, something with "toggle bools" as functionality might be coming. But not very soon.
-
Switch position of function argument using IdeaVim in pycharm
I'm using https://github.com/tommcdo/vim-exchange in Vim.
-
Swapping words
Yeah, I use sideways.vim and vim-exchange. (Not entirely sure which solves what OP is asking about.)
- What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
-
Paste a word without losing the yank buffer
For vim users tommcdo/vim-exchange cxiw jump to another word then press dot
-
How to switch the words on either side of dashes?
I use vim-exchange for situations like this. Old plugin, but still works fine. You visually select one side, press X, visually select the other side and press X. You can also use cx{motion}, and cx{motion} again if you don't want to use visual mode.
- How many plugins do you use on a daily basis and what are they?
What are some alternatives?
nvim-dap-ui - A UI for nvim-dap
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
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.
vim-swap - Reorder delimited items.
vim-syntaxMarkerFold - Markers while using syntax fold method
traces.vim - Range, pattern and substitute preview for Vim
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)
vim-subversive - Vim plugin providing operator motions to quickly replace text
fauxClip - Custom registers and clipboard support for Vim without +clipboard
vim-yoink - Vim plugin that maintains a yank history to cycle between when pasting
tagbar - Vim plugin that displays tags in a window, ordered by scope