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 - muscle memory says it ain't vi.

Fakevim - muscle memory says it ain't vi.

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 5 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.
  • J Offline
    J Offline
    jrowellfx
    wrote on last edited by
    #1

    New guy here. Let me start out by saying that I think Qt and the IDE is really wonderful.

    I love the fact that the attempt has been made to have a vi mode for the code editor in Qt Creator, the problem is it's not a fully fleshed out vi implementation. That is; it's missing arbitrary commands here and there. Being an old-school vi super user, the editor is pretty much hard coded into my muscle memory, so as I start to cook I hit snags and gotchas as I'm banging out vi commands - which really puts a crimp in my workflow.

    I suppose it's really not ready for prime time. Is there a plan to really get "fakevim" to behave as closely as humanly possible to actual vi? That would really rock if it were the case. At any rate, I suppose I should get used to having an separate vi window open to the side and work there. Perhaps turn off fakevim mode in Qt Creator.

    Curious about plans and what how other vi aficionados feel about this - i.e; how do you deal with these shortcomings?

    Regards,
    James.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Well, I am sure the QtCreator team is open for your patches?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Fakevim is maintained by one guy here that does implement whatever he thinks is missing. So by now it covers most of the mostly used stuff, but it is far from complete. Feel free to request missing features in our "bug tracker":http://bugreports.qt.nokia.com/ or send in patches via "gitorious":https://qt.gitorious.org/qt-creator merge requests if you want something happening now:-)

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jrowellfx
          wrote on last edited by
          #4

          That's great to know guys - thanks. Perhaps someday I will try to pitch in and flesh it out, good suggestion.

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

            The "FakeVim Plan" is not to have a 100% vim clone. There's vim after all. No need for re-doing it.

            The plan is rather to have something "good enough", i.e. something that covers most (if not all) what "normal" vi users actually use, together with a seamless integration to Creator's code completion etc.

            FakeVim feature requests on bugreports.qt.nokia.com typically stay not open for a long time, especially if accompanied with a patch or merge request. Actual vi commands take usually just a few lines to implement. If they are not "there" yet the reason typically is that nobody needed and bothered to ask for them.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              markanth
              wrote on last edited by
              #6

              I think the bug tracker link is old.

              This may be the new one:

              https://bugreports.qt-project.org/secure/Dashboard.jspa

              It appears that the Forum login does not suffice for the bug tracker login.

              Hopefully it is OK to add a request or two here?

              Here are a couple requests:

              :resize (to resize edit windows)

              <CTRL> - Q (as <CTRL> - V alias)

              :e xyz.cpp

              (bringing up the search window is nice, but if there is a argument that follows, for muscle memory convenience, it would be also nice if the file in the argument was loaded in the current window.)

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Sure, go ahead and add requests here. A bored developer might stumble over them and actually do something about them. The by far biggest part of the requests made here will be lost though.

                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