Skip to content

Commit

Permalink
feat(nvim): update telescope mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
schardev committed Apr 26, 2024
1 parent 25b54db commit 5ce2e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/nvim/lua/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ return {
nnoremap("<Leader>fV", function()
builtin.find_files({ hidden = true, no_ignore = true })
end, { desc = "Find Files (incl. hidden and ignored)" })
nnoremap("<Leader>fg", builtin.live_grep, { desc = "Live Grep" })
nnoremap("<Leader>fr", builtin.live_grep, { desc = "Live Grep" })
vnoremap(
"<Leader>fg",
'"zy<ESC>:Telescope live_grep default_text=<c-r>z<CR>',
{ desc = "Live Grep visually selected text" }
)
nnoremap("<Leader>fr", builtin.resume, { desc = "Resume previous picker" })
nnoremap("<Leader>fe", builtin.resume, { desc = "Resume previous picker" })
nnoremap("<Leader>fh", builtin.help_tags, { desc = "Helptags" })
nnoremap("<Leader>ff", builtin.builtin, { desc = "Telescope Builtins" })
nnoremap("<Leader>fo", builtin.oldfiles, { desc = "Oldfiles" })
Expand Down

0 comments on commit 5ce2e6b

Please sign in to comment.