Kakoune extension with record of previous yanks
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
rc
CONTRIBUTING
README.md
UNLICENSE

README.md

Yank Ring

IRC

Usage | Documentation | Contributing

Kakoune extension with record of previous yanks.

asciicast

Dependencies

  • Select (Optional, only for yank-ring-open command)

Installation

Pathogen

pathogen-infect /home/user/repositories/github.com/alexherbo2/yank-ring.kak

Configuration

map global normal <c-p> ':<space>yank-ring-previous<ret>'
map global normal <c-n> ':<space>yank-ring-next<ret>'
map global normal Y ':<space>yank-ring-open<ret>'

Usage

yank-ring-previous
yank-ring-next
  • Yank some things and use a paste command
  • Cycle through the Yank Ring with the yank-ring-previous and yank-ring-next commands
yank-ring-open
  • Yank some things and open the Yank Ring with the yank-ring-open command
  • Select a previous yank and type Return to validate (See Select for commands)
  • Yank Ring closes and copies to the copy register

Commands

  • yank-ring-previous: Cycle backward through the Yank Ring
  • yank-ring-next: Cycle forward through the Yank Ring
  • yank-ring-open: Open the Yank Ring to copy a previous yank

Options

  • yank_ring_size int: Maximum number of entries in the Yank Ring (Default: 60)