Skip to content
My personal dotfiles. Mostly for vim, tmux, git, etc.
Vim script Shell JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.oh-my-zsh Update the color of non-zero exit code in prompt Oct 9, 2019
.vim
bin Add a git subcommand to prune squash-merged branches Jul 24, 2019
doc Fix typo Oct 17, 2017
karabiner Update karabiner JSON Dec 3, 2017
.bash_profile Set EDITOR env var Oct 8, 2019
.gitconfig Add an alias for `git log --oneline` Jun 21, 2019
.gitignore Migrate from neobundle.vim to dein.vim. Mar 5, 2016
.gitignore_global Use vim with Scala Jul 24, 2019
.ideavimrc Add a configuration file for IdeaVim. Nov 11, 2015
.tmux.conf
.tmux.linux.conf Use clipboard with tmux on Ubuntu Jun 24, 2018
.tmux.mac.conf Configure zsh Oct 8, 2019
.vimrc Share clipboard with Vim on Ubuntu Jun 24, 2018
.zshrc Customize zsh prompt Oct 8, 2019
README.md Document how to use dotfiles/.zshrc Oct 8, 2019
brew.sh Install fzf Apr 18, 2019
curl-format.txt feat(curl): add curl format for performance report Apr 10, 2017
ergodox.md Ergodox keyboard layout Jul 1, 2018
init.sh Customize zsh prompt Oct 8, 2019
ubuntu.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.
  • 'Cobalt2' preset is my current favorite color preset.

Bash

At the bottom of ~/.bash_profile:

source ~/dotfiles/.bash_profile

Zsh

At the bottom of ~/.zshrc`:

source ~/dotfiles/.zshrc

Git

At the top of ~/.gitconfig:

[include]
  path = ~/dotfiles/.gitconfig

Diff of MS Office files (if necessary...)

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

To update plugins

:call dein#update()

To have a nice vim-airline status bar (if you want)

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

You can’t perform that action at this time.