feature: adds git keymappings built in to Telescope: git_status, git_branches, git_commits, git_bcommits (#350)

This commit is contained in:
rebuilt 2021-05-03 22:40:59 +02:00 committed by GitHub
parent 76e1912b99
commit ff7137c782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,11 @@ local mappings = {
r = {"<cmd>ResetHunk<cr>", "Reset Hunk"},
R = {"<cmd>ResetBuffer<cr>", "Reset Buffer"},
s = {"<cmd>StageHunk<cr>", "Stage Hunk"},
u = {"<cmd>UndoStageHunk<cr>", "Undo Stage Hunk"}
u = {"<cmd>UndoStageHunk<cr>", "Undo Stage Hunk"},
o = {"<cmd>Telescope git_status<cr>", "Open changed file"},
b = {"<cmd>Telescope git_branches<cr>", "Checkout branch"},
c = {"<cmd>Telescope git_commits<cr>", "Checkout commit"},
C = {"<cmd>Telescope git_bcommits<cr>", "Checkout commit(for current file)"},
},
l = {
name = "+LSP",