Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24094

Visual block insert strips indentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.12.1
    • FakeVim
    • None
    • Linux/X11

      I assumed this was a known and low-priority issue, but today it annoyed me enough to look into it, and if I understand correctly (fakevimhandler.cpp:2634 or so) the indentation is stripped on purpose. This and the fact that I couldn't find any open issue for this made me realize I'm probably doing indentation wrong.

      What's the best way to fix this? What breaks if I just remove that indentation stripping? Or does it make sense to special case "someone inserted just white space in visual block insert mode"?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            sandsmark Martin Sandsmark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes