Last active
December 27, 2015 07:49
-
-
Save miya0001/7292233 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="[\u@\h \W]\\$ " | |
HISTIGNORE=rm\ * | |
alias vi="vim" | |
alias delmacfile="find . -name \".DS_Store\" -exec rm -f {} \;" | |
alias ql='qlmanage -p "$@" >& /dev/null' | |
alias svndel="svn st | grep '^!' | sed -e 's/\![ ]*/svn del /g' | sh" | |
alias svnadd="svn st | grep '^?' | sed -e 's/\?[ ]*/svn add /g' | sh" | |
alias yuicomp="/usr/local/bin/yuicompressor --charset UTF-8 -o" | |
alias rsync="rsync -avz --exclude=\".svn\" --exclude=\".DS_Store\" --exclude=\".git\"" | |
alias imgsize="mdls -name kMDItemPixelWidth -name kMDItemPixelHeight" | |
alias lessc="lessc --yui-compress --include-path=/Users/miyauchi/Dropbox/mixins" | |
alias kindlegen="~/Applications/KindleGen_Mac_i386_v2_7/kindlegen" | |
alias epubcheck="java -jar ~/epubcheck-3.0/epubcheck-3.0.jar" | |
alias wpgrep="find ~/www/wp-latest -name \"*.php\" | xargs grep" | |
alias makepot="/usr/bin/php ~/wordpress-i18n-tools/makepot.php wp-plugin" | |
export PATH="$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH" | |
export PATH=/usr/local/share/npm/bin:$PATH | |
export PATH=~/.wp-cli/bin:$PATH | |
RUBY_BINDIR=`brew info ruby|grep /bin|tr -d ' '` | |
export PATH=$RUBY_BINDIR:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set modeline | |
set modelines=5 | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
set nobackup | |
set number | |
set termencoding=utf-8 | |
set encoding=utf-8 | |
set fileencodings=utf-8,euc-jp,sjis | |
set fileformat=unix | |
set showmatch | |
highlight ZenkakuSpace cterm=underline ctermfg=lightblue guibg=white | |
match ZenkakuSpace / / | |
highlight Comment ctermfg=white | |
augroup vimrcEx | |
autocmd! | |
autocmd BufReadPost * | |
\ if line("'\"") > 1 && line("'\"") <= line('$') | | |
\ exe "normal! g`\"" | | |
\ endif | |
augroup END | |
highlight WhitespaceEOL ctermbg=red guibg=red | |
match WhitespaceEOL /\s\+$/ | |
autocmd WinEnter * match WhitespaceEOL /\s\+$/ | |
autocmd FileType php :set dictionary=~/.vim-dict-wordpress/*.dict,~/.vim/dict/PHP.dict | |
autocmd FileType javascript :set dictionary=~/.vim/dict/jQuery.dict,~/.vim/dict/javascript.dict | |
set backspace=2 | |
set backspace=indent,eol,start | |
set history=100 | |
"---------------------------------------------------- | |
" Vundle | |
"---------------------------------------------------- | |
filetype off | |
set rtp+=~/.vim/vundle/ | |
call vundle#rc() | |
filetype plugin on | |
Bundle 'ZenCoding.vim' | |
Bundle 'AutoComplPop' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim は vundleってやつを仕込んであります。