mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 02:24:58 +02:00
feature: adds git keymappings built in to Telescope: git_status, git_branches, git_commits, git_bcommits (#350)
This commit is contained in:
parent
76e1912b99
commit
ff7137c782
1 changed files with 5 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue