FastFold
vim-rooter
Our great sponsors
FastFold | vim-rooter | |
---|---|---|
10 | 24 | |
706 | 1,190 | |
- | - | |
1.7 | 4.4 | |
8 months ago | 6 days 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-rooter
-
netrw made better
This or users may have monorepo style projects and vim-rooter to auto-set cwd to specific directories within the project based on certain file markers (e.g. makefile, package.json, ...etc), to accomplish something like :e dir1/file.go | make would run make and then :e dir2/file2.ts | make would run npm.
-
How to go up a directory while inside of telescope.nvim?
maybe you are already doing this and you want to access files outside the project directory but if not I use vim-rooter to set the root dir of the project automatically when I open vim
-
You don't need 'vim-rooter' (usually) or How to set up smart autochange of current directory
The airblade/vim-rooter plugin is an essential part of my Neovim workflow. It automatically changes current directory (:h current-directory) for every buffer to a more natural one (like to path of its Git repository). For me this has the following benefits:
-
Vim Issue with opened buffer file location
It depends where you open vim. If you are in home and open a file (even in sub directories) like nvim directory/file.txt, uour vim's current working directory (aka cwd) will be home. A way to make this automatic I think is the built in autocd (or something like that) and plugins like vim-rooter.
-
How to stop Telescope from changing the root directory after opening a file?
An alternative would be using a plugin like vim-rooter : https://github.com/airblade/vim-rooter
- NvimTree - how to get this behaviour?
-
How to properly cd, so plugins pick up project root?
I just use rooter and avoid thinking about it...
-
How to automatically cd to the git root of the current buffer?
There's vim-rooter, which is great.
- Whenever I'm looking for plugins these days [OC]
-
What’s the best start up screen written in Lua?
No, it doesn't change current directory. For that, use sessions or airblade/vim-rooter (or wait around couple of months for planned 'mini.root' :) ). And, of course, you can create custom items which will change current directory.
What are some alternatives?
nvim-dap-ui - A UI for nvim-dap
project.nvim - The superior project management solution for neovim.
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-startify - :link: The fancy start screen for Vim.
vim-syntaxMarkerFold - Markers while using syntax fold method
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
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)
nvim-spectre - Find the enemy and replace them with dark power.
fauxClip - Custom registers and clipboard support for Vim without +clipboard
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
tagbar - Vim plugin that displays tags in a window, ordered by scope
replacer.nvim - A powerful refactoring tool for nvim.