In continuing my exploration of my tools, today I learned…
Vim comes with its own file explorer accessible from an open file with the command
:Explore. This file explorer is the first thing you see if you open a directory in vim, which is what I did unknowingly and, at first, I did not realize what I was looking at. I now can navigate between files within vim… kind of.
Also, just tested that
:e . does the same thing as
This technically wasn’t today, but I used it again today. Those
git config --global things can also be done with
--local instead of
--global. Obviously this configures settings for the current git repository. The settings file for the current repository is available inside a repo’s
.git folder, called
config. So, instead of
~/.gitconfig for global settings, you might edit
[repo-root]/.git/config. I’m using these tricks to practice configurations without messing with my global setup.
I also figured out how to use split panes in iTerm2 on the Mac.
CMD-D splits side-by-side (new on the right), and
CMD-Shift-D splits above-and-below (new on the bottom).
I feel my tool-savvy growing exponentially.