mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-03 05:54:39 +02:00
feat(gitsigns): update gitsigns.nvim preview command (#2178)
* chores(format.lua): Fix typo * Change gitsigns.nvim hunk preview shortcut Change `preview_hunk` to recently added `preview_hunk_inline` command
This commit is contained in:
parent
b71feb7e45
commit
f4ddb16b26
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ return {
|
||||||
map("n", "<leader>ghS", gs.stage_buffer, "Stage Buffer")
|
map("n", "<leader>ghS", gs.stage_buffer, "Stage Buffer")
|
||||||
map("n", "<leader>ghu", gs.undo_stage_hunk, "Undo Stage Hunk")
|
map("n", "<leader>ghu", gs.undo_stage_hunk, "Undo Stage Hunk")
|
||||||
map("n", "<leader>ghR", gs.reset_buffer, "Reset Buffer")
|
map("n", "<leader>ghR", gs.reset_buffer, "Reset Buffer")
|
||||||
map("n", "<leader>ghp", gs.preview_hunk, "Preview Hunk")
|
map("n", "<leader>ghp", gs.preview_hunk_inline, "Preview Hunk Inline")
|
||||||
map("n", "<leader>ghb", function() gs.blame_line({ full = true }) end, "Blame Line")
|
map("n", "<leader>ghb", function() gs.blame_line({ full = true }) end, "Blame Line")
|
||||||
map("n", "<leader>ghd", gs.diffthis, "Diff This")
|
map("n", "<leader>ghd", gs.diffthis, "Diff This")
|
||||||
map("n", "<leader>ghD", function() gs.diffthis("~") end, "Diff This ~")
|
map("n", "<leader>ghD", function() gs.diffthis("~") end, "Diff This ~")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue