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

Parse command `noremap <Space>yy "+yy` error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 6.0.0-beta1
    • Qt Creator 5.0.0
    • FakeVim
    • None
    • All
    • e1a69fccb15a87ffc637898cf2248358edb01258 (qt-creator/qt-creator/6.0)

    Description

      I hava a vimrc config file for Fakevim plugin, there is a `map` command in that file:

      noremap <Space>yy "+yy

      The source code lines below will delete the command contents :

      "+yy

       

      // qt-creator/src/plugins/fakevim/fakevimhandler.cpp
      // bool FakeVimHandler::Private::handleExSourceCommand(const ExCommand &cmd)
      
      //  remove comment
      int i = nextline.lastIndexOf('"');
      if (i != -1)
          nextline = nextline.remove(i, nextline.size() - i);
      

       

       

       

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-26254
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            listenerri listenerri listenerri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes