laurent22 / joplin

Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
44.1k stars 4.77k forks source link

Vim Mode Command Execution #10335

Open mmh0000 opened 2 months ago

mmh0000 commented 2 months ago

Operating system

Linux

Joplin version

2.14.20

Desktop version info

Joplin 2.14.20 (prod, linux)

Client ID: f180ffae00cc4eba93bf53f9181e7fdf Sync Version: 3 Profile Version: 46 Keychain Supported: No

Revision: cfd98e3

Backup: 1.4.0 Freehand Drawing: 1.12.1

Current behaviour

In the markdown editor, using vim mode's command execution operator results in the error message: Not an editor command ":'<,'>!sort

Expected behaviour

Excepted Joplin to pass the selected text to the STDIN of the called application, then replace the selected text with the STDOUT of the called application.

Logs

No response

nakulbh commented 1 month ago

hey @mmh0000 can you help me reproduce the bug

mmh0000 commented 1 month ago

Certainly! This is using the latest appimage version for Linux (2.14.20).

# A Simple VIM Mode Bug

1. Add a few lines:

cat
dog
moose
bear
fish
pig
cow

2. Press ESC to enter command mode

3. Use Visual Line Mode, shift+v, to select the lines from cat to cow.

4. Press : to enter command mode

5. Enter `!sort` (or any other external command)

10335-demo

github-actions[bot] commented 3 weeks 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.

mmh0000 commented 3 weeks ago

Still broken