My dotfile configuration. Covers Neovim, TMUX, Git, ZSH and some other things, too.
- Pull the project into your home directory
git clone https://github.com/danielo515/dotfiles.git ~/.dotfiles
git submodule update --init --recursive
- Run the installation script
cd ~/.dotfiles && ./install.sh
- Unless you're me, change the Git configuration to your own name and email address
I hate CAPSLOCK
and don't find it useful at all. However, is does occupy a really useful place on the keyboard. I've found the best use for it to be mapping it such that tapping it sends ESC
and holding it works as CONTROL
. This way, you can hold it down using your pinky finger as a modifier, or give it a quick tap to pop out of insert
mode in Vim.
Files in this repository are managed using chezmoi. Here are the particular specific things about my chezmoi configuration
- I use a subfolder called chezmoi for the chezmoi files
- I have some scripts that run once to setup some environment things
- chezmoi has the option to set configuration data in a
chezmoi.toml
file, and the documentation usually references that file. However this repository uses theyaml
version instead, and it is templated, so the file is calledchezmoi.yaml.tmpl
Every file in the zsh
folder that ends up in .zsh
is concatenated in the file name order to the zshrc everytime chezmoi apply is executed
There are some ways of defining aliases. The old/legacy one is just add them to the file named aliases
somewhere in this repo.
However, over time this has demonstrated to become cumbersome, hard to maintain and read.
Now I have a folder under chezmoi/dot_config/aliases
. All the files there are supposed to be named after a domain (for example, node_aliases
, git_aliases
etc)
and are sourced to create the global aliases.
if a file named .aliases
is found in the home folder, it is also sourced by ZSH and BASH. If you want to have some machine specific aliases, just put them there.