15 points
*
Deleted by creator
permalink
report
reply
3 points
*
Deleted by creator
permalink
report
parent
reply
3 points

v a ( S {

  1. jesus it’s hard to type vim expressions on my phone - it’s such a different kind of muscle memory. I don’t really have this memorized - I literally think “v-select around parens, shift-s-wrap with curly braces” and my fingers just do it. vim is a language which is ultimately easier on the brain than a bunch of random hotkeys to memorize.

  2. this selects the current paranthesized expression and wraps it in curly braces. you can replace ( and { with whatever text objects you like. and you can swap a for i if you want to nest instead.

this might require a plugin, though.

permalink
report
parent
reply
Deleted by creator
permalink
report
reply

This is the correct take

permalink
report
parent
reply

Learn vim so you can lord it over the people in your life that even know what a terminal is.

All one of them.

permalink
report
reply
15 points
*
Deleted by creator
permalink
report
reply
4 points

oh man, notepadd++

i keep forgetting to install that

permalink
report
parent
reply
4 points

The main reason I stick with vim is because I just can’t be bothered to install and set up any other IDEs. Sure, VS Code can use vim keybindings, but it also has a million other fiddly things going on that I just don’t want to deal with. I only use VS Code for a handful of very specific things. Vim for everything else

permalink
report
reply

I like that vs code is usually capable of getting my language server stuff going for me, but I use it like it’s a vim gui.

permalink
report
parent
reply

technology

!technology@hexbear.net

Create post

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

  • 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
  • 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
  • 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
  • 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
  • 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
  • 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
  • 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.

Community stats

  • 16

    Monthly active users

  • 5.1K

    Posts

  • 60K

    Comments