fix(editor): allow multi selection while in vim mode (#1224)
This fixes an issue with visual block selection in vim modepull/1212/head^2
parent
548bcfd239
commit
0c41927dfe
|
@ -77,7 +77,12 @@ export function createEditorState(
|
||||||
|
|
||||||
// Enable vim mode, or not
|
// Enable vim mode, or not
|
||||||
[
|
[
|
||||||
...client.ui.viewState.uiOptions.vimMode ? [vim({ status: true })] : [],
|
...client.ui.viewState.uiOptions.vimMode
|
||||||
|
? [
|
||||||
|
vim({ status: true }),
|
||||||
|
EditorState.allowMultipleSelections.of(true),
|
||||||
|
]
|
||||||
|
: [],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
...(readOnly || client.ui.viewState.uiOptions.forcedROMode)
|
...(readOnly || client.ui.viewState.uiOptions.forcedROMode)
|
||||||
|
|
Loading…
Reference in New Issue