diff --git a/home/modules/vim.nix b/home/modules/vim.nix index aa984c3..f713296 100644 --- a/home/modules/vim.nix +++ b/home/modules/vim.nix @@ -677,6 +677,18 @@ in action = "lua require('telescope.builtin').find_files({no_ignore = true, hidden = true})"; options.desc = "find file (including ignored, hidden)"; } + { + key = "fg"; + mode = "n"; + action = ''Telescope git_bcommits''; + options.desc = "git commits for current buffer"; + } + { + key = "fg"; + mode = "v"; + action = ''Telescope git_bcommits_range''; + options.desc = "git commits for current buffer with selected range"; + } { key = "fr"; mode = "n";