Posts by Toby

I am a quiet person from Northeast Ohio. I work as a web developer. I like computers, music, and many other things.

My Moto X phone, a stand-in for my non-functioning Pixel 3a, scared me by force shutting down and then getting stuck in a reboot loop for a bit. That’s too similar to the behavior of the Pixel. Luckily, plugging it into a different USB charger and giving it time, the problem resolved itself and it has been running fine for almost a full day. Hopefully, that keeps up, as I still haven’t gotten the Pixel going or figured out what I want for a new phone.


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"