Skip to content
Yank with OSC52/PASTE64.
Branch: master
Clone or download
Latest commit c775156 Aug 17, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload Feature/screen (#3) Aug 17, 2017
plugin Fix Aug 17, 2017
README.md Fix Aug 17, 2017

README.md

oscyank.vim

Clipboard integration by Operating System Controls from Vim

  • Clip selected text.
  • Clip text in the register.
  • Support multibyte characters.

Installation

For dein.vim.

call dein#add('greymd/oscyank.vim')

Usage

:Oscyank

  • Step1: Select text.
  • Step2: Type :Oscyank which displays '<,'>Oscyank.
  • Step3: Selected text will be stored to your clipboard through OSC.

:OscyankRegister

  • Step1: Yank text.
  • Step2: Contents in the register is stored to your clipboard through OSC by executing :OscyankRegister .

Other features

This plugin supports not only normal terminal but also following terminal multiplexers.

FYI: Author's usage

" set spece key as a Leader
let mapleader = "\<Space>"
noremap <leader>y :Oscyank<cr>

Select something and type <space> + y.

License

MIT

You can’t perform that action at this time.