Thanks to visit codestin.com
Credit goes to github.com

Skip to content

casonadams/tmux-vi-yank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmux-vi-yank

Tmux copy to clipboard vi mode

OSX Requirements

brew install reattach-to-user-namespace

Linux Requirements

# debian
sudo apt install xsel

# fedora
sudo dnf install xsel

Windows

Let me know if it works 😄

tmux.conf

Add set -g @plugin 'casonadams/tmux-vi-yank' to plugins in config file. ctrl+b I to install.

if "test ! -d ~/.tmux/plugins/tpm" \
     "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"

set -g @plugin 'casonadams/tmux-vi-yank'

run -b '~/.tmux/plugins/tpm/tpm'

Usage

Command Result
ctrl+b enter Enter copy mode
v vi visual selection mode
shift + v vi line copy mode
y Copy selected text to clipboard
enter Copy selected text to clipboard

Special Thanks to

https://github.com/gpakosz/.tmux

About

Tmux copy to clipboard vi mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages