vnotex / vnotex/vnote

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

Open
#2,594 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
13k
Forks
1.3k
Avg merge
14h 3m
Merged PRs (30d)
3

Description

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

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

Start by locating Vi-mode key handling in the C++ VNote editor and reviewing the related issues #2353, #1253, #1163, #912, and #556. Done means Ctrl-V, or at least Ctrl-Q, enters blockwise-visual mode and supports the listed multi-line insertion workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vim
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.