junegunn / junegunn/vim-peekaboo

<C-r> mappings gets inserted literally with/in "Visual-block Insert" mode

Open
#22 22 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Vim Script
Stars
1.2k
Forks
42
PR merge metrics
No merged PRs in 30d

Description

When using Visual-block Insert (CTRL-V from normal mode, select a region, then I), the <C-r> mapping does not work: it enters the right hand side literally:

:call peekaboo#peek(1, 'ctrl-r',  0)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Vim with CTRL-V, a selected region, and I, then inspect the plugin's handling of Visual-block Insert mode and the mapping. Confirm the affected mapping is evaluated as intended rather than inserted literally, and verify the same behavior after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.