dotfiles
FastFold
Our great sponsors
dotfiles | FastFold | |
---|---|---|
4 | 10 | |
0 | 706 | |
- | - | |
2.8 | 1.7 | |
7 days ago | 8 months ago | |
Vim Script | Vim Script | |
The Unlicense | - |
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
-
How to make GTK apps switch themes instantly?
If you're using a WM, you'll have to basically setup userland stuff yourself. My setup is completely automated and I can change the theme of all my applications in an instance using a single keybinding which allows me to choose one of out of hundreds of base 16 themes and then hot reloads all my applications. Obviously, this requires some research and you'll only be able to build this kind of setup making minor changes over a long time period. If you want some inspiration, you can have a look at my dotfiles.
-
Plugins alternative in Lua
The main advantage with Lua is that it makes extending neovim yourself extremely easy instead of relying on plugins written by someone else. Take for example the vim-scrolloff-fraction plugin you mentioned. I was able to figure out how to implement it myself in under 10 minutes after looking up the relevant API functions.
-
Which statusline plugin do you use?
Heres the file that sets my statusline. It shows git changes, current branch and some file location info.
-
sumneko lua lsp says packer's `use` is an undefined global
This might be helpful to you https://github.com/nimainimaii/dotfiles/blob/f7019732607fdf3b1522c0a1a21eecc9a8ed8c09/.config/nvim/lua/nimai/lsp/completion.lua#L47
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.
What are some alternatives?
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-dap-ui - A UI for nvim-dap
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua. [Moved to: https://github.com/nvim-lualine/lualine.nvim]
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.
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
vim-syntaxMarkerFold - Markers while using syntax fold method
vim-indent-guides - A Vim plugin for visually displaying indent levels in code
tagbar - Vim plugin that displays tags in a window, ordered by scope
fauxClip - Custom registers and clipboard support for Vim without +clipboard
vim-move - Plugin to move lines and selections up and down