Skip to content

Instantly share code, notes, and snippets.

@bora89
Created August 6, 2017 07:54
Show Gist options
  • Select an option

  • Save bora89/075476dc0b4afecbb66cc1cab7f24e3a to your computer and use it in GitHub Desktop.

Select an option

Save bora89/075476dc0b4afecbb66cc1cab7f24e3a to your computer and use it in GitHub Desktop.

Revisions

  1. Alexander Borisenko created this gist Aug 6, 2017.
    9 changes: 9 additions & 0 deletions vim-tmux-clipboard.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    brew install reattach-to-user-namespace
    # in .tmux.conf
    set-option -g default-command "reattach-to-user-namespace -l zsh"

    # restart tmux
    tmux kill-server

    # in .vimrc
    set clipboard=unnamed