Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Fakevim ex commands for multiple lines don't work as expected
Forum Updated to NodeBB v4.3 + New Features

Fakevim ex commands for multiple lines don't work as expected

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 74 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • peblusP Offline
    peblusP Offline
    peblus
    wrote last edited by
    #1

    Hi everyone.

    I can't find the way of editing multiple lines using Ex commands.

    Given this example text

    Line 1
    Line 2
    Line 3
    

    And this command

    :0,$ normal A;
    

    There should be this resulting text, as texted in vim

    Line 1;
    Line 2;
    Line 3;
    

    But fakevim just does the "A;" operation on the current line

    Line 1;
    Line 2
    Line 3
    

    What's exactly the thing that fakevim is not capable of doing? I ask so I know my way around it's limitations, but if there's some way of doing the same operation for a large number of lines, I'll be happy to know.

    Is this worthy of opening an issue?

    Thanks in advance :)

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote last edited by
      #2

      Please do open an issue. Qt Creator does support multiple cursors, but I have no idea if FakeVim support this.

      It could be an easy fix ... :)

      peblusP 1 Reply Last reply
      0
      • cristian-adamC cristian-adam

        Please do open an issue. Qt Creator does support multiple cursors, but I have no idea if FakeVim support this.

        It could be an easy fix ... :)

        peblusP Offline
        peblusP Offline
        peblus
        wrote last edited by
        #3

        @cristian-adam That's good to know. Should I open it here? https://bugreports.qt.io/secure/Dashboard.jspa Or where you thinking about opening the issue somewhere else?

        Thanks for the tip!

        SGaistS 1 Reply Last reply
        0
        • peblusP Offline
          peblusP Offline
          peblus
          wrote last edited by
          #4

          Sorry, I forgot the specs!
          Here they are
          Qt version: 6.6.2
          Qt creator version: 17.0.0
          Platform: Linux mint
          Installer: Qt maintenance tool

          1 Reply Last reply
          0
          • peblusP peblus

            @cristian-adam That's good to know. Should I open it here? https://bugreports.qt.io/secure/Dashboard.jspa Or where you thinking about opening the issue somewhere else?

            Thanks for the tip!

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #5

            @peblus hi,

            Your link is the correct one :-)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved