I’ve been absolutely loving treesitter. It’s come a long way and it’s been absolutely great for things like folds, motions, highlights of course. Now that I’ve finally gotten familiar with writing my own queries I can extend the existing plugins. As an example I’ve added folds to blocks of multiple consecutive comments in JS and Ruby.

What are some of your favorites?

  • Chris@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    well, i eschewed motion plugins for so long, but i recently installed easy motion, to quote “maybe use it minimally so i don’t have to change my work flow too much”. i pretty much gave up using w, e, b and f within a day of installing it, replacing each of them with a more efficient reach for the same number of key presses. similar situation with ultisnips, thinking it’d be overkill for my needs. these both work really well with opening zsh commands in $editor too.

    • yads@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Someone else in the thread recommended pounce as well for that. I actually used to have hop installed, but I just never would use it. The default motions seem sufficient for me.