-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
433 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
# Generated by http://gitignore.io | ||
# And refer to https://github.com/github/gitignore | ||
|
||
### vim ### | ||
.*.s[a-w][a-z] | ||
*.un~ | ||
Session.vim | ||
.netrwhist | ||
*~ | ||
|
||
### Android ### | ||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
bin/ | ||
gen/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Eclipse project files | ||
.classpath | ||
.project | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
# Proguard folder generated by Intellij | ||
proguard_logs/ | ||
|
||
# Intellij project files | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
adt-bundle-windows-x86_64/ | ||
|
||
### Eclipse ### | ||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/** | ||
tmp/** | ||
tmp/**/* | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
### IntelliJ ### | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
### Windows ### | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
### Linux ### | ||
.* | ||
!.gitignore | ||
*~ | ||
|
||
### SVN ### | ||
.svn/ | ||
|
||
### Mercurial ### | ||
/.hg/* | ||
*/.hg/* | ||
.hgignore | ||
|
||
### Ruby ### | ||
*.gem | ||
*.rbc | ||
.bundle | ||
.config | ||
coverage | ||
InstalledFiles | ||
lib/bundler/man | ||
pkg | ||
rdoc | ||
spec/reports | ||
test/tmp | ||
test/version_tmp | ||
tmp | ||
|
||
# YARD artifacts | ||
.yardoc | ||
_yardoc | ||
doc/ | ||
|
||
### CakePHP ### | ||
tmp/* | ||
[Cc]onfig/core.php | ||
[Cc]onfig/database.php | ||
app/tmp/* | ||
app/[Cc]onfig/core.php | ||
app/[Cc]onfig/database.php | ||
!empty | ||
|
||
### FuelPHP ### | ||
fuel/app/logs/*/*/* | ||
fuel/app/cache/*/* | ||
|
||
### ZendFramework ### | ||
INSTALL.txt | ||
LICENSE.txt | ||
README.txt | ||
demos/ | ||
extras/documentation | ||
|
||
### Rails ### | ||
*.rbc | ||
*.sassc | ||
.sass-cache | ||
capybara-*.html | ||
.rspec | ||
.rvmrc | ||
/.bundle | ||
/vendor/bundle | ||
/log/* | ||
/tmp/* | ||
/db/*.sqlite3 | ||
/public/system/* | ||
/coverage/ | ||
/spec/tmp/* | ||
**.orig | ||
rerun.txt | ||
pickle-email-*.html | ||
.project | ||
|
||
# my settings | ||
|
||
### vim | ||
.local.vimrc | ||
|
||
### vagrant | ||
.vagrant | ||
|
||
### gtags | ||
GPATH | ||
GRTAGS | ||
GTAGS | ||
|
||
### Bazzar | ||
.bzr* | ||
|
||
# Node.ignore | ||
lib-cov | ||
*.seed | ||
*.log | ||
*.csv | ||
*.dat | ||
*.out | ||
*.pid | ||
*.gz | ||
|
||
pids | ||
logs | ||
results | ||
|
||
npm-debug.log | ||
node_modules | ||
|
||
# my tool | ||
git-export-config.yml | ||
|
||
# local utility script | ||
,* |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
DOTFILES_EXCLUDES := .DS_Store .git .gitmodules .travis.yml | ||
DOTFILES_TARGET := $(wildcard .??*) bin | ||
DOTFILES_DIR := $(PWD) | ||
DOTFILES_FILES := $(filter-out $(DOTFILES_EXCLUDES), $(DOTFILES_TARGET)) | ||
|
||
deploy: | ||
@$(foreach val, $(DOTFILES_FILES), ln -sfnv $(abspath $(val)) $(HOME)/$(val);) | ||
|
||
init: | ||
@$(foreach val, $(wildcard ./etc/init/*.sh), bash $(val);) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
alias ls='ls -hFG' | ||
alias ll='ls -l' | ||
alias la='ls -al' | ||
|
||
alias vihosts='sudo vi /etc/hosts' | ||
|
||
alias ..='cd ../' | ||
alias ...='cd ../../' | ||
alias ....='cd ../../../' | ||
alias .....='cd ../../../../' | ||
|
||
alias higre='history | grep' | ||
alias psgre='ps aux | grep' | ||
alias ps='ps aux' | ||
|
||
alias h='history' | ||
alias j='jobs -l' | ||
alias du='du -h' | ||
alias tailf='tail -f' | ||
|
||
# tmux { | ||
alias ta='tmux attach' | ||
# } | ||
|
||
# Ruby on Rails { | ||
alias bui='bundle install' | ||
alias buu='bundle update' | ||
alias buc='bundle clean --force' | ||
alias bue='bundle exec' | ||
# } | ||
|
||
# Switch displaying hidden files for Finder { | ||
alias finder-show-dotfiles="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder" | ||
alias finder-hide-dotfiles="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder" | ||
# } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export EDITOR=/usr/bin/vi | ||
|
||
# dotfiles/script { | ||
export PATH=~/dotfiles/bin:$PATH | ||
# } | ||
|
||
# system { | ||
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:$PATH | ||
# } | ||
|
||
# Home { | ||
export PATH=~/usr/local/bin:~/usr/local/sbin:~/bin:$PATH | ||
# } | ||
|
||
# rbenv { | ||
if [ -e ~/.rbenv ]; then | ||
export PATH=$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH:$PATH | ||
eval "$(rbenv init -)" | ||
fi | ||
# } | ||
|
||
# nodebrew { | ||
[ -e ~/.nodebrew/current/bin/nodebrew ] && export PATH=$HOME/.nodebrew/current/bin:$PATH | ||
# } | ||
|
||
# pythonbrew { | ||
[ -e ~/.pythonbrew/etc/bashrc ] && source ~/.pythonbrew/etc/bashrc | ||
# } | ||
|
||
# Java { | ||
if [ -d /Library/Java/Home/ ]; then | ||
export JAVA_HOME=/Library/Java/Home/ | ||
export PATH=$JAVA_HOME/bin:$PATH | ||
fi | ||
# } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function share_history { | ||
history -a | ||
history -c | ||
history -r | ||
} | ||
|
||
PROMPT_COMMAND='share_history' | ||
shopt -u histappend | ||
export HISTFILESIZE=9999 | ||
export HISTSIZE=9999 | ||
export HISTIGNORE=pwd:ls:la:ll:fg:history:h |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
" auto reload .vimrc | ||
augroup source-vimrc | ||
autocmd! | ||
autocmd BufWritePost *vimrc source $MYVIMRC | set foldmethod=marker | ||
autocmd BufWritePost *gvimrc if has('gui_running') source $MYGVIMRC | ||
augroup END |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
" Note: Skip initialization for vim-tiny or vim-small. | ||
if 0 | endif | ||
|
||
if has('vim_starting') | ||
if &compatible | ||
set nocompatible | ||
endif | ||
set runtimepath+=~/.vim/bundle/neobundle.vim/ | ||
endif | ||
call neobundle#begin(expand('~/.vim/bundle/')) | ||
|
||
" Let NeoBundle manage NeoBundle | ||
NeoBundleFetch 'Shougo/neobundle.vim' | ||
|
||
" My Bundles here: | ||
NeoBundle 'tomasr/molokai' | ||
NeoBundle 'sjl/badwolf' | ||
|
||
NeoBundle 'scrooloose/syntastic' | ||
set statusline+=%#warningmsg# | ||
set statusline+=%{SyntasticStatuslineFlag()} | ||
set statusline+=%* | ||
|
||
let g:syntastic_always_populate_loc_list = 1 | ||
let g:syntastic_auto_loc_list = 1 | ||
let g:syntastic_check_on_open = 1 | ||
let g:syntastic_check_on_wq = 0 | ||
|
||
NeoBundle 'mhinz/vim-startify' | ||
|
||
NeoBundle 'thinca/vim-quickrun' | ||
|
||
NeoBundle 'mattn/emmet-vim' | ||
|
||
NeoBundle 'editorconfig/editorconfig-vim' | ||
|
||
NeoBundle 'Shougo/unite.vim' | ||
let g:unite_enable_start_insert=1 | ||
let g:unite_source_history_yank_enable =1 | ||
let g:unite_source_file_mru_limit = 64 | ||
|
||
NeoBundle 'Shougo/neocomplcache' | ||
let g:acp_enableAtStartup = 0 | ||
let g:neocomplcache_enable_at_startup = 1 | ||
let g:neocomplcache_enable_smart_case = 1 | ||
let g:neocomplcache_min_syntax_length = 3 | ||
let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*' | ||
|
||
let g:neocomplcache_dictionary_filetype_lists = { | ||
\ 'default' : '' | ||
\ } | ||
|
||
inoremap <expr><C-g> neocomplcache#undo_completion() | ||
inoremap <expr><C-l> neocomplcache#complete_common_string() | ||
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR> | ||
function! s:my_cr_function() | ||
return neocomplcache#smart_close_popup() . "\<CR>" | ||
endfunction | ||
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" | ||
inoremap <expr><C-h> neocomplcache#smart_close_popup()."\<C-h>" | ||
inoremap <expr><BS> neocomplcache#smart_close_popup()."\<C-h>" | ||
inoremap <expr><C-y> neocomplcache#close_popup() | ||
inoremap <expr><C-e> neocomplcache#cancel_popup() | ||
call neobundle#end() | ||
|
||
filetype plugin indent on | ||
NeoBundleCheck |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"colorscheme molokai | ||
colorscheme badwolf |
Oops, something went wrong.