I wanted to run the latest development version of Neovim (0.4.0) to use some of the latest features (e.g. the floating window). Unfortunately, my attempts to install it were failing. These are my notes on the problem and how I fixed it.
Computing
Vim netrw duplicate file
When using Vim sometimes I want to duplicate a file, however the default file explorer in Vim (netrw) does not handle this well. This is a Vim mapping I created to make duplicating a file easier.
Screenflow Mono Audio to Stereo
Using Screenflow 6 with my Scarlet Solo USB connection, I end up with a recording only on the left channel. I want my recording to be on both channels (in stereo). This is how I do that.
term_taxonomy_id vs term_id
In the WordPress database table “wp_term_taxonomy”, each row almost always has the same value for the two columns ‘term_taxonomy_id’ and ‘term_id’. What is the difference between these two columns?
How To Remove the Mac OS X Screenshot Delay
In Mac OS X version 10.14 Mojave, when taking a screenshot a thumbnail is displayed for a few seconds before the file is created. Unfortunately I don’t want this delay. I take a lot of screenshots (using `Command` + `Shift` + `4`) and typically want to upload the image without making any changes, making this delay frustrating. This is how I removed the delay.
Git Previous Branch
When working with Git on the command line, I spend a lot of time switching back and forth between two branches. Even with Git tab completion, it is a lot of typing. However Git has a shortcut for the previous branch, a single dash (-).
Git Commit Message Editor
By default Vim is the editor used when writing a Git commit message. While I love Vim, it does work very differently than most other editors. A good option for those who are not comfortable with Vim, is to use a different editor. This is how to setup Git to use a different editor.
Vim, tmux, iTerm broken colors
I do most of my work in Vim (or Neovim) in tmux inside of iTerm on my Mac. I found my color schemes were being properly applied in Neovim but not in Vim (version 8). Adding two lines to my .vimrc corrected the problem for me.
Git Interactive Rebase Order is Wrong
The interactive rebase feature of Git is one of my favorites. I love being able to squash multiple commits into one commit or re-order my commits for clarity. My one complaint is the Git interactive rebase commit order is wrong (at least for the way my brain works).
SSH after Mac OS X Update
I recently updated my copy of OS X to Mojave and I’m now having trouble with SSH. (I jumped a few versions but based on other posts it looks like the change to MacOS Sierra specifically was part of the problem).