Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim Mode Command Execution #10335

Open
mmh0000 opened this issue Apr 19, 2024 · 2 comments
Open

Vim Mode Command Execution #10335

mmh0000 opened this issue Apr 19, 2024 · 2 comments
Labels
bug It's a bug

Comments

@mmh0000
Copy link

mmh0000 commented Apr 19, 2024

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

@mmh0000 mmh0000 added the bug It's a bug label Apr 19, 2024
@nakulbh
Copy link

nakulbh commented May 9, 2024

hey @mmh0000 can you help me reproduce the bug

@mmh0000
Copy link
Author

mmh0000 commented May 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

2 participants