vnotex / vnotex/vnote

vim模式下r键与vim表现不一致

Open
#800 3 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

OS Version (操作系统): Linux
VNote Version (Help - About VNote - Version: )(VNote版本): 2.5

Symptoms (表现):
使用r替换字符时,光标会移动到被替换字符后的一个字符
vim中光标则在第一个被替换字符下

// vim after r replace
qwerty qwerty qwertrrrrrrty qwerty qwerty
                   ^
// vnote (vim mode) after r replace
qwerty qwerty qwertrrrrrrty qwerty qwerty
                         ^

顺便问一下,R进入替换模式的功能会有么?

How to Repro (如何复现):

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

No source file or test is named. Reproduce the r command in VNote 2.5 on Linux and inspect the Vim-mode command handling, comparing its cursor position with Vim; done means the cursor remains on the replaced character. Clarify separately whether support for R replacement mode is in scope.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.