枕が変わると眠れないタイプ
各種設定ファイル
~/.gitignore
.DS_Store
.idea/
*.swp
~/.gitconfig
[user]
name = あれ
email = いわゆるひとつの
[core]
editor = vim
quotepath = false
excludesfile = ~/.gitignore
[color]
ui = auto
[alias]
co = checkout
st = status
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
[push]
default = current
~/.vimrc
call pathogen#infect()
syntax enable
filetype plugin indent on
set hlsearch
set number
set tabstop=2
" :a! → ペースト → ESC でペースト時にひどいインデントにならない
set autoindent
set expandtab
set shiftwidth=2
" cursorline つけるとむっさ遅くなる。まぁお好みで
" set cursorline
" 80行信者ではないが業務上やむを得ず…
set colorcolumn=81
" 行末の空白に死のマーク x
set listchars=trail:x
set list
~/.screenrc
escape ^T^T
defscrollback 4000
startup_message off
caption always '%?%F%{= bW}%:%{= Kk}%?%2n%f%07=%t%='
hardstatus alwayslastline '%m/%d %02c:%s %{= .g}%H%{-} %L=%-w%45L>%{=u b.}%n %t%{-}%+w %-17<%=%{= .y}(%l)'
ディレクトリ構造
~/
root/
tmp/ # 一時的なもの置き場
account_info/ # ssh キーなどを置いておく。 ~/.ssh/id_rsa は この中の秘密鍵へシンボリックリンクを貼る
work/ # 仕事用ディレクトリ。この中に、会社ごとのディレクトリを置く