Skip to content

Instantly share code, notes, and snippets.

@kosmatov
Last active December 7, 2020 08:27
Show Gist options
  • Save kosmatov/ef29d5b200c3688bc77f5c24e9e4b80c to your computer and use it in GitHub Desktop.
Save kosmatov/ef29d5b200c3688bc77f5c24e9e4b80c to your computer and use it in GitHub Desktop.

Revisions

  1. Konstantin Kosmatov revised this gist Nov 20, 2020. 3 changed files with 8 additions and 5 deletions.
    3 changes: 0 additions & 3 deletions .ssh-config
    Original file line number Diff line number Diff line change
    @@ -1,3 +0,0 @@
    Host pbcopy-host
    HostName 10.0.1.1
    User key
    2 changes: 0 additions & 2 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,2 +0,0 @@
    Plug 'ahw/vim-pbcopy'
    let g:vim_pbcopy_remote_cmd = "ssh pbcopy-host pbcopy"
    8 changes: 8 additions & 0 deletions vim-ssh-pbcopy
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    $ tail -3 ~/.ssh/config
    Host pbcopy-host
    HostName 10.0.1.1
    User key

    $ cat ~/.vimrc | grep pbcopy
    Plug 'ahw/vim-pbcopy'
    let g:vim_pbcopy_remote_cmd = "ssh pbcopy-host pbcopy"
  2. Konstantin Kosmatov created this gist Nov 20, 2020.
    3 changes: 3 additions & 0 deletions .ssh-config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    Host pbcopy-host
    HostName 10.0.1.1
    User key
    2 changes: 2 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    Plug 'ahw/vim-pbcopy'
    let g:vim_pbcopy_remote_cmd = "ssh pbcopy-host pbcopy"