Vim: jk doesn't respect tab size

Created on 27 May 2019  路  2Comments  路  Source: VSCodeVim/Vim

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

func f() {
    return
}
  1. Put cursor on r.
  2. Type k.
  3. Cursor moves onto u.

Expected behavior
Cursor moves onto n.

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

Additional context
This is a problem especially with go lang because go formatter replaces spaces with tabs.

aremotion good first issue help wanted kinbug

Most helpful comment

For the maintainers (if you prefer to dedupe issues) the following are related: #2458, #2913

This has been reproduced on Linux, MacOS, and Windows.

All 2 comments

For the maintainers (if you prefer to dedupe issues) the following are related: #2458, #2913

This has been reproduced on Linux, MacOS, and Windows.

Closing in favor of #2458

Was this page helpful?
0 / 5 - 0 ratings

Related issues

liamdawson picture liamdawson  路  3Comments

elithrar picture elithrar  路  3Comments

typeoneerror picture typeoneerror  路  3Comments

lucastheisen picture lucastheisen  路  3Comments

spinningarrow picture spinningarrow  路  3Comments