Further, if you want to just create your own custom keybindings or modes, the information here should be easy to generalize for whatever use you want. And while this post explains how to create vi key bindings, the same tools (Hammerspoon in particular) can be used to customize macOS in a number of ways. This idea was surprisingly simple to get working using a couple of tools. The 'default' OS mode would then become the equivalent of vi's insert mode. So I decided to figure out a way to make this happen and, at least for now, narrowed the scope to creating a key binding that would switch the OS to another 'mode' where I could then work with text using very basic vi normal mode controls. While I'm really not very good with it yet-part of the attraction was the steep learning curve I could still be training myself to use it more effectively years from now-I grew accustomed to it quickly enough that I wanted to use vi keybindings everywhere else in my OS (currently macOS). I switched to Vim as my primary programming text editor about six months ago.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |