You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
One of the painpoints when creating visualizations is the lack of keybinds. When typing longer queries in Dev tools or making Vega visualizations, the text body can get lengthy. It would be nice if the editor components within these visualizations had some sort of a "Vim mode" toggle so users familiar with vim-like keybinds can type.
Describe the solution you'd like
The @osd/monaco package provides the monaco text editor that OSD consumes. Specifically, inside CodeEditor component, it provides a common component for text-based visualization editors to consume. There already exists a package monaco-vim that integrates Vim mode into monaco.
To configure, we can add a global advanced UI setting to toggle on keybind mode and have some UI setting for each individual editor such that these configs override the global default (needs investigation)
Describe alternatives you've considered
Introducing a plugin to provide the components would be useful to other plugins, but core cannot consume this plugin. In general, we could find a better way to import custom plugin components into core but this is orthogonal to feature request
Introducing a new OSD component that uses CodeMirror as the editor and using codemirror-vim. This is convenient, but would require creating a whole new component for plugins to consume
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
One of the painpoints when creating visualizations is the lack of keybinds. When typing longer queries in Dev tools or making Vega visualizations, the text body can get lengthy. It would be nice if the editor components within these visualizations had some sort of a "Vim mode" toggle so users familiar with vim-like keybinds can type.
Describe the solution you'd like
The
@osd/monaco
package provides themonaco
text editor that OSD consumes. Specifically, insideCodeEditor
component, it provides a common component for text-based visualization editors to consume. There already exists a package monaco-vim that integrates Vim mode into monaco.To configure, we can add a global advanced UI setting to toggle on keybind mode and have some UI setting for each individual editor such that these configs override the global default (needs investigation)
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: