shuhei / dotfiles

🍞 My personal dotfiles that have configurations for Vim, tmux, Alacritty, Git, etc.
7 stars 2 forks source link
alacritty dotfiles git tmux vim

Dotfiles

My personal configurations for Vim, tmux, Alacritty, Git, etc.

Installation

Clone this repository to your home directory and run the init script.

cd ~
git clone git@github.com:shuhei/dotfiles.git

./dotfiles/init.sh

Check alacritty/base.yml and install the fonts used in the configuration.

Color scheme

Use colorscheme command to update color schemes of Alacritty, Vim and partially tmux together.

# Good for morning
colorscheme ayu-light
# Good for night
colorscheme nord
colorscheme pink-moon

The command generates .alacritty.yml and .tmux.color.conf.

Bash

At the bottom of ~/.bash_profile:

source ~/dotfiles/.bash_profile

Zsh

Install oh-my-zsh.

~/.zshrc:

export ZSH="/Users/shuhei/.oh-my-zsh"

# Load before oh-my-zsh.sh because `plugins` are listed in this file.
source ~/dotfiles/.zshrc

# Set a custom directory for the custom prompt
ZSH_CUSTOM=~/dotfiles/.oh-my-zsh
ZSH_THEME="euro"

source $ZSH/oh-my-zsh.sh

Delete completion cache files when you add a new completion plugin.

Cookbook

Git

At the top of ~/.gitconfig:

[include]
  path = ~/dotfiles/.gitconfig

Don't forget to set your user name and email address:

git config --global user.name "Shuhei Kagawa"
git config --global user.email "shuhei.kagawa@gmail.com"

Vim

Vim 8 vs Neovim

This repo’s configuration should be compatible with both of Neovim and Vim 8. To switch between them, delete ~/.cache/dein and install dein.vim again because the cache directory built for Vim 8 doesn't work for Neovim and vice versa.

Cookbook

Text Editing

Navigation

Window

Git

Plugins

Switching modes

Misc

tmux

Cookbook

Focus mode

Plugins