Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 832 Bytes

README.md

File metadata and controls

32 lines (28 loc) · 832 Bytes

vim1s

One second to read remote git repos with Vim, inspired by github1s.
Pretty neat when you want to quickly browse a repository without going through the hassle of cloning and deleting later. Tested on GitHub and GitLab over both HTTPS and SSH.

Installation

Plug 'v15hv4/vim1s'
Plugin 'v15hv4/vim1s'
  • Manual Installation:
    Just copy the function and command definition from plugin/vim1s.vim into your vimrc, idk.

Usage

SSH

:Vim1s [email protected]:v15hv4/vim1s.git

HTTPS (note: doesn't work for private/authenticated repos)

:Vim1s https://github.com/v15hv4/vim1s.git

Alternate syntax (GitHub only)

:Vim1s v15hv4/vim1s