Skip to content

Commit

Permalink
telescope: update command in live grep args keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed May 17, 2024
1 parent f2cebd9 commit 8ec74ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nxvim/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ nx.map({
{ "<leader>/:", "<Cmd>Telescope commands<CR>", desc = "Search Commands" },
{ "<leader>/f", "<Cmd>Telescope find_files<CR>", desc = "Search Files" },
-- {"<leader>/g", "<Cmd>Telescope live_grep theme=ivy<CR>", desc = "Grep" },
{ "<leader>/g", ":lua require('telescope').extensions.live_grep_args.live_grep_args()<CR>", desc = "Live Grep" },
{ "<leader>/g", "<Cmd>Telescope live_grep_args<CR>", desc = "Live Grep" },
-- As we just want to initate the grep_string command we use `:`. <Cmd> must end with `<CR>`.
{ "<leader>/G", ":Telescope grep_string theme=ivy search=", desc = "Grep String" },
{ "<leader>/h", "<Cmd>Telescope highlights<CR>", desc = "Search Highlights" },
Expand Down

0 comments on commit 8ec74ed

Please sign in to comment.