vim-sleuth
sleuth.vim: Heuristically set buffer options (by tpope)
vim-gitgutter
A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks. (by airblade)
Our great sponsors
vim-sleuth | vim-gitgutter | |
---|---|---|
27 | 32 | |
1,784 | 8,276 | |
- | - | |
0.0 | 7.7 | |
about 1 month ago | 3 months ago | |
Vim Script | Vim Script | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
vim-sleuth
Posts with mentions or reviews of vim-sleuth.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-29.
-
How can I set my TAB key to be 4 spaces indent?
In addition to setting tabstop and shiftwidth, you might also like this plugin: https://github.com/tpope/vim-sleuth
-
[HELP] File type specific plugin is ignored
vim-sleuth auto detects tab size so...
-
What did I do to deserve this kind of torture
Just add https://github.com/tpope/vim-sleuth and never worry about it again.
- HELP: save options in sessions
-
Learning Rust, I didn't expect such a backstab
At the end of the day I don't really care which a project goes with, I've always just used vim-sleuth to automatically set my tab key to input whatever the current file's indentation is.
-
Trouble detecting shiftwidth correctly
VsCode has an internal function from auto-detecting indentation, while my config uses vim-sleuth with indent-blankline.nvim.
-
Builtin EditorConfig support
If you work a lot on legacy codebases, https://github.com/tpope/vim-sleuth is probably more what you need than editorconfig, as it will work even when one is not present.
-
New plugin for handling soft/hard line wrapping - wrapping.nvim
The primary advantage of using it is that it has built in heuristics for detecting line wrapping when opening a file (with some Treesitter magic for Markdown to make it more accurate), and also allows for manual swapping between wrapping types. You can think of it as the wrapping equivalent to vim-sleuth.
-
How do I force Neovim to always give me two space indents (or the correct indent) everywhere.
I just found about Tim Pope's sleuth: https://github.com/tpope/vim-sleuth It supports editorconfig but it also seems to have just better heuristics when an editorconfig file isn't present, so I just decided to replace `editorconfig-vim` with it.
-
How to set indentation dynamically based on language?
Another solution is try sleuth.vim, that sets automatically your indentation based on the project, buffer and editorconfig
vim-gitgutter
Posts with mentions or reviews of vim-gitgutter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-29.
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
I personally use nerdtree. Add nerdtree-git-plugin too, that's nice when looking at your project (for files, use vim-gitgutter).
-
How to configure vim like an IDE
vim-gitgutter
-
Margin indicator for Neovim
That said, Neovim can still run most Vimscript plugins just fine, so you can still use https://github.com/chrisbra/changesPlugin (and https://github.com/airblade/vim-gitgutter and https://github.com/mhinz/vim-signify/, which are mentioned in the README) if you want.
-
:DiffOrig changes reflected in sign column
vim-signify or git gutter can do this for files managed by git.
- Is there a simple way to see if a certain line has unsaved changes?
-
What "new-to-you" tool did you recently start using that just changed your workflow for the better?
https://github.com/tpope/vim-fugitive https://github.com/airblade/vim-gitgutter Since your already on neovim these plugins are excellent for git integration within vim! You may just prefer lazygit but having a tight integration in editor is definitely really nice for my personal workflow. Your approach is more unix-y where you have a tool for each job though!
- Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
-
Neovim config from scratch (Part I)
Git gutter Git status signs in the gutter (leftmost column)
- What plugins do yall use for Git
-
Are there plugins for Neovim that don't exist, that should exist, in your opinion?
vim-gitgutter supports staging/undoing hunks and a hunk text object. I find it convenient for this exact workflow.
What are some alternatives?
When comparing vim-sleuth and vim-gitgutter you can also consider the following projects:
vim-polyglot - A solid language pack for Vim.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
nvim-autopairs - autopairs for neovim written in lua
nvim-tree.lua - A file explorer tree for neovim written in lua
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
gitsigns.nvim - Git integration for buffers
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
vim-signify - :heavy_plus_sign: Show a diff using Vim its sign column.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
yapf - A formatter for Python files
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
vim-sleuth vs vim-polyglot
vim-gitgutter vs vim-fugitive
vim-sleuth vs nvim-autopairs
vim-gitgutter vs nvim-tree.lua
vim-sleuth vs limelight.vim
vim-gitgutter vs gitsigns.nvim
vim-sleuth vs vim-vinegar
vim-gitgutter vs vim-signify
vim-sleuth vs nvim-treesitter
vim-gitgutter vs nvim-treesitter
vim-sleuth vs yapf
vim-gitgutter vs lualine.nvim