vim-rooter
Changes Vim working directory to project root. (by airblade)
nvim-spectre
Find the enemy and replace them with dark power. (by nvim-pack)
vim-rooter | nvim-spectre | |
---|---|---|
24 | 26 | |
1,239 | 2,145 | |
0.9% | 1.9% | |
4.9 | 6.8 | |
4 months ago | 13 days ago | |
Vim Script | Lua | |
MIT License | 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-rooter
Posts with mentions or reviews of vim-rooter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
-
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.
nvim-spectre
Posts with mentions or reviews of nvim-spectre.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-18.
-
Is there a plugin can do the same like Vscode's `Search: Replace in Files`?
nvim-spectre is a pretty decent one
-
Updates to muren.nvim including directory-wide search-and-replace
Re 3., I asked about this idea in the spectre repo initially but then started muren: https://github.com/nvim-pack/nvim-spectre/issues/125
-
People who migrated from vscode
The only must have feature that was missing for me is VSCodes powerful project wide search. Fortunately nvim-spectre does exactly that
- Preview :cdo replacements?
-
neovim, spectre and the @ char
i am a bit at a loss. I want to replace a string in all files, the tool in question is spectre, provided per default by lazyvim.
- NeoVim as a full-fledged IDE
-
You workflow to search and replace text in project
https://github.com/nvim-pack/nvim-spectre is really nice
-
Is there a plugin that provides a search and replace feature like on most GUI editors?
Check out nvim-spectre.
-
Migrating from vscodevim: need advice on batch edits on multiple files + rethinking multi-cursor workflows + 'hovering'
I'd suggest checking out nvim-spectre. It's a powerful search and replace tool.
-
How can I do a global search and replace in vim?
Use this plugin nvim-spectre, it is awesome! https://github.com/nvim-pack/nvim-spectre
What are some alternatives?
When comparing vim-rooter and nvim-spectre you can also consider the following projects:
project.nvim - The superior project management solution for neovim.
ctrlsf.vim - A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
vim-startify - :link: The fancy start screen for Vim.
ferret - 🐀 Enhanced multi-file search for Vim
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
far.vim - Find And Replace Vim plugin
vim-grepper - :space_invader: Helps you win at grep.
replacer.nvim - A powerful refactoring tool for nvim.
rainbow - Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
vim-rooter vs project.nvim
nvim-spectre vs ctrlsf.vim
vim-rooter vs vim-startify
nvim-spectre vs ferret
vim-rooter vs nvim-bqf
nvim-spectre vs far.vim
vim-rooter vs vim-grepper
nvim-spectre vs vim-grepper
vim-rooter vs replacer.nvim
nvim-spectre vs replacer.nvim
vim-rooter vs rainbow
nvim-spectre vs nvim-bqf