Thursday, July 4, 2013

My vimrc and bash_profile files

Every time I cleanly install my mac, I always to forget backup vimrc and bash_profile (or bashrc for Linux) files, and need to think how they look like. To solve this problem, I'll note here.

vimrc
set nu
set ai
set ic
set ts=2
set et
syntax on


bash_profile
alias ll="ls -la"
alias la="ls -a"
export CLICOLOR=1


Although, I can remember every set command for vim, I can't remember how to make vim colorful (i.e. syntax on). Same as bash.