• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle








  • It’s useful when vim is being run from a different program or script.

    For example, if I run p4 change to create a new Perforce changelist it will open up my editor (which I have set to vim) so that I can enter the CL description and other fields. If I realize I don’t actually actually want to create the CL yet I can use :cq to quit with an error so that p4 knows to abort.

    I also have a script I use for diffing a list of file pairs. It runs vimdiff on the first pair of files then if I exit with :qa it will move on to the next pair of files. But if I exit with :cq it will just abort and skip all of the remaining file pairs.



  • I have some good friends I met through concerts.

    There are a couple smaller venues that fit a few hundred people that I frequent. When you catch a lot of shows in a particular genre and the crowd’s that small you’ll start to see some familiar faces at each show. You already have something in common which makes it easier to strike up a conversation.

    One band I like plays three nights at this large amphitheatre every year, and you basically have to camp there since there aren’t any hotels nearby. So I’ve also met friends out there since you get a whole weekend to hang out and if you go every year you run into other people who go every year.