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 this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug report
What happened:
When you press cc or S to change a line, AND the cursor is anywhere before text, the cursor is not moved to the correct indentation space.
What did you expect to happen:
The cursor should move to the position right after the indentation.
How to reproduce it (as minimally and precisely as possible):
Type this line: <tab>abcd
Move cursor to position a, b, c or d. Press cc/S. Cursor is moved to the position of (now deleted) 'a' character. This is correct.
Using the same line, move cursor to positions 1, 2, 3 or 4 (assuming the tab is 4 spaces) and press cc/S. The cursor stays on that position. This is incorrect. Expected behaviour would be to place the cursor at the 5th position, right after the tab/space indent.
Environment:
Extension (VsCodeVim) version: 0.11.3
VSCode version: 1.21.1
OS version: Windows 10 x64
The text was updated successfully, but these errors were encountered:
dqsully
added a commit
to dqsully/Vim
that referenced
this issue
Jun 13, 2018
Many VSCodeVim commands already respect VS Code's build-in indentation, so I thought it should stay that way
`cc` and `S` now act like when vim's filetype indent is turned on
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug report
What happened:
When you press cc or S to change a line, AND the cursor is anywhere before text, the cursor is not moved to the correct indentation space.
What did you expect to happen:
The cursor should move to the position right after the indentation.
How to reproduce it (as minimally and precisely as possible):
Type this line:
<tab>abcd
Move cursor to position a, b, c or d. Press cc/S. Cursor is moved to the position of (now deleted) 'a' character. This is correct.
Using the same line, move cursor to positions 1, 2, 3 or 4 (assuming the tab is 4 spaces) and press cc/S. The cursor stays on that position. This is incorrect. Expected behaviour would be to place the cursor at the 5th position, right after the tab/space indent.
Environment:
The text was updated successfully, but these errors were encountered: