2023-05-23 07:01:38 +00:00
|
|
|
local utils = require "ivy.utils"
|
|
|
|
|
|
|
|
|
|
local rg = {
|
|
|
|
|
name = "RG",
|
|
|
|
|
command = "IvyRg",
|
|
|
|
|
description = "Run ripgrep to search for content in files",
|
|
|
|
|
keymap = "<leader>/",
|
2024-10-27 15:05:01 +00:00
|
|
|
items = utils.command_finder "rg --no-require-git --max-columns 200 --vimgrep --",
|
2023-05-23 07:01:38 +00:00
|
|
|
callback = utils.vimgrep_action(),
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return rg
|