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

After switching charset, vim plugin stopped working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.12.2
    • FakeVim
    • None
    • Ubuntu-18, this problem also could be reproduced in MacOS
    • Linux/Wayland, macOS

    Description

      Steps to reproduce this problem:

      1. Enable fake-vim plugin;
      2. In "Tools" -> "Options" -> "Behavior" > "Default Encoding", Choose a type of encoding which is not suitable for your current source encoding, In my case I choose GBK(my source is UTF-8 encoding);
      3.  Open one of your source files in the editor;
      4. QtCreator will detect wrong encoding setting and prompt above editor window, Select the top-right button "Select Encoding", and choose the right encoding;
      5. Now as you typing, fake-vim plugin will not working as if not enabled, though vim status-bar is still there but not accepting any commands;
      6. Disable and re-enable fake-vim will make vim work again.

      Attachments

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

        Activity

          People

            hjk hjk
            william_9527 Bill Jolly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes