Joplin: vi[m] mode

Created on 5 Mar 2019  Â·  11Comments  Â·  Source: laurent22/joplin

Operating system

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Application

  • Desktop

Please add support for a "vim mode" that supports keybindings and operations as they are used in vi[m]. See https://codemirror.net/demo/vim.html for an very extensive example of vi mode in another JS-based editor.

At first there should be support for navigation (h, j, k, l, 0, $, ^, w, W, #w, b, B, #b, G, gg) and simple text editing like inserting text (a, A, i, O, o), manipulating text (x, dw, d0, d$, dgg, dG, dd, #dd) and copying/inserting text (yy, p, P) as well as undo/redo (u, Ctrl-r) and searching (/string, n, N).

Most helpful comment

Given that the editor is based on Ace, this shouldn't be too hard to do.
I'll look into it over the next week or so.

All 11 comments

Given that the editor is based on Ace, this shouldn't be too hard to do.
I'll look into it over the next week or so.

It would be nice if vim mode could be added to command line version too.

@ShaneKilkelly Use vim like leanote

Given that the editor is based on Ace, this shouldn't be too hard to do.
I'll look into it over the next week or so.

Any status update on this? I think this would be a massive improvement.

I've got a working feature branch, almost ready to go. I'll open a PR some time in the next few days, hopefully :)

Oh, and it also includes an emacs mode, in addition to the default bindings.

Thank you for your work on this. I’ve attempted to pull and build but I’m
running into version issues of packages. Seems like the SQLite package
specifically had been deprecated.

I’ve tried building on Linux Mint Tina and macOS Catalina

On November 3, 2019 at 5:55:56 AM, Shane Kilkelly ([email protected])
wrote:

PR open: #2056 https://github.com/laurent22/joplin/pull/2056

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/laurent22/joplin/issues/1298?email_source=notifications&email_token=ABU7VDT3R6234ZN7DR7EV4DQR3C5ZA5CNFSM4G32EEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5R5SY#issuecomment-549134027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABU7VDWN6GRJDWABMW2JKMDQR3C5ZANCNFSM4G32EEHQ
.

I wanted to try this feature but I can't find the new option for it.
Screenshot from 2019-11-11 10-33-34

The option should be in the "General" section. I think the comment at the top of the pull-request is misleading, as the location changed during review.

Ah yes found it now, thank you :).

I've got a working feature branch, almost ready to go. I'll open a PR some time in the next few days, hopefully :)

Oh, and it also includes an emacs mode, in addition to the default bindings.

Thank you so much!!!! I think I've finally found my perfect note taking app now. Cheers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hakim89 picture hakim89  Â·  3Comments

christianlupus picture christianlupus  Â·  3Comments

laurent22 picture laurent22  Â·  3Comments

deftdawg picture deftdawg  Â·  3Comments

seagoj picture seagoj  Â·  3Comments