laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
46.3k stars 5.03k forks source link

Vim editor cursor movement ignores tab width #10724

Open devedx opened 4 months ago

devedx commented 4 months ago

Operating system

Linux

Joplin version

3.0.12

Desktop version info

Joplin 3.0.12 (prod, linux)

Client ID: 3777aa8fe0504a17ad38407b2b950344 Sync Version: 3 Profile Version: 47 Keychain Supported: No

Revision: a64d6e3

Backup: 1.4.1 Table of Contents: 1.0.2

Current behaviour

  1. set font to any mono space font
  2. enable vim editor
  3. create note with lines that have varying indentation levels using tabs (e.g. nested list)
  4. move the cursor vertically
  5. the cursor jumps around horizontally when moving between lines with different indentation levels instead of staying in the same column because the tab characters are treated as a single column but rendered as 4 columns

Expected behaviour

The rendered width of the tab character should be taken into account when moving the cursor vertically to ensure it stays in the same column.

Logs

No response

Dipti0704 commented 4 months ago

I am interested to work on this isssue . Kindly assign me this issue.

roman-r-m commented 4 months ago

I am interested to work on this isssue . Kindly assign me this issue.

We do not assign issues.

github-actions[bot] commented 3 months ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

personalizedrefrigerator commented 3 months ago

The vim emulation in Joplin is provided by an upstream package — this may be an upstream issue.