Add :Gbrowse
This commit is contained in:
parent
673460fde0
commit
a53d65de12
1 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
call plug#begin()
|
||||
" Why?
|
||||
" For git shortcuts below.
|
||||
Plug 'tpope/vim-fugitive'
|
||||
" To make :Gbrowse work. Shortcut below.
|
||||
Plug 'tpope/vim-rhubarb'
|
||||
|
||||
" Auto linting! See triggers below, plus built-in ones at https://github.com/neomake/neomake/blob/master/autoload/neomake/makers/ft/ruby.vim
|
||||
Plug 'neomake/neomake'
|
||||
|
|
@ -82,6 +84,10 @@ noremap <Leader>c :ChangeDir<CR>
|
|||
"noremap <Leader>u :FufRenewCache<CR>
|
||||
"noremap <Leader>w :bdelete<CR>
|
||||
noremap <F1> :Helptags<CR>
|
||||
|
||||
" From vim-rhubarb
|
||||
noremap <Leader>gh :Gbrowse<CR>
|
||||
|
||||
" Edit a file in the same directory as the current buffer
|
||||
noremap <Leader>e :e %:p:h/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue