1 unstable release
0.0.1 | Aug 28, 2021 |
---|
#25 in #wm
9KB
161 lines
historize vim yanks and allow to search and paste from history based on FZF
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
.
Dependencies
~0.7–1.3MB
~25K SLoC