summaryrefslogtreecommitdiff
path: root/lua/maps/find.lua
blob: e1071f5a9ec398a9dd6083b62675f9749c9f4a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
vim.api.nvim_set_keymap(
	"n",
	"<leader>p",
	":Telescope find_files<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>gc",
	":Telescope git_commits<CR>",
	{ silent = true, noremap = true }
)

vim.api.nvim_set_keymap(
	"n",
	"<leader>gb",
	":Telescope git_branches<CR>",
	{ silent = true, noremap = true }
)

vim.api.nvim_set_keymap(
	"n",
	"<leader>f",
	":Telescope live_grep<CR>",
	{ silent = true, noremap = true }
)

vim.api.nvim_set_keymap(
	"n",
	"<leader>e",
	":Telescope file_browser<CR>",
	{ silent = true, noremap = true }
)