Toby's Log page 4

The weather has been positively spring-like. Some of the bulb plants in my yard have been sprouting and some of the snow-drops I planted this past fall have actually been blooming already. I’ve been trying to spend extra time outside, especially when the sun is out.


Vim terminal mode config

Vim has a couple ways to run terminal commands from the editor. From ex command mode, :! will allow running a single command before breaking back to Vim, while :term will open a new terminal window within Vim, by default in a split, to run as many commands as you want. There are several settings in my vimrc that I add to make working with these terminal modes easier and nicer. I will share some of them below.

Continue reading post "Vim terminal mode config"

SSH to directory

I have been using SSH configuration a lot to make short hostname aliases for sites I SSH into frequently, but I recently figured out how to use it to change to a certain directory by default when logging in. At work, our sites each have their own user with their own site project directory. Most of the time when I log in, I want to go to the project directory instead of the default, the home directory. I cded manually each time for a long time, but decided to look up a better option, and found a config option on ServerFault.

Continue reading post "SSH to directory"

New tires

I got new tires for my car Wednesday. General Altimax RT45’s. Those are the new version of the ones I’ve gotten several times in the past. They are a good mix of rating well on snow, rating well overall, and a relatively decent price. And just in time. They showed their worth on the snowy roads on Friday, having little trouble where my previous tires it would’ve been more nerve racking.

Continue reading post "New tires"