Bike 2.0 (Preview 253)

4 posts were split to a new topic: Outline Moving Logic

Is there a way to disable this while caret is inside Filter box?

  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
      },
    },
  })
  ...

If I add left/right keybinds to expand/collapse to an extension, I cannot move caret inside Filter textbox—left/right controls expand/collapse in the outline. Default controls to operate the outline don’t work while caret is inside filter box, so my thinking is this shouldn’t, either.

Yes, this is a bug, fixed for next release.

2 Likes