vnotex / vnotex/vnote

vim 模式下的 j,k 能否映射成 gj,gk?

Open
#752 4 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 (操作系统): Windows, Linux, macOS

VNote Version (Help - About VNote - Version: )(VNote版本): 2.2, d78e892d5cc etc..

Symptoms (表现):
如果用了VIM模式,又编辑的是中文文本,那么j,k操作会在段落之间上下跳转,而不是中文的行之间移动,解决办法是使用gj,gk,现在很多vim修改版都已经把jk默认映射成gj,gk了。

vnote能否让用户自己做键映射呢?或者需要改代码?

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

Start by locating VNote’s Vim-mode key handling and how j, k, gj, and gk are handled. Confirm whether the requested behavior should be configurable or a default mapping, and consider the Chinese-text movement case as the completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vim
Domain
desktop
Issue type
Feature
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.