vim-ripgrep
vim-gutentags
vim-ripgrep | vim-gutentags | |
---|---|---|
11 | 18 | |
535 | 2,255 | |
- | - | |
0.0 | 1.3 | |
about 1 year ago | about 1 month ago | |
Vim Script | Vim Script | |
MIT License | 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.
vim-ripgrep
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
But I mostly use ctrlp when I work with projects. A can recommend vim-ripgrep too, it lets you find strings/patterns in your project files.
-
open all files in quickfix
I use vim-ripgrep and the result is directly addressed into the quickfix.
-
Any performant fuzzy finders that uses existing buffer to show preview?
Sometimes I still use https://github.com/jremmen/vim-ripgrep to ripgrep non-interactively with more complex searches over bigger projects, which populates the quickfix list, the rely on bqf for extra functionality
-
fzf.vim w/ ag -esc "Fuzzy" live_grep using Telescope w/ ripgrep?
which is what I was looking for in this regard, it allows you to specify rg arguments, like -tlua to only search in lua files for example. For me this was something that was missing, I was using https://github.com/jremmen/vim-ripgrep before that, which I still use as it is muscle memory.
-
Is there an equivalent of projectile-ripgrep from emacs?
In emacs we can do incremental search through an entire directory with projectile-ripgrep. The only thing I know that works more or less the same in vim is https://github.com/jremmen/vim-ripgrep, but the results only appear after I enter the hole expression and press enter, and not incrementally. Also, projectile-ripgrep lets me use a regex instead of just normal text as a query.
-
Share your quickfix workflow
project-wide search (I use vim-ripgrep but any grep-finder would do)
-
I can't get ripgrep w/ fzf to present a nice preview window, need some help please.
I'm running the kitty terminal emulator with fzf and https://github.com/jremmen/vim-ripgrep installed and integrated w/ VIM-Vi IMproved 8.2 (or I believe I do). Please refer to this github link to see my vimrc.
-
Can anyone please recommend a good plugin to replace built-in vim regex search with PCRE regex?
I’m no expert, but I believe ripgrep will do PCRE, and there are more than a couple vim plugins that’ll leverage it. I happen to use vim-ripgrep, which is good enough for me, but not sure if it’ll let you get at the PCRE option (I’d guess it should, but I haven’t checked).
-
Can you add custom functionality for goto definition for lsp to use multiple langauges?
If the symbol has a fairly unique name you can do something like 'grep word under cursor', there are many ways to do this, I tend to use https://github.com/jremmen/vim-ripgrep, also just :h vimgrep. For more complicated cases maybe write some minimal vimscript/lua code to for example use a more specialized grep pattern in a specific directory and make a keymap for that or something.
-
Need help: Some questions about using ripgrep in neovim
My question is simple: Why do we need plugin like: (jremmen/vim-ripgrep)[https://github.com/jremmen/vim-ripgrep]
vim-gutentags
-
Vim + Ctags + Modern JS
https://github.com/ludovicchabant/vim-gutentags/issues/139 has some background.
-
Rust setup for neovim
Hi everyone. I'm looking to have a better setup for Rust in neovim. I do have rust-analyzer installed for useful lsp things but I was hoping to get tags working for it as well. I was using vim-gutentags (https://github.com/ludovicchabant/vim-gutentags) for navigating useful functions and stuff but couldn't quite get it to work for rust. Is there a simple way to do it or do I need rusty-tags and some aucommand to get it to work?
-
Project & File navigation
use tags, I like https://github.com/ludovicchabant/vim-gutentags for this. I might use my local .vimrc to tweak the config (exclude compiled source files and other uninteresting things)
- Whenever I'm looking for plugins these days [OC]
-
Big game changers you wish you knew about earlier
guttentag: https://github.com/ludovicchabant/vim-gutentags
-
Having trouble with ctags
Without more information, it's hard to point you in the right direction. The tags file could be out-of-date, in which case you can try to re-generate it (vim-gutentags for tags auto-generation). You could have 2 function declarations with the same name, in which case you can try :tag to cycle through tags (supports partials, like :tag F which will suggest FOO, FAR, FAB ...etc) or :tag to see a list of possible options (supports partials, like :tag F which will list FOO, FAR, FAB, ...etc) for various matching tags you can jump to (fzf.vim provides a tags fuzzy finder via :Tags). Maybe you're experiencing :h tag-priority?
-
What are your must-have vim/nvim extensions?
ludovicchabant/vim-gutentags - Tags
-
Vim – Minimal Setup Explained
You can then use :cnext and :cprev (or focusing the window and selecting an entry) to navigate between them.
As others have stated, you can also use ctags (plugins like https://github.com/ludovicchabant/vim-gutentags are useful for refreshing tags in a project), but for some languages you may need to add a tag definition (e.g. for something like rust or zig). For older languages like C you should be fine.
- How to set up VIM for PHP development
-
Can you add custom functionality for goto definition for lsp to use multiple langauges?
Not sure if it will help in this case, but I also depend on ctags for when the lsp fails (e.g. code it doesn't compile for some reason). Here you let a program create a tags file, e.g. I use https://github.com/universal-ctags/ctags (it seems it can parse json files, though I'm not sure what kind of tags are generated from this and if they will be useful to you) with https://github.com/ludovicchabant/vim-gutentags to update the tags file. The tags file just contains symbol names with locations where they are defined, and vim has builtin functionality to use these tags files :h tag and they (can) work filetype independent. For example if I mention a C type in a markdown document I can just use ctrl-[ to jump to its definition in the C source file. Possibly you can generate tags files yourself from the json files to help with this, the tags file format is not very complicated. Tags also are not very intelligent and depend on unique names for them to work well, there is the :h g_CTRL-] that can help, but for symbols that are very common (e.g. init or something that potentially has like 20+ definitions) it doesn't really work.
What are some alternatives?
ctags - A maintained ctags implementation
tagbar - Vim plugin that displays tags in a window, ordered by scope
notational-fzf-vim - Notational velocity for vim.
RE2 - RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.
nvim-cmp - A completion plugin for neovim coded in Lua.
nvim-jqx - Populate the quickfix with json entries
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-grepper - :space_invader: Helps you win at grep.
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
marks.nvim - A better user experience for viewing and interacting with Vim marks.
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.