Skip to content

jackysee/telescope-hg.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

telescope-hg.nvim

This is an extension for telescope.nvim provides some mercurial operation. Couldn't find one so I made this to scratch my own itch.

telescope-hg plugin

Installation

Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'jackysee/telescope-hg.nvim'
lua require'telescope'.load_extension('hg')

Usage

files

:Telescope hg files show files managed by hg. Untracked files would be shown by defualt. Use :Telescope hg files show_untracked=false to disable it.

Mappings:

  • <cr> to select file

status

:Telescope hg status show changed files.

Mappings:

  • <cr> to select file

log

:Telescope hg log show rev history of entire repo

Mappings:

  • <cr> to checkout the revision

logthis

:Telescope hg logthis show rev history of current buffer

Mappings:

  • <cr> vertical diff rev to buffer
  • <c-r> revert to the revision

branches

:Telescope hg branches list repo named branches

Mappings:

  • <cr> checkout the target branch

About

Telescope plugin for mercurial (hg) repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages