Ever since I started using Lazarus, our beloved IDE, there has been thing that I painfully missed:
Vi like keybindings. (Or maybe they are there, but I couldn't find them.) This was very sad for me.
But these dark times are over as there is a new glimpse of light: welcome
SynModal, a plugin for SynEdit, enhancing your SynEdit component with modal editing behavior. In particular, SynEdit comes with some predefined Vi like key bindings.
And the best thing: you cannot only use
SynModal in your own apps but also as IDE plugin in Lazarus itself (don't forget you have to install the plugin
and activate Vi bindings in the settings dialog).
Repository:
https://chiselapp.com/user/fifr/repository/pas-lazsynmodalThis is the very first release of
SynModal. It is neither complete nor bug free (hell no, expect tons of bugs), but it is in a state that it can be used without too much trouble in your daily work (at least for me), so it's probably I good time to make it available to others.
Here a few things that work:
- basic motions, commands and operators
- repeat counts (except for insert mode)
- the dot command (yeah)
- visual mode (kind of)
And here is a list of things that do not work (yet)/are missing:
- ex mode: it's just not there but should be pretty orthogonal to everything else
- insertion from visual mode
- visual mode selection is still "exclusive" not "inclusive"
- macro recording
- marks
- tons of commands/motions (that I never use?)
The plugin is developed on the main branch of Lazarus (i.e. future Lazarus 4.0), but seems to work with Lazarus 3.8 as well (but not really tested).
So although there is some light and a new hope rises, there is still a long way to go. So if you, like me, felt the same gap that might now be filled by SynModal, don't hesitate to send bug reports, patches, etc.