Skip to content

Vim keybindings in query and python cells #1673

@dperetin

Description

@dperetin

I spend a lot of time in querybook, writing what's effectively code. Having access to basic vim navigation and editing features would speed up my workflow a lot.

Proposal

  • Use codemirror-vim to add vim keybindings to query and python cells.
  • Have the feature configurable in Setting, under Editor. Default setting should be disabled, so nothing changes for most users.
  • If a users enables it, they see vim mode status at the bottom of the cell and can use keybindings provided by codemirror-vim.

Example when in insert mode:

Image

example when in normal mode, recording a macro:

Image

Settings page

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions