Skip to content

radyz/telescope-gitsigns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telescope-gitsigns

Provides a picker to view all hunks in the current buffer. Two actions are provided to either reset or stage a hunk (? to view all available mappings).

image

Requirements

Installation

The extension may be installed manually or with a plugin manager of choice.

An example using Lazy.nvim:

require("lazy").setup({
    "radyz/telescope-gitsigns",
    dependencies = {
        "lewis6991/gitsigns.nvim",
        "nvim-telescope/telescope.nvim",
    }
})

Telescope Setup and Configuration:

require("gitsigns").setup({
  -- This isn't required, but goes to show that selection list signs are being grabbed
  -- from `gitsigns` opts table to get a uniform experience.
  signs = {
    add = { text = "| "}
    ...
  }
})

require("telescope").setup({})

-- To get telescope-gitsigns loaded and working with telescope, you need to call
-- load_extension, somewhere after setup function:
require("telescope").load_extension("git_signs")

Usage

:Telescope git_signs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages