summaryrefslogtreecommitdiff
path: root/lua/maps/find.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/maps/find.lua')
-rw-r--r--lua/maps/find.lua28
1 files changed, 24 insertions, 4 deletions
diff --git a/lua/maps/find.lua b/lua/maps/find.lua
index 5d4bfbe..aad0e46 100644
--- a/lua/maps/find.lua
+++ b/lua/maps/find.lua
@@ -1,8 +1,28 @@
-vim.api.nvim_set_keymap("n", "<leader>p", ":Files<CR>", { silent = true, noremap = true })
+vim.api.nvim_set_keymap(
+ "n",
+ "<leader>p",
+ ":Telescope find_files<CR>",
+ { silent = true, noremap = true }
+)
-vim.api.nvim_set_keymap("n", "<leader>b", ":Buffers<CR>", { silent = true, noremap = true })
+vim.api.nvim_set_keymap(
+ "n",
+ "<leader>b",
+ ":Telescope buffers<CR>",
+ { silent = true, noremap = true }
+)
-vim.api.nvim_set_keymap("n", "<leader>c", ":Commits<CR>", { silent = true, noremap = true })
+vim.api.nvim_set_keymap(
+ "n",
+ "<leader>c",
+ ":Telescope git_commits<CR>",
+ { silent = true, noremap = true }
+)
-vim.api.nvim_set_keymap("n", "<leader>f", ":Ag ", { noremap = true })
+vim.api.nvim_set_keymap(
+ "n",
+ "<leader>f",
+ ":Telescope live_grep<CR>",
+ { silent = true, noremap = true }
+)