-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
vi[m] mode #1298
Comments
Given that the editor is based on Ace, this shouldn't be too hard to do. |
It would be nice if vim mode could be added to command line version too. |
@ShaneKilkelly Use vim like leanote |
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 |
PR open: #2056 |
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 ***@***.***) wrote:
PR open: #2056 <#2056>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1298?email_source=notifications&email_token=ABU7VDT3R6234ZN7DR7EV4DQR3C5ZA5CNFSM4G32EEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5R5SY#issuecomment-549134027>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABU7VDWN6GRJDWABMW2JKMDQR3C5ZANCNFSM4G32EEHQ>
.
|
…2056) * Add keyboard modes to editor (vim, emacs, default) This adds a new option to settings, and then sets the appropriate keyboard handler in the ace editor. The "default" option is equivalent to the old keyboard behaviour. * Remove stray console.log * Move the keyboard-mode setting to the general section * Change `keyboardMode` setting to `editor.keyboardMode`
…emacs) (laurent22#2056) * Add keyboard modes to editor (vim, emacs, default) This adds a new option to settings, and then sets the appropriate keyboard handler in the ace editor. The "default" option is equivalent to the old keyboard behaviour. * Remove stray console.log * Move the keyboard-mode setting to the general section * Change `keyboardMode` setting to `editor.keyboardMode`
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 :). |
Thank you so much!!!! I think I've finally found my perfect note taking app now. Cheers. |
Operating system
Application
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).
The text was updated successfully, but these errors were encountered: