Home

Awesome

What is YankAssassin.vim?

It is really annoying when you want to yank text and paste it close to your cursor and your cursor moves to the start of the yanked text. Especially when you are using text-objects. This plugin helps you fix it. Basically, while Yanking your cursor will not move to the start of the Yanked Text.

Demo

1 2 3

Features

  1. Both Mapping-less(better) & Mapping-plus Solution.
  2. While Yanking, text-objects, count, registers also work.
  3. Provides extra mappings, which have default behaviour.
  4. Works in both Normal & Visual Mode.

Installation

Options

Usage

Others

    augroup highlight_yank
        autocmd!
        au TextYankPost * silent! lua vim.highlight.on_yank{ higroup="IncSearch", timeout=500 }
    augroup END