aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/after/plugin/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/after/plugin/telescope.lua')
-rw-r--r--nvim/after/plugin/telescope.lua14
1 files changed, 11 insertions, 3 deletions
diff --git a/nvim/after/plugin/telescope.lua b/nvim/after/plugin/telescope.lua
index 29f5a62..a004f9d 100644
--- a/nvim/after/plugin/telescope.lua
+++ b/nvim/after/plugin/telescope.lua
@@ -1,8 +1,16 @@
local builtin = require('telescope.builtin')
-vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
-vim.keymap.set('n', '<C-p>', builtin.git_files, {})
+vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
+vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
+vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
+vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
+vim.keymap.set('n', '<leader>fs', builtin.grep_string, {})
+vim.keymap.set('n', '<leader>fc', builtin.command_history, {})
+vim.keymap.set('n', '<leader>fk', builtin.keymaps, {})
+vim.keymap.set('n', '<leader>fl', builtin.diagnostics, {})
+vim.keymap.set('n', '<leader>fo', builtin.builtin, {})
+
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") })
end)
-vim.keymap.set('n', '<leader>vh', builtin.help_tags, {})
+require("telescope").load_extension("emoji")