Vim-style bindings

Bike reminds me of Vim. It’s a modal editor. You go into a kind of editing mode in both using Esc and i even triggers Insert mode in Bike. :slight_smile: Why not take this a little further and add Vim-like keybindings.

For example:

  • I to insert from start of line
  • A to append from end of line
    hjkl` line navigation
  • < and > for outdenting and indenting

Any one see a problem in these bindings? They could be implemented in user land if Bike could report back to AppleScript which mode it’s currently in.

6 Likes

This is definitely on my wishlist too. I’ve written a bit more about my goals here:

I expect it will be a while before I finish other things that have priority and can work on this, but definitely a goal. I expect it will be implemented in two phases. First a generic multi-keystroke keybinding system so that we can all experiment with different keybindings. Then I’ll decide on a default set of keybindings.

5 Likes

I’ll add my +1 to this. Vim-style keybindings would be great. In addition to mentioned bindings, dd for delete line, jump to top, bottom (like CMD+Up/Down today) etc. Maybe someone here already have a third-party setup for vim keybindings with Bike?

@jessegrosjean sorry for a bump without new insights, but are custom keybindings still on the roadmap?
Even a developer interface (e.g. configuration file) would be an improvement to current state. vim-style keybindings are simply too engrained in some developers to suggest any other ones.

(I’m aware of macOS’s shortcut reassignment settings. Last time I checked I think I couldn’t use that feature to reassign every command I wanted to, but I admittedly haven’t checked recently.)

Yes, but expect still a ways out. Bike 2 is talking longer then my overly optimistic developer thinking… still have a lot of work on that. And then focus is iOS which I had thought I would start in early spring.

With that said “outline mode” is becoming more important in Bike 2. Before it was a hidden thing needing escape key to enter. Now you will enter it anytime you extend selection beyond one line.

I don’t expect that I’ll add fully configurable keybindings for 2.0. But once it gets a little more ready of someone pitches me on a good set of default bindings that I can hard code for 2.0, I might do that.

Last, the keybindings that I’m thinking about are VIM like, but not VIM. By VIM like I mean you’ll type single keys to issue commands, but I don’t expect anything very close to standard VIM editing experience.

1 Like

Oh man, I’d die of happiness if I could have a vim like key bindings in Bike. I’m currently using workflowy specifically because of the combination of simplicity and the vim extension I can run on top of it. I’d rather have a local only solution with native vim like support.

I will be keeping an eye on Bike specifically waiting for this feature. Keep up the good work!

could you please explain better
“I’m currently using workflowy specifically because of the combination of simplicity and the vim extension I can run on top of it”. ?

thanks

Looks like it’s no longer maintained actually. Which is a real bummer. :confused:

There’s also a really cool standalone that is even older.