Bike 2.0 (Preview 247)

Is expand/collapse using left/right arrow while in outline mode still something to implement or did it get broken somewhere along the way? Doesn’t seem to be working for me in 247.

I think they exit outline mode,
placing the editing cursor to start or end of the text.

1 Like

This is correct. In Bike 2 you will enter block mode more often, since you enter it anytime you extend selection beyond a single row. I decided that making it easy (and selection behavior like) to exit was more important them expand/collapse shortcut.

If you did want the old behavior you can add this to an extension:

export async function activate(context: AppExtensionContext) {
  bike.keybindings.addKeybindings({
    keymap: 'block-mode',
    keybindings: {
      left: () => {
        let editor = bike.frontmostOutlineEditor
        editor.collapse(editor.selection.rows)
        return true
      },
      right: () => {
        let editor = bike.frontmostOutlineEditor
        editor.expand(editor.selection.rows)
        return true
      },
    },
  })
  ...
2 Likes

A post was split to a new topic: Bike Tagging Extension Experiment