yank-history

captures and historizes system clipboard yanks


Keywords
terminal, x11, wm
License
MIT

Documentation

historize vim yanks and allow to search and paste from history based on FZF

demo

vim plugin

requirements

You need ripgrep (rg) installed.

You also need fzf, which you can install via vimplug:

Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'

installation

Via vimplug:

Plug 'yazgoo/yank-history'

usage

See documentation.

An example of usage is:

nmap <space>h :YankHistoryRgPaste 

Just input a pattern to search on vim prompt, then select the yank you want to paste.

linux clipboard monitor

If you also want to monitor your X11 system clipboard, you can use the yank-history rust binary. Just do cargo install yank-history.

And run yank-history.