vim-git-browse

Deprecated. Please use git.nvim instead.

vim-git-browse

vim-git-browse plugin is for you, with this plugin you can get rid of all of the annoying steps for creating a pull/merge request, viewing a file, opening a merge/ pull request on your git repository

Installation

Dependencies

Install

Plug 'dinhhuy258/vim-git-browse'

Key mapping

The default mapping is

If you want to make your own custom keymap, then put the following in your .vimrc

let g:vim_git_browse_use_default_keymap = 0
nnoremap <Leader>go :<C-u> call vim_git_browse#GitBrowse(v:false)<CR>
xnoremap <Leader>go :<C-u> call vim_git_browse#GitBrowse(v:true)<CR>

nnoremap <Leader>gp :<C-u> call vim_git_browse#GitPullRequest()<CR>
nnoremap <Leader>gc :<C-u> call vim_git_browse#GitCreatePullRequest()<CR>

Vim variables

Features

Name Github Gitlab Bitbucket
Open project :white_check_mark: :white_check_mark: :white_check_mark:
View pull request :white_check_mark: :white_check_mark:  
Create pull request :white_check_mark: :white_check_mark:  

Issues