Open andreyohiienko opened 3 years ago
Works for me. Can you please provide your settings?
Yeah, I suspect it has to do with a custom mapping from or to cs.
@J-Fields
Thanks for quick response.
Sure
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 8
},
"files.trimTrailingWhitespace": true,
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"files.autoSave": "onFocusChange",
"vim.easymotion": true,
"vim.insertModeKeyBindings": [
{
"before": [
"d",
"f"
],
"after": [
"
Hmm, I dont see anything that could explain it, sorry :|
I made Vim extension enabled only and still see this issue. Tell me please what more info needed? @J-Fields @sql-koala
I noticed that it works like with unenabled "Vim: Surround" feature. The same behavior. @J-Fields @sql-koala
I was able to reproduce this issue with a vanilla install of VSCodeVim in http://vscode.dev. Typing cs
results in cursor motion. I cleared the Whichwrap
setting which resulted in different behavior. I now get an E20: Mark not set
error in the status bar. So we know two things:
The only plugins I have installed so far are VSCodeVim and Prettier.
Describe the bug From version 1.21.0 cs command stopped to work
To Reproduce Steps to reproduce the behavior: Instal 1.21.0 version or higher Go to line or words covered by any of this symbol '"[{( For example try to change single quotes to double quotes cs'" in this line import React from 'react'
Expected behavior cs'" should change import React from 'react' to import React from "react" like it was in 1.20.3 versions and below
Screenshots Was in 1.20.3 and below https://www.screencast.com/t/WNPS3Gut now https://www.screencast.com/t/zwwV7jHS5
Version: 1.57.1 (user setup) Electron: 12.0.7 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Windows_NT x64 10.0.19041 vscodevim: 1.21.3