Skip to content

Commit

Permalink
My once in a while commit of whatever is in here
Browse files Browse the repository at this point in the history
  • Loading branch information
mileszs committed Apr 20, 2016
1 parent 454dec4 commit 55154a2
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 12 deletions.
18 changes: 8 additions & 10 deletions vim/.netrwhist
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =9
let g:netrw_dirhist_1='/Users/mileszs/code/hg-technologies/warmup-ninja'
let g:netrw_dirhist_2='/Users/mileszs/code/hg-technologies/warmup-ninja/test'
let g:netrw_dirhist_3='/Users/mileszs/code/hg-technologies/warmup-ninja/test/api'
let g:netrw_dirhist_4='/Users/mileszs/code/hg-technologies/warmup-ninja/test/api/hg_ninja'
let g:netrw_dirhist_5='/Users/mileszs/code/mobi/devpool/app'
let g:netrw_dirhist_6='/Users/mileszs/code/indyhackers.org/app/assets/stylesheets'
let g:netrw_dirhist_7='/Users/mileszs/code/hg-technologies/warmup-ninja/app/api/hg_ninja'
let g:netrw_dirhist_8='/Users/mileszs/code/hg-technologies/warmup.ninja-chrome/src/sources'
let g:netrw_dirhist_9='/Users/mileszs/code/hg-technologies/warmup-ninja/app/assets/stylesheets'
let g:netrw_dirhist_cnt =7
let g:netrw_dirhist_1='/Users/mileszs/.gem/ruby/2.2.3/gems'
let g:netrw_dirhist_2='/Users/mileszs/.gem/ruby/2.2.3/gems/factory_girl-4.5.0'
let g:netrw_dirhist_3='/Users/mileszs/.gem/ruby/2.2.3/gems/factory_girl-4.5.0/lib'
let g:netrw_dirhist_4='/Users/mileszs/.gem/ruby/2.2.3/gems/factory_girl-4.5.0/lib/factory_girl'
let g:netrw_dirhist_5='/Users/mileszs/code/springbuk/springbuk/app/assets/stylesheets/application'
let g:netrw_dirhist_6='/Users/mileszs/code/springbuk'
let g:netrw_dirhist_7='/Users/mileszs/code/amedco/amedco-workshop-evaluator/app/assets/javascripts'
1 change: 1 addition & 0 deletions vim/bundle/dash.vim
Submodule dash.vim added at 4b01b6
1 change: 1 addition & 0 deletions vim/bundle/syntastic
Submodule syntastic added at cc440f
1 change: 1 addition & 0 deletions vim/bundle/vim-elixir
Submodule vim-elixir added at 85593b
1 change: 1 addition & 0 deletions vim/bundle/vim-indent-guides
Submodule vim-indent-guides added at 49bde6
1 change: 1 addition & 0 deletions vim/bundle/vim-unimpaired
Submodule vim-unimpaired added at 11dc56
24 changes: 22 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Plugin 'gmarik/Vundle.vim'
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo

Plugin 'tpope/vim-unimpaired'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-rake'
Expand Down Expand Up @@ -54,6 +55,10 @@ Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
Plugin 'mileszs/vim-react-snippets'
Plugin 'mxw/vim-jsx'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'rizzatti/dash.vim'
Plugin 'scrooloose/syntastic'
Plugin 'elixir-lang/vim-elixir'

" All of your Plugins must be added before the following line
call vundle#end() " required
Expand Down Expand Up @@ -101,6 +106,8 @@ set incsearch " search as you type
set ignorecase
set smartcase " case-smart searching

set colorcolumn=80

" File-type highlighting and configuration
syntax on
filetype plugin on
Expand Down Expand Up @@ -192,8 +199,7 @@ let g:rails_projections = {
\ }

let g:rspec_runner = "os_x_iterm"
let g:rspec_command = "!zeus rspec {spec}"
" let g:rspec_command = "Dispatch rspec {spec}"
let g:rspec_command = "Dispatch rspec {spec}"

" RSpec.vim mappings
" map <Leader>t :call RunCurrentSpecFile()<CR>
Expand All @@ -211,5 +217,19 @@ nmap <silent> ss :sp<CR>
" AutoClose remapping
nmap <Leader>x <Plug>ToggleAutoCloseMappings
"Map esc to jj
inoremap jj <esc>
" Configure Syntastic for linter checks
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 2
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_enable_rubocop_checker = 1

" github
source /Users/mileszs/.vimgithubrc
3 changes: 3 additions & 0 deletions zsh/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ alias gm='git merge'
alias gp='git pull'
alias gpa='git pull --all'
alias gpp='gp && git push origin `current_git_branch`'
alias push='git push origin `current_git_branch`'
alias gprp='gp && rake && gpp'
alias gri='git rebase -i origin/master^'
alias grc='git rebase --continue'
Expand Down Expand Up @@ -60,6 +61,8 @@ alias gw='git whatchanged'
alias gnext='git checkout $(git rev-list HEAD..master | tail -n 1)'
alias gprev='git checkout HEAD~1'

alias refetch='git fetch && git reset --hard FETCH_HEAD'

# Heroku
alias pushroku='git push heroku master'

Expand Down
2 changes: 2 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ bindkey -M viins '^B' push-line-or-edit
bindkey -M vicmd '^[OA' vi-up-line-or-history
# change the shortcut for expand alias
bindkey -M viins '^X' _expand_alias
# restore history search ability using Ctrl-R
bindkey "^R" history-incremental-search-backward

# edit current command in $EDITOR
autoload -U edit-command-line
Expand Down

0 comments on commit 55154a2

Please sign in to comment.