aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/after/plugin/keymap/telescope.lua
blob: f55ffec5602293459487f015d7a358eb764f2ec7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
local Remap = require("keymap")
local builtin = require('telescope.builtin')
local nnoremap = Remap.nnoremap

-- find file
nnoremap("<Leader>ff", function()
    builtin.find_files()
end)

-- find buffer
nnoremap("<leader>fb", function()
    builtin.buffers()
end)

-- grep find
nnoremap("<Leader>gf", function()
    builtin.live_grep()
end)

-- -- find git, lists git pickers
-- TODO: write picker
-- nnoremap("<leader>fg", function()
--     builtin.
-- end)