I usually want to clear the highlights after doing whatever the reason
for the search was, but having to re-enable it all the time was
annoying. So, using `:nohlsearch` fixes that, as this command does
exactly what I actually wanted all along.
/bin/dash does not implement the -d option for read. Using newlines as
separator for the files within a package is fine, as I am quite sure
there is no risk of having a newline character as part of the name in
any of my dotfiles.
The previous format for some reason was causing problems when wrapping
comments in files with ft=sh. This new pattern seems to fix the issue
while keeping the old functionality.
When running a command via SSH without allocating a pseudo terminal,
for example, $TERM is not set, causing `tput` to freak out about not
knowing the terminal type.
So, we suppress the customization of man pages when $TERM is not set, in
which case we wouldn't have needed it anyway, as we don't even have a
terminal to type `man` :).
The reason for this is that in some servers the automatic detection (see
:help background) is guessing it wrong and using a light background,
consequently burning my eyeballs every time I open vim.
Hard coding the dark background seems fine for now, as I seem to never
really have a need for the light version. If the needs arises in the
future, then I'll have to come up with a better solution, but KISS for
now.
I actually don't have a use case for this at the moment and removing it
avoids running arbitrary vimscript unintentionally. I can always add it
back later if a real world use case arises...