I am a C++ dev. I am now able to follow up symbols or files using LSP,/projectile/ivy/transient aso… but inside one file, I have difficulties going quickly up function by function, or by if/for statement. Do you know a convenient way to do this ? I am interested in any navigation tips as well ! Thanks for your help !

  • KonpakuYoumu@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    For functions, use M-x imenu or consult-imenu for flattened results. For if/for statements, just isearch. If you’re an evil user, mark the point (mx means the point is stored in x ) then jump back ('x).