this post was submitted on 08 Apr 2024
944 points (98.1% liked)

Programmer Humor

19197 readers
1101 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

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 <,

[โ€“] [email protected] 3 points 5 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