diff --git a/lua/telescope-configure.lua b/lua/telescope-configure.lua index bb0509d..6104773 100644 --- a/lua/telescope-configure.lua +++ b/lua/telescope-configure.lua @@ -76,3 +76,9 @@ vim.keymap.set('n', 'sg', require('telescope.builtin').live_grep, { desc vim.keymap.set('n', 'sG', ':LiveGrepGitRoot', { desc = '[S]earch by [G]rep on Git Root' }) vim.keymap.set('n', 'sd', require('telescope.builtin').diagnostics, { desc = '[S]earch [D]iagnostics' }) vim.keymap.set('n', 'sr', require('telescope.builtin').resume, { desc = '[S]earch [R]esume' }) + +-- vim telescope +vim.keymap.set('n', 'gc', require('telescope.builtin').git_commits, { desc = '[G]it [C]ommits' }) +vim.keymap.set('n', 'gs', require('telescope.builtin').git_status, { desc = '[G]it [S]tatus' }) +vim.keymap.set({'n', 'x'}, 'gB', require('telescope.builtin').git_bcommits, { desc = '[G]it [B]commits' }) +vim.keymap.set('n', 'gb', require('telescope.builtin').git_branches, { desc = '[G]it [B]ranches' })