├── .vim ├── plugin │ ├── util.vim │ ├── syntax.vim │ ├── mapping.vim │ ├── base.vim │ └── plugins.vim ├── ftplugin │ ├── qf.vim │ ├── python.vim │ ├── javascript.vim │ ├── actionscript.vim │ ├── php.vim │ ├── scala.vim │ ├── diff_fold.vim │ ├── xs.vim │ ├── vim.vim │ ├── c.vim │ ├── cpp.vim │ ├── help_fold.vim │ ├── markdown_fold.vim │ ├── vim_fold.vim │ ├── svn_diff.vim │ ├── d.vim │ ├── perl.vim │ ├── perl6.vim │ ├── haskell.vim │ ├── python_fold.vim │ ├── tex.vim │ └── zimbu.vim ├── ftdetect │ ├── zimbu.vim │ ├── clojure.vim │ ├── css3.vim │ ├── go.vim │ ├── coq.vim │ ├── json.vim │ ├── vimperator.vim │ ├── Gemfile.vim │ ├── rdoc.vim │ ├── tmux.vim │ ├── parrot.vim │ ├── markdown.vim │ ├── scala.vim │ └── asm.vim ├── colors │ ├── blackboard.vim │ ├── twilight.vim │ ├── topfunky-light.vim │ ├── desert.vim │ ├── github.vim │ └── railscasts.vim ├── indent │ ├── pir.vim │ ├── haskell.vim │ ├── scala.vim │ ├── ps1.vim │ ├── perl6.vim │ ├── zimbu.vim │ ├── nemerle.vim │ ├── nemerle.indent.vim │ ├── tex.vim │ └── perl.vim └── autoload │ └── pathogen.vim ├── .emacs.d ├── el-get │ ├── .status.el.old │ ├── .loaddefs.elc │ ├── .loaddefs.el │ └── .status.el ├── ac-comphist.dat ├── vendor │ └── auto-complete-1.3 │ │ ├── doc │ │ ├── ac.png │ │ ├── ac-fuzzy.png │ │ ├── ac-isearch.png │ │ ├── demo.txt │ │ ├── style.css │ │ ├── index.ja.txt │ │ ├── index.txt │ │ ├── changes.txt │ │ └── changes.ja.txt │ │ ├── TODO.txt │ │ ├── README.txt │ │ ├── dict │ │ ├── c-mode │ │ ├── java-mode │ │ ├── php-mode │ │ ├── c++-mode │ │ ├── python-mode │ │ ├── javascript-mode │ │ ├── ruby-mode │ │ ├── tcl-mode │ │ └── scheme-mode │ │ ├── Makefile │ │ └── etc │ │ ├── install.el │ │ └── test.txt ├── themes │ ├── solarized-theme-pkg.el │ ├── solarized-dark-theme.el │ ├── solarized-light-theme.el │ └── solarized-theme-utils.el ├── ac-dict │ ├── lua-mode │ ├── go-mode │ ├── c-mode │ ├── java-mode │ ├── ada-mode │ ├── c++-mode │ ├── javascript-mode │ ├── ruby-mode │ ├── sh-mode │ ├── python-mode │ ├── tcl-mode │ ├── caml-mode │ ├── tuareg-mode │ ├── scheme-mode │ ├── erlang-mode │ ├── coq-mode │ └── verilog-mode └── config │ └── .emacs.desktop ├── .bash ├── bash ├── cygwin_profile ├── rvm_profile ├── ubuntu_profile ├── aws_profile ├── alias.bash ├── tw_profile ├── functions.bash └── darwin_profile ├── .gitignore ├── .ackrc ├── .zsh ├── env.zsh └── alias.zsh ├── .bashrc ├── .gemrc ├── .gitmodules ├── install.sh ├── README.md ├── .gitconfig ├── .bash_profile ├── .zshrc ├── .vimrc ├── .screenrc ├── .emacs └── .tmux.conf /.vim/plugin/util.vim: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.emacs.d/el-get/.status.el.old: -------------------------------------------------------------------------------- 1 | nil -------------------------------------------------------------------------------- /.emacs.d/ac-comphist.dat: -------------------------------------------------------------------------------- 1 | (nil) 2 | -------------------------------------------------------------------------------- /.bash/bash: -------------------------------------------------------------------------------- 1 | /home/dli/code/github/lite/dotfiles/bash -------------------------------------------------------------------------------- /.vim/ftplugin/qf.vim: -------------------------------------------------------------------------------- 1 | setlocal nowrap 2 | setlocal whichwrap=b,s 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/zimbu.vim: -------------------------------------------------------------------------------- 1 | au! BufNewFile,BufRead *.zu setf zimbu 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store .svn *~ *.Swo *.swp .vim/bundle *# .emacs.d/auto-save-list 2 | -------------------------------------------------------------------------------- /.vim/ftdetect/clojure.vim: -------------------------------------------------------------------------------- 1 | autocmd BufRead,BufNewFile *.clj set filetype=clojure 2 | -------------------------------------------------------------------------------- /.vim/ftdetect/css3.vim: -------------------------------------------------------------------------------- 1 | autocmd BufRead,BufNewFile *.css set ft=css syntax=css3 2 | -------------------------------------------------------------------------------- /.ackrc: -------------------------------------------------------------------------------- 1 | --sort-files 2 | --color 3 | --context=1 4 | --follow 5 | --group 6 | --all 7 | -------------------------------------------------------------------------------- /.vim/ftdetect/go.vim: -------------------------------------------------------------------------------- 1 | " Go language. 2 | autocmd BufNewFile,BufRead *.go set filetype=go 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/coq.vim: -------------------------------------------------------------------------------- 1 | " Markdown 2 | autocmd BufRead,BufNewFile *.v setlocal filetype=coq 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/json.vim: -------------------------------------------------------------------------------- 1 | " JSON language. 2 | autocmd BufNewFile,BufRead *.json set filetype=json 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/vimperator.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *vimperatorrc*,*.vimp set filetype=vimperator 2 | -------------------------------------------------------------------------------- /.vim/ftdetect/Gemfile.vim: -------------------------------------------------------------------------------- 1 | " Ruby document. 2 | autocmd BufRead,BufNewFile Gemfile set filetype=Gemfile 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/rdoc.vim: -------------------------------------------------------------------------------- 1 | " Ruby document. 2 | autocmd BufNewFile,BufRead *.{rd,rdoc} set filetype=rdoc 3 | -------------------------------------------------------------------------------- /.bash/cygwin_profile: -------------------------------------------------------------------------------- 1 | # use putclip and getclip in cygwin 2 | alias pbcopy='putclip' 3 | alias pbpaste='getclip' 4 | 5 | -------------------------------------------------------------------------------- /.bash/rvm_profile: -------------------------------------------------------------------------------- 1 | # Load RVM, if you are using it 2 | [ -s $HOME/.rvm/scripts/rvm ] && source $HOME/.rvm/scripts/rvm 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/tmux.vim: -------------------------------------------------------------------------------- 1 | " tmux configuration file. 2 | autocmd BufNewFile,BufRead .tmux.conf*,tmux.conf* set filetype=tmux 3 | -------------------------------------------------------------------------------- /.emacs.d/vendor/auto-complete-1.3/doc/ac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lite/dotfiles/master/.emacs.d/vendor/auto-complete-1.3/doc/ac.png -------------------------------------------------------------------------------- /.bash/ubuntu_profile: -------------------------------------------------------------------------------- 1 | #sudo apt-get install xclip 2 | alias pbcopy='xclip -selection clipboard' 3 | alias pbpaste='xclip -selection clipboard -o' 4 | 5 | -------------------------------------------------------------------------------- /.emacs.d/themes/solarized-theme-pkg.el: -------------------------------------------------------------------------------- 1 | (define-package 2 | "solarized-theme" 3 | "0.5.0" 4 | "The Solarized color theme, ported to Emacs.") 5 | -------------------------------------------------------------------------------- /.emacs.d/vendor/auto-complete-1.3/doc/ac-fuzzy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lite/dotfiles/master/.emacs.d/vendor/auto-complete-1.3/doc/ac-fuzzy.png -------------------------------------------------------------------------------- /.emacs.d/vendor/auto-complete-1.3/doc/ac-isearch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lite/dotfiles/master/.emacs.d/vendor/auto-complete-1.3/doc/ac-isearch.png -------------------------------------------------------------------------------- /.bash/aws_profile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export AWS_ACCESS_KEY_ID="AKIAJG4SBVQYIEUPPLIQ" 4 | export AWS_SECRET_ACCESS_KEY="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" 5 | -------------------------------------------------------------------------------- /.zsh/env.zsh: -------------------------------------------------------------------------------- 1 | export PATH=$HOME/bin:/usr/local/bin:$PATH 2 | #export JAVA_HOME=/usr/lib/jvm/java-6-sun 3 | export JAVA_HOME=/Library/Java/Home 4 | export COPYFILE_DISABLE=1 5 | -------------------------------------------------------------------------------- /.vim/ftdetect/parrot.vim: -------------------------------------------------------------------------------- 1 | au BufNewFile,BufRead *.pmc set ft=pmc cindent 2 | au BufNewFile,BufRead *.pasm set ft=pasm ai sw=4 3 | au BufNewFile,BufRead *.pir set ft=pir ai sw=4 4 | -------------------------------------------------------------------------------- /.vim/ftdetect/markdown.vim: -------------------------------------------------------------------------------- 1 | " Markdown 2 | autocmd BufRead,BufNewFile *.mkd,*.markdown,*.md,*.mdown,*.mkdn setlocal filetype=markdown autoindent formatoptions=tcroqn2 comments=n:> 3 | -------------------------------------------------------------------------------- /.vim/ftdetect/scala.vim: -------------------------------------------------------------------------------- 1 | " $URL: https://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim/ftdetect/scala.vim $ 2 | 3 | au BufRead,BufNewFile *.scala set filetype=scala 4 | -------------------------------------------------------------------------------- /.vim/ftplugin/python.vim: -------------------------------------------------------------------------------- 1 | " Indent settings. 2 | setlocal softtabstop=4 3 | setlocal shiftwidth=4 4 | setlocal textwidth=80 5 | setlocal smarttab 6 | setlocal expandtab 7 | setlocal nosmartindent 8 | -------------------------------------------------------------------------------- /.vim/plugin/syntax.vim: -------------------------------------------------------------------------------- 1 | """"" 2 | " Highlight Settings 3 | """"" 4 | syntax on 5 | 6 | colorscheme desert 7 | 8 | hi SpecialKey ctermfg=cyan ctermbg=DarkBlue 9 | 10 | scriptencoding utf-8 11 | 12 | -------------------------------------------------------------------------------- /.bash/alias.bash: -------------------------------------------------------------------------------- 1 | 2 | alias emacs='emacs -nw' 3 | alias grep='grep -P -a --color=auto' 4 | alias df='df -h' 5 | 6 | alias hub="cd ~/code/github/lite" 7 | 8 | alias jk='java -jar /usr/local/Cellar/jenkins/1.427/lib/jenkins.war' 9 | -------------------------------------------------------------------------------- /.emacs.d/ac-dict/lua-mode: -------------------------------------------------------------------------------- 1 | and 2 | break 3 | do 4 | else 5 | elseif 6 | end 7 | false 8 | for 9 | function 10 | if 11 | in 12 | local 13 | nil 14 | not 15 | or 16 | repeat 17 | return 18 | then 19 | true 20 | until 21 | while 22 | -------------------------------------------------------------------------------- /.emacs.d/themes/solarized-dark-theme.el: -------------------------------------------------------------------------------- 1 | (require 'solarized) 2 | 3 | (deftheme solarized-dark "The dark variant of the Solarized colour theme") 4 | 5 | (create-solarized-theme 'dark 'solarized-dark) 6 | 7 | (provide-theme 'solarized-dark) 8 | -------------------------------------------------------------------------------- /.emacs.d/themes/solarized-light-theme.el: -------------------------------------------------------------------------------- 1 | (require 'solarized) 2 | 3 | (deftheme solarized-light "The light variant of the Solarized colour theme") 4 | 5 | (create-solarized-theme 'light 'solarized-light) 6 | 7 | (provide-theme 'solarized-light) 8 | -------------------------------------------------------------------------------- /.bashrc: -------------------------------------------------------------------------------- 1 | [[ -s $HOME/.bash_profile ]] && source $HOME/.bash_profile 2 | 3 | [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* 4 | 5 | PATH=/usr/local/bin:/usr/local/share/npm/bin:$HOME/bin:$PATH # Add RVM to PATH for scripting 6 | -------------------------------------------------------------------------------- /.gemrc: -------------------------------------------------------------------------------- 1 | --- 2 | :backtrace: false 3 | :benchmark: false 4 | :bulk_threshold: 1000 5 | :sources: 6 | - http://rubygems.org/ 7 | - http://gems.github.com 8 | :update_sources: true 9 | :verbose: true 10 | gem: --no-ri --no-rdoc 11 | install: --no-rdoc --no-ri 12 | update: --no-rdoc --no-ri 13 | -------------------------------------------------------------------------------- /.emacs.d/ac-dict/go-mode: -------------------------------------------------------------------------------- 1 | break 2 | case 3 | chan 4 | const 5 | continue 6 | default 7 | defer 8 | else 9 | fallthrough 10 | for 11 | func 12 | go 13 | goto 14 | if 15 | import 16 | interface 17 | map 18 | package 19 | range 20 | return 21 | select 22 | struct 23 | switch 24 | type 25 | var 26 | -------------------------------------------------------------------------------- /.vim/ftdetect/asm.vim: -------------------------------------------------------------------------------- 1 | " Filetype detect for Assembly Language. 2 | 3 | autocmd BufRead,BufNewFile *.asm set ft=masm syntax=masm 4 | autocmd BufRead,BufNewFile *.inc set ft=masm syntax=masm 5 | autocmd BufRead,BufNewFile *.[sS] set ft=gas syntax=gas 6 | autocmd BufRead,BufNewFile *.hla set ft=hla syntax=hla 7 | -------------------------------------------------------------------------------- /.vim/ftplugin/javascript.vim: -------------------------------------------------------------------------------- 1 | "" for spidermonkey 2 | setlocal makeprg=smjs\ -w\ -s\ -C\ % 3 | setlocal errorformat=%f:%l:%m 4 | " 5 | "" for rhino 6 | " setlocal makeprg=rhino\ -w\ -strict\ -debug\ % 7 | " setlocal errorformat="js: %f, line %l:%m" 8 | 9 | " au BufWritePost silent make 10 | -------------------------------------------------------------------------------- /.emacs.d/vendor/auto-complete-1.3/TODO.txt: -------------------------------------------------------------------------------- 1 | - etags, ctags 2 | - emacswiki 3 | - test facility 4 | - support composed chars 5 | - minibuffer completion 6 | - performance issue (cache issue) 7 | - asynchronous processing 8 | - kanji henkan support 9 | - create menu if needed 10 | - quick help positioning on tabs (bug) 11 | -------------------------------------------------------------------------------- /.emacs.d/vendor/auto-complete-1.3/doc/demo.txt: -------------------------------------------------------------------------------- 1 | Title: Auto Complete Mode - Demo 2 | CSS: style.css 3 | 4 | Auto Complete Mode Demo 5 | ======================= 6 | 7 | [Index](index.txt) 8 | 9 | [YouTube mirror](http://www.youtube.com/watch?v=rGVVnDxwJYE) 10 | 11 |