Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTRL-Q / CTRL-V blockwise-visual in Vi mode #2594

Open
seaspeak opened this issue Mar 15, 2025 · 0 comments
Open

CTRL-Q / CTRL-V blockwise-visual in Vi mode #2594

seaspeak opened this issue Mar 15, 2025 · 0 comments

Comments

@seaspeak
Copy link

seaspeak commented Mar 15, 2025

Is your feature request related to a problem? Please describe.
CTRL-V starts blockwise-visual. CTRL-Q (now the VNote default key for quit) is an alternative to CTRL-V, since most of time CTRL-V is used to paste.
Vi help: :h ctrl-q

Blockwise-visual is intuitive for doing some job. Here is why it is important, basically essential to any level related syntax, e.g., mindmaps, headings, lists.

Goal:
Add a - before the existing - in multiple lines using Ctrl-V.

- item1
- item2
- item3
- item4
- item5

Steps:

  1. Place the cursor at the start of the first -.
  2. Press Ctrl-V to enter blockwise-visual mode.
  3. Use j to select the same position in the lines below.
  4. Press I (uppercase i), type -, and press Esc.
  5. Your list will now have an additional - in each line.

Describe the solution you'd like
Support CTRL-V, at least CTRL-Q in Vi mode.

Describe alternatives you've considered
CTRL-Q is the last resort.

Additional context
Many requests on this one, like #2353 #1253 #1163 #912 #556

@seaspeak seaspeak changed the title CTRL-Q / CTRL-V implementation in Vi mode CTRL-Q / CTRL-V blockwise-visual in Vi mode Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant