1.2.4 • Published 4 months ago

coc-yank v1.2.4

Weekly downloads
809
License
MIT
Repository
github
Last release
4 months ago

coc-yank

Yank extension for coc.nvim.

Note, make sure you have TextYankPost autocmd with your vim by :echo exists('##TextYankPost')

Install

In your vim/neovim, run command:

:CocInstall coc-yank

Setup keymap to open yank list like:

nnoremap <silent> <space>y  :<C-u>CocList -A --normal yank<cr>

-A means auto preview, and --normal means open list on normal mode.

Features

  • Highlight yanked text.
  • Persist yank list across vim instances.

Options

  • yank.highlight.enable enable highlight feature, default: true.
  • yank.highlight.duration duration of highlight in milliseconds, default: 500.
  • yank.list.maxsize maxsize of yank list, default: 200
  • yank.enableCompletion: Enable completion support for yanked text, default: true
  • yank.priority: Priority of yank completion source, default: 90.
  • yank.limit: Max completion item count from yank history.

F.A.Q

Q: How to change highlight color?

A: Add hi HighlightedyankRegion term=bold ctermbg=0 guibg=#13354A to your .vimrc after :colorscheme command.

Q: How to clear all yanks?

A: In vim, :CocCommand yank.clean

License

MIT

1.2.4

4 months ago

1.2.3

2 years ago

1.2.1

3 years ago

1.2.0

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago