Support vim/emacs mode in wiki editor
Mike Yang
Thanks for the great project, clean and elegant.
Would it be possible to support vim or emacs mode in wiki editor? It seems like quite some wiki.js users are developers some of whom also heavily use vim or emacs. Having this option available, even if turned off by default, would greatly boost wiki editing efficiency.
I noticed some projects that use markdown already support vim or emacs, so this seems doable? Not sure how much effort is needed to add this support though. For example, https://github.com/leanote/leanote/commit/d43f5fd7ab0911bebef50c97c49fab197af27347
Thanks again for the great work!
P
Pat David
Is this still a possibility?
I found that Codemirror has this as an option (although there's no maintainer for this atm):
https://codemirror.net/demo/vim.html
I have found that trying to use GhostText in the markdown editor produces very un-usable results :(
Mattias Johnson
I've just discovered that there is a way of doing this already! by using GhostText you can open an html textarea with your preferred editor (vim, emacs, vscode etc) https://github.com/GhostText/GhostText
I've just installed it but from what I've seen it works well! It opens the content in an editor and then I've just placed that editor above the textarea to make it look good. If you want it more seamless and don't need a fully fledged vim editor there's also wasavi that will transform the textarea to a vim window at the press of a button (but this extension doesn't include all vim commands) https://github.com/akahuku/wasavi
Johannes Natter
Would be amazing!