/ posts/ 9

tags

# pro-tip: quick macOS text selection

i'm constantly working with code/text. below are a few macOS keyboard shortcuts i use all the time to speed up my work. these shortcuts can be applied to anywhere system wide where there is editable text. the icons next to the spelled out keyboard keys are how they appear on your keyboard symbolically.

  • move cursor position to next word boundary: option + right arrow (⌥ →)
  • move cursor position to previous word boundary: option + left arrow (⌥ ←)
  • select from cursor position to the next word boundary: shift + option + right arrow (shift ⌥ →)
  • select from cursor position to the previous word boundary: shift + option + left arrow (shift ⌥ ←)
  • select from cursor to end of line: shift + command + right arrow (shift ⌘ →)
  • select from cursor to beginning of line: shift + command + left arrow (shift ⌘ ←)
  • select from cursor to beginning of document: shift + cmd + up arrow (shift ⌘ ↑)
  • select from cursor to end of document: shift + cmd + down arrow (shift ⌘ ↓)
  • select from cursor to the line above: shift + up arrow (shift ↑)
  • select from cursor to the line below: shift + up arrow (shift ↓)

with the last two shortcuts (line by line selection), you can start with shift + up/down arrow, and then press the option (⌥) key to change to word boundary selection mid-selection.

my most common use is option + right/left arrow in conjunction with shift + option + right/left arrow since i'm constantly making typos.

# my favorite restaurants and places in spain

barcelona

  • soma - didn't get to go here, but it looks good.
  • miam - didn't go here, but the brunch food looks legit.
  • maleducat - probably the best meal i had in barcelona.
  • amar - nice fine dining restaurant. can't go wrong with this one.

madrid

  • streetxo - the best meal i had in spain. if you pick one restaurant, make it this one. this is the sister restaurant to the 4th best restaurant in the world (as of this posting) – diverxo. make sure to make a reservation.
  • el retiro park - really nice place to walk around. i was running at the time and pulled a muscle here.
  • barracuda - after a walk in el retiro, go to this place for some of the best mexican food ever.
  • honest greens - spain is notorious for not having vegetables in their cuisine. this is a good place to get a salad. you can order via their app for pickup or delivery. nice vibes at this location.
  • mercado de san miguel - really great food market. make sure to get a beer along with all your food.
  • álex cordobés - you can get basque cheesecake here. be prepared for a line. it moves quickly though.
  • alma bakery - didn't get to go here, but looks really good.
  • torrons vicens - sweets shop with a bunch of goodies.

bilbao

  • restaurante viña del ensanche - if you can't make it to san sebastián to the original location, you can get your cheesecake at their bilbao location.
  • guggenheim museum bilbao - nice museum. lots of interesting exhibits. worth a visit.
  • café bar bilbao - nice tapas place. there are a lot of different places in nueva plaza. fun place to spend time and bounce around all the different shops.
  • salmon guru - didn't get to go here, but really good cocktails.

san sebastián

  • atari gastrolekua - i visited this place on a rainy day, but the kitchen was closed. i didn't get to the menu, but it was still good. featured in the travel man basque country episode
  • la cuchara de san telmo - this was by far the best meal i had in the city. the indoor area is extremely cramped, but they have seating outside. there's always a line here. make sure to get txakoli with your meal.
  • la viña - this is the home to the original basque cheesecake. it's good, but i think the basque cheesecake at ernest in san francisco is that much better.