I learned once again that true color schemes don't work in macOS's Terminal.app. I also learned that the default color scheme in neovim is very plain and doesn't provide a lot of variation for treesitter syntax elements. So, choose a different built-in color scheme as the default. I also learned about the ColorScheme autocmd event, which is fired after a color scheme is applied. Convert the (janky) reloadColorscheme function to a set of autocommands that trigger based on the color scheme name. Along the way, add some explicit configuration for treesitter: enable highlighting, indentation, and make sure some of my common languages have plugins installed. Also link the "objcpp" filetype to both "objc" and "cpp" treesitter plugins. Lastly, make some updates to the git gutter color configuration. Create some autocommands that are applied after the plugin is loaded. For the gutter, use color 233 from the 256 color palette, which is a very dark gray. |
||
---|---|---|
Alfred/Alfred.alfredpreferences | ||
Ansible | ||
bin | ||
Colors | ||
config/nvim | ||
dircolors | ||
Dotfiles | ||
LaunchAgents | ||
mutt | ||
Python/eryntools | ||
ssh | ||
vim | ||
Xcode | ||
zsh/func | ||
.gitignore | ||
clangd | ||
emacs | ||
gdbinit | ||
gitconfig | ||
gitignore | ||
gvimrc | ||
hgrc | ||
indent.pro | ||
logrc | ||
muttrc | ||
nethackrc | ||
README.md | ||
screenrc | ||
setup.sh | ||
tmux.conf | ||
toprc | ||
vimrc | ||
vimrc.common | ||
Xdefaults | ||
zprofile | ||
zshenv | ||
zshrc |
Dotfiles
This is my collection of dotfiles, preserved here for all to see and enjoy. Feel free to copy anything you see here. It would be nice if you added a comment mentioning where you got it.
My environment relies on zsh
, vim
, and git
.
Installation
Clone the repository to a directory on your machine. I like to use
~/.dotfiles
.
git clone https://github.com/erynofwales/dotfiles.git ~/.dotfiles
Run the setup script.
cd ~/.dotfiles
./setup.sh
This script will symlink all the config files in the directory to your home directory, clone a bunch of git repos, and do some other miscellaneous setup.
Enjoy.
Profiling
ZSH has a built in profiler. If you're concerned about init times, place the
following at the top of .zshenv
.
zmodload zsh/zprof
Then, at the end of either .zshrc
or .zprofile
, call zprof
to get the
results of the profiling session.
License
Everything in this repository is licensed under the Creative Commons Attribution 3.0 Unported License.