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

Doesn't work with tabs #1

Closed
idbrii opened this issue Jul 24, 2012 · 2 comments
Closed

Doesn't work with tabs #1

idbrii opened this issue Jul 24, 2012 · 2 comments
Assignees

Comments

@idbrii
Copy link
Contributor

idbrii commented Jul 24, 2012

Great plugin! I love the idea, but unfortunately it doesn't work with tabs. Looks like it's because when using | to jump to a column, it uses screen columns (instead of actual columns -- see :help bar). Maybe you could multiply the number of tab characters by the value of tabstop?

Repro:
Edit word-column.vim
Put cursor on first 'let' in file.
vic selects all of the lets.
%sm/^ /\t to switch to tabs.
Put cursor on first 'let' in file.
vic selects some weird stuff (on ca711dd it selects a bunch of stuff late in the file and on 69c30da it selects from the beginning of the line).

@ghost ghost assigned coderifous Jul 25, 2012
@coderifous
Copy link
Owner

Thanks for the report, I'm looking into it now.

@coderifous
Copy link
Owner

Pydave, thanks for reporting this. This should be fixed now, please report any other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants