vim-addon-local-vimrc
kiss local vimrc with hash protection (by MarcWeber)
vim-sleuth
sleuth.vim: Heuristically set buffer options (by tpope)
Our great sponsors
vim-addon-local-vimrc | vim-sleuth | |
---|---|---|
10 | 27 | |
146 | 1,784 | |
- | - | |
4.5 | 0.0 | |
3 months ago | about 1 month 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-addon-local-vimrc
Posts with mentions or reviews of vim-addon-local-vimrc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-28.
-
What IDEA or Vscode feature/function you want to have in neovim eco-system?
You can? I'd never heard of this. Until now, I'd always used MarcWeber/vim-addon-local-vimrc. It works okay but if there's something built-in I'd much prefer that.
-
How do you handle project specific configuration?
https://github.com/MarcWeber/vim-addon-local-vimrc does the job just fine.
-
Software engineers on big projects using vim, are you there?
Project-specific editor config: vim-localvimrc, vim-addon-local-vimrc
-
FAVOURITE PLUGINS
vim-addon-local-vimrc (project-local settings in a secure way, never use project-local settings without)
-
Linting when contributing to projects with different styling guides?
VERY IMPORTANT: Do not set your Neovim to automatically load such a file. Vim script files contain executable code and you do not want to load executable code unconditionally, that's a massive vulnerability. And no, setting the secure option does not help. I use this plugin which makes me first confirm that I want to load the file. From then on it will only automatically load the file if it has not been changed. If the file has changed it will prompt me again.
-
Best way to implement a project like system?
Try vim-addon-local-vimrc to load a project specific vimrc or vim-ctrlspace to load session infos.
-
How to remember a project structure?
I like monotasking - no plugins eating up screen real estate - so I use [vim-projectionist](https://github.com/tpope/vim-projectionist) and [vim-addon-local-vimrc](https://github.com/MarcWeber/vim-addon-local-vimrc). Projectionist allows me to capture the structure of my project: 'view', 'controller', 'test', 'component', 'feature-x-component', whatever. vim-addon-local-vimrc lets me configure projectionist (and other vim plugins) for my particular project.
- How do you guys set specific options if im on a specific location
-
Project based config in vim
Plugin: vim addon local vimrc
- Project config plugin
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
What are some alternatives?
When comparing vim-addon-local-vimrc and vim-sleuth you can also consider the following projects:
vim-makery - A Vim plugin for managing your makeprgs.
vim-polyglot - A solid language pack for Vim.
nvim-projectconfig - neovim projectconfig
nvim-autopairs - autopairs for neovim written in lua
pounce.nvim - Incremental fuzzy search motion plugin for Neovim
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
direnv.vim - vim plugin for direnv support
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
editorconfig-vim - EditorConfig plugin for Vim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
dein.vim - :zap: Dark powered Vim/Neovim plugin manager
yapf - A formatter for Python files
vim-addon-local-vimrc vs vim-makery
vim-sleuth vs vim-polyglot
vim-addon-local-vimrc vs nvim-projectconfig
vim-sleuth vs nvim-autopairs
vim-addon-local-vimrc vs pounce.nvim
vim-sleuth vs limelight.vim
vim-addon-local-vimrc vs direnv.vim
vim-sleuth vs vim-vinegar
vim-addon-local-vimrc vs editorconfig-vim
vim-sleuth vs nvim-treesitter
vim-addon-local-vimrc vs dein.vim
vim-sleuth vs yapf