5 ms·
> Most modal editors are terminal apps, I'd like to change that and implement a good modal GUI editor. That’s lovely, I’m doing the same. I’m using glfw and C+
by leecommamichael 2y ago
> Most modal editors are terminal apps, I'd like to change that and implement a good modal GUI editor.
That’s lovely, I’m doing the same. I’m using glfw and C++14 to build a vim-ish IDE. I never learned to love vim/nvim plugins, and make only basic use of macros and substitutions so that’s pretty much the feature-set. It’s very fun to build your own UI library.
- turboponyy 2y agoThe best graphical, modal text editor is Emacs.
- beyondCritics 2y agoEmacs is far from being modal though ...
- karthink 2y agoEmacs' keymap system is fully modal by design. This state machine is why it's possible to fully implement evil-mode (and many other modal editing UIs, like boon, lispy etc) quite easily on top.
- createaccount99 2y agoTaking "quite easily" on a walk there
- turboponyy 2y agoEmacs is whatever you want it to be, and it has wonderful modal editing packages such as evil-mode[1] - which surpasses the editing system from vi that it is based on - and Meow[2] 1. https://github.com/emacs-evil/evil https://github.com/emacs-evil/evil 2. https://github.com/meow-edit/meow https://github.com/meow-edit/meow
- jhchabran 2y agoHaving used evil-mode as my main driver for years, I can confirm that it truly works as expected. Requires some setup though. I used https://github.com/doomemacs/doomemacs https://github.com/doomemacs/doomemacs to do the heavy lifting though.
- imiric 2y ago*with evil-mode. There's plenty of things that Emacs does right, but evil-mode is far from ideal. Many plugins don't support it OOB and need special workarounds. Many others expect native Emacs keybindings and you need to manually add ones for evil-mode specifically. Nowadays I don't experience many issues with it, but this is mostly because my setup is largely static, and it took me several years of tweaking the configuration to get it in a state that's usable and intuitive for me. It's unreasonable to expect everyone else to have the same patience, so an editor with a _native_ modal UI can certainly improve the user experience.
- wudangmonk 2y agoit also has many terminals to choose from and dirvish which sits on top of dired is the best file editor I've used.