Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab in visual block mode applies to first line only #1400

Closed
erigul opened this issue Mar 17, 2017 · 1 comment · Fixed by #1663
Closed

Tab in visual block mode applies to first line only #1400

erigul opened this issue Mar 17, 2017 · 1 comment · Fixed by #1663
Labels

Comments

@erigul
Copy link

erigul commented Mar 17, 2017

Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

In a document with multiple lines and the cursor at the beginning of the first line;
Ctrl+v, cursor down to include all lines, Shift+i, Tab, Esc

What did you expect to happen?

All lines that was included in the visual block has white space added

What happened instead?

Only the first line had white space added.
It works if I use Space instead of Tab.

Technical details:

  • VSCode Version: 1.10.2
  • VsCodeVim Version: 0.6.6
  • OS: Win 7
@erigul
Copy link
Author

erigul commented Mar 20, 2017

I was trying to have a look at this myself but got stuck at the class InsertInInsertVisualBlockMode in actions.ts where I can see that this action supposed to trigger on <any> key.
During debugging most keys I press hits a breakpoint in the exec function, but I can't get any breakpoints to trigger when clicking TAB

I don't know enough about how the Vim plugin, or VS Code itself, handles Tab so I don't really know where to continue looking.

Chillee added a commit to Chillee/Vim that referenced this issue May 6, 2017
johnfn added a commit that referenced this issue May 13, 2017
Fixes #1400, #612, #1632, #1634, #1531, #1458: Tab isn't handled properly for insert and visualblockinsert modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants