• AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    7 months ago

    Feel it’s worth noting that ys[motion][symbol] is a plugin (vim-surround or nvim-surround at your option) and most IDEs therefore don’t support it

    Also as for plugins, Tim Pope’s vim-argumentative is another one I love. “Swap this parameter with the next one” is >, and “swap this parameter with the previous” is <,

    • Hexarei@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      7 months ago

      Ah right, I forget that that one is from vim-surround. Though I know some ides do support somewhat custom vim-configs!

      I didn’t know about argumentative, my swapping is powered by Tree-Sitter