summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/telescope.lua')
-rw-r--r--.config/nvim/after/plugin/telescope.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/nvim/after/plugin/telescope.lua b/.config/nvim/after/plugin/telescope.lua
index a9d9225..fa355e1 100644
--- a/.config/nvim/after/plugin/telescope.lua
+++ b/.config/nvim/after/plugin/telescope.lua
@@ -1,8 +1,9 @@
local builtin = require('telescope.builtin')
+local lib = require('mango.lib')
--vim.keymap.set('n', '<leader>pf', builtin.git_files, {})
-vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
-vim.keymap.set('n', '<leader>ps', function()
+lib.remap('n', '<leader>pf', builtin.find_files)
+lib.remap('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input('Grep > ') })
end)