Skip to content

slarwise/telescope-git-diff.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

telescope-git-diff.nvim

A Telescope extension for viewing the diffs for each file against a certain commit or ref.

Setup

To install the extension, do

require('telescope').load_extension('git_diff')

Usage

Call it using the Telescope command with the optional diff_against argument:

:Telescope git_diff diff_against=main

Pressing enter on a file will go to that file. The usual Telescope mappings for file pickers such as <C-x> for opening a file in a horizonal split work as usual.

About

View file diffs against a specific commit/ref

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages