vim-ripgrep
ctags
vim-ripgrep | ctags | |
---|---|---|
11 | 33 | |
535 | 6,292 | |
- | 0.8% | |
0.0 | 9.7 | |
about 1 year ago | 9 days ago | |
Vim Script | C | |
MIT License | GNU General Public License v3.0 only |
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]
ctags
- If you owned a nvidia tesla a100, what would you do with it?
-
NeoVim & Rust
I also recommend you https://github.com/preservim/tagbar with https://ctags.io/ installed , it will map definitions (functions, enum, struct etc..) to tags and tagbar plugin allows you to open a split window with the mapped list and navigate through your file, it also enabled more advanced features for quick navigation .
-
How do you figure out which #include a function/variable came from?
grep, Ctags, Cscope, LSP
-
Vim plugin like vscode "go to definition" function
Vim has the tag feature built-in, which allows it to jump to the tags that were found by a tool like universal ctags using :h CTRL-]. See :help tags for more information on this. Fun fact: this is the approach that Vim uses when you use :help!
-
Neovim config from scratch (Part II)
Requirements: You need to have a CTags implementation like universal-ctags installed on your system (on every system where you use vim).
-
How to check the memory usage of my plugins?
Install https://github.com/universal-ctags/ctags
-
Project reading tools
If you are heavy Vim user, you do not need anything else. For just quick browsing, simply use ctags, make sure to use universal ctags (https://ctags.io) not exuberant ctags which are no longer well maintained. Go works out of box.
-
Help me set up vim for linting and a file tree please and some other stuff
Other (built-in) tools for file navigation in Vim include: :h :ls and :h :buffer to navigate in your buffer list (i.e. the files you have loaded); everything listed in [https://vimways.org/2018/death-by-a-thousand-files/](romainl's "Death by a Thousand Files" articles in vimways); using tags by installing universal-ctags to generate the tags then using any of the commands in :h tag to navigate them; setting global marks to files you use often with m[UPPERCASE LETTER] and jumping to them with `[UPPERCASE LETTER]; :h :vimgrep…
-
Ctags and referencing static functions, is it possible?
I have good news for you. Universal Ctags, an Exuberant Ctags fork and essentially its replacement, has fixed this already:
-
Searching files or words using fuzzy finders
Vim has built-in functionality that works pretty similar to what you want. If you have a tags file (for example, using universal ctags), you can hit Ctrl-] (:h Ctrl-]) to jump to the declaration of any function under your cursor. Or, if you don't have a tags file, you can use gd (:h gd) to jump to a local declaration within the open file.
What are some alternatives?
notational-fzf-vim - Notational velocity for vim.
lsp-mode - Emacs client/library for the Language Server Protocol
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.
vscode-intelephense - PHP intellisense for Visual Studio Code
nvim-jqx - Populate the quickfix with json entries
lsp - Language Server Protocol (LSP) plugin for Vim9
vim-grepper - :space_invader: Helps you win at grep.
nvim-lspconfig - Quickstart configs for Nvim LSP
marks.nvim - A better user experience for viewing and interacting with Vim marks.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nerdtree - A tree explorer plugin for vim.
vim-gutentags - A Vim plugin that manages your tag files