My personal dotfiles. Mostly for vim, tmux, git, etc.
Vim script Shell JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.karabiner
.vim
bin
.alacritty.yml
.bash_profile
.gitconfig
.gitignore
.gitignore_global
.gvimrc
.hyper.js
.ideavimrc
.tmux.conf
.vimrc
README.md
brew.sh
curl-format.txt
init.sh

README.md

Dotfiles

My personal dotfiles.

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

iTerm 2

Use iTerm 2 on Mac and set Preferences > Profiles > Terminal > Terminal Emulation > Report Terminal Type to xterm-256color.

'Pastel (Dark Background)' preset is my favorite.

Bash

At the bottom of ~/.bash_profile:

source ~/dotfiles/.bash_profile

Git

At the top of ~/.gitconfig:

[include]
  path = ~/dotfiles/.gitconfig

Diff of MS Office files

To see diffs of MS Office files in text, install tika:

brew install tika

And add .gitattributes to your project.

*.pptx diff=office
*.docx diff=office
*.xlsx diff=office

Vim

Syntax Check

Syntactic plugin is employed to perform syntax check. Make sure to prepare proper executables.

  • rubocop for ruby
  • eslint and jscs for javascript
  • coffeelint for coffee

Font

Install patched Monaco font for vim-airline. Set it as Non-ASCII Font of iTerm2.