VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.73k stars 1.31k forks source link

`editor.action.smartSelect.expand` doesn't affect VIM selection #9159

Open alexgorbatchev opened 1 month ago

alexgorbatchev commented 1 month ago

Describe the bug The editor.action.smartSelect.expand command doesn't appear to affect VIM selection. After selecting more than one line, d, y, etc only applied to the original cursor position, not entire selection.

To Reproduce

  1. Create selection using editor.action.smartSelect.expand that spans multiple lines
  2. Press d

Expected behavior All selected text deleted.

Observed behavior Selection is dropped, cursor is at its original position.

Environment (please complete the following information):

Extension (VsCodeVim) version: v1.27.3
Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:13.855Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT arm64 10.0.26100