Totally, I think this application is great.
However as a Linux user, I very miss the vim shortcut. Maybe someone has the same feeling too. May I ask the developer would you plant to add vim support as a new feature ?
Thanks again for your awesome job !
Support for a vim mode in CodeMirror seems to be not so good:
Note: The CodeMirror vim bindings do not have an active maintainer. That means that if you report bugs in it, they are likely to go unanswered.
Anyways, I'll think about it. If anybody who knows vim would like to give it a try, please report back here! Activating vim mode is rather easy:
require('codemirror/keymap/vim')renderer._editor._cm.setOption('keyMap', 'vim')vim mode.Reference: https://codemirror.net/demo/vim.html
I gave a simple try on the vim mode. And two small issues:
It's an excellent software!
To point 1: It's because I override the keymap with some keys, refer to this file to know which ones!
To point 2: Yeah, I didn't implement the necessary CSS styles, as I don't officially support these (yet) — If you have an idea, please feel free to PR!
I would love to have option to enable vim mode in the settings. I've tested the suggested method and it actually makes the app usable to already broken Vim user like myself. There are just two small things I need personally to make this way better.
Can we at least have the option in the settings as an experimental feature so we can actually use it without manually executing commands in the developer console?
Most helpful comment
Support for a
vimmode in CodeMirror seems to be not so good:Anyways, I'll think about it. If anybody who knows vim would like to give it a try, please report back here! Activating
vimmode is rather easy:require('codemirror/keymap/vim')renderer._editor._cm.setOption('keyMap', 'vim')vimmode.Reference: https://codemirror.net/demo/vim.html