Skip to content

fcpg/vim-osc52

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Vim-osc52

OSC 52 is a terminal sequence used to copy printed text into clipboard. It is useful in some environments, or when SSH'ing into some server and you need to copy back output from there into your local clipboard.

Your terminal must support OSC 52, of course (e.g. mintty does).

Tmux is supported.

Installation

Use your favorite method:

Usage

Copy to system clipboard: vmap <C-c> y:Oscyank<cr> xmap <F7> y:Oscyank<cr>

Acknowledgments

Code from Chromium, tweaked for personal use.

License

Check original code on Chromium.

About

Copy text via OSC 52 from Vim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published