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 clipboard commands?
QtWS25 Last Chance

FakeVim clipboard commands?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 5.5k Views
  • 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.
  • Z Offline
    Z Offline
    zxtlpn
    wrote on last edited by
    #1

    Hi, I haven't been successful in trying to tell Qt Creator to cut/copy/paste text using the clipboard in FakeVim mode. Ctrl+X/C/V don't work and neither do "+p/y/d or "*p/y/d. I have to go to the Edit menu. Also there's the possibility of binding :paste, :cut and :copy ex commands, but that's just quirky. Is there something else I'm missing or should I file a bugreport?

    Qt Creator 2.1.0 @ Ubuntu

    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sarbash
      wrote on last edited by
      #2

      You should learn Vim to work it out. A learning curve is steep but it's worth it.

      copy - y
      cut - either in visual mode use x to cut whole part into the buffer or just to cut a current char under cursor
      paste - p

      Vim rocks.

      God bless,
      Sergey.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zxtlpn
        wrote on last edited by
        #3

        No, Sergey, you don't get it. These don't use the system (Xorg) clipboard.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sarbash
          wrote on last edited by
          #4

          Oh, I'm sorry, didn't mind it...
          But, if you let fakevim bypass control keystrokes (there is an option there in settings - "Pass control key") then you may use editor's shortcuts with fakevim. Consider, they use system clipboard. Maybe not exactly what we should to be but better than nothing.
          Otherwise, I think I know no more than you. :)

          --
          Truly Yours,
          Sergey.

          1 Reply Last reply
          1
          • D Offline
            D Offline
            Duck
            wrote on last edited by
            #5

            Perhaps put it on bugreports.qt.nokia.com

            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