diff --git a/README.md b/README.md index 4260714e..8a8fbf29 100644 --- a/README.md +++ b/README.md @@ -352,6 +352,11 @@ Open [ctrlp.vim](https://github.com/kien/ctrlp.vim) plugin to quickly find a fil :IndentGuidesDisable :IndentGuidesToggle +[vim-fugitive](https://github.com/tpope/vim-fugitive) to copy the link to the line of a Git repository to the clipboard: + + nnoremap v :.GBrowse! + xnoremap v :'<'>GBrowse! + ### Spell checking Pressing `ss` will toggle spell checking: diff --git a/update_plugins.py b/update_plugins.py index 6c13bbce..260a8b04 100644 --- a/update_plugins.py +++ b/update_plugins.py @@ -40,6 +40,7 @@ vim-surround https://github.com/tpope/vim-surround vim-expand-region https://github.com/terryma/vim-expand-region vim-multiple-cursors https://github.com/terryma/vim-multiple-cursors vim-fugitive https://github.com/tpope/vim-fugitive +vim-rhubarb https://github.com/tpope/vim-rhubarb goyo.vim https://github.com/junegunn/goyo.vim vim-zenroom2 https://github.com/amix/vim-zenroom2 vim-repeat https://github.com/tpope/vim-repeat diff --git a/vimrcs/plugins_config.vim b/vimrcs/plugins_config.vim index 4ea07b54..f510083c 100644 --- a/vimrcs/plugins_config.vim +++ b/vimrcs/plugins_config.vim @@ -178,3 +178,11 @@ nnoremap d :GitGutterToggle " => EditorConfig (project-specific EditorConfig rule) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" let g:EditorConfig_exclude_patterns = ['fugitive://.*'] + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Fugitive +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Copy the link to the line of a Git repository to the clipboard +nnoremap v :.GBrowse! +xnoremap v :'<'>GBrowse!