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 follow symbol under cursor
Qt 6.11 is out! See what's new in the release blog

Fakevim follow symbol under cursor

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 455 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.
  • ErnestoCOE Offline
    ErnestoCOE Offline
    ErnestoCO
    wrote on last edited by
    #1

    hello im trying to map gd for "following symbol under the cursor" using fakevim, in qml it works only if the symbol is defined in another file but not for symbols defined in the same file. I also see that there is a default command ^tag?$ but I have no idea what that regular expression does or how to map it in the vimrc file

    2c6446af-26a6-4026-bcdf-3a0c5bf4874f-image.png

    this is my current ex command:
    14596158-8a60-4ba8-8dfa-150af984ba60-image.png

    and the mapping in vimrc noremap gd :gotodec<CR> and it works when the symbol is defined in another file, and behaves the same with properties, JS variables and functions.

    Does anyone know how to make this work properly? I just want to press gd and that it follows the symbol under the cursor like in non-vim mode.

    1 Reply Last reply
    1
    • J Offline
      J Offline
      JulianW
      wrote on last edited by
      #2

      Let me just bump this. I have the same question and am in general not clear about the command/mapping mechanics.

      One more example (of several) I don't get:
      I assigned the "Ex Trigger Expression" rb to Rebuild project and i can type :rb - but it always builds without cleaning. In contrast, when I select the same corresponding menu item (mouse click), it does rebuild with an initial cleaning step.

      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