Skip to content

Commit

Permalink
Plugin updates
Browse files Browse the repository at this point in the history
  • Loading branch information
robmiller committed Jun 15, 2015
1 parent bb910fc commit db0e8c7
Show file tree
Hide file tree
Showing 39 changed files with 82 additions and 38 deletions.
2 changes: 1 addition & 1 deletion oh-my-zsh
2 changes: 1 addition & 1 deletion vim/bundle/ack.vim
2 changes: 1 addition & 1 deletion vim/bundle/csv.vim
Submodule csv.vim updated 9 files
+3 −1 .gitignore
+3 −3 Makefile
+95 −90 README
+4,764 −0 csv.vmb
+171 −20 doc/ft-csv.txt
+503 −251 ftplugin/csv.vim
+28 −14 plugin/csv.vim
+16 −35 syntax/csv.vim
+7 −0 todo.txt
2 changes: 1 addition & 1 deletion vim/bundle/php-syntax
Submodule php-syntax updated 2 files
+2 −2 readme.md
+28 −27 syntax/php.vim
2 changes: 1 addition & 1 deletion vim/bundle/rust.vim
2 changes: 1 addition & 1 deletion vim/bundle/syntastic
2 changes: 1 addition & 1 deletion vim/bundle/tcomment
2 changes: 1 addition & 1 deletion vim/bundle/vim-abolish
Submodule vim-abolish updated 3 files
+1 −1 README.markdown
+1 −1 doc/abolish.txt
+2 −2 plugin/abolish.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-airline
2 changes: 1 addition & 1 deletion vim/bundle/vim-bundler
Submodule vim-bundler updated 2 files
+4 −1 compiler/bundler.vim
+89 −53 plugin/bundler.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-commentary
2 changes: 1 addition & 1 deletion vim/bundle/vim-cucumber
2 changes: 1 addition & 1 deletion vim/bundle/vim-easymotion
2 changes: 1 addition & 1 deletion vim/bundle/vim-endwise
Submodule vim-endwise updated 1 files
+30 −5 plugin/endwise.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-eunuch
Submodule vim-eunuch updated 3 files
+3 −2 README.markdown
+5 −4 doc/eunuch.txt
+10 −3 plugin/eunuch.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-fugitive
2 changes: 1 addition & 1 deletion vim/bundle/vim-haml
2 changes: 1 addition & 1 deletion vim/bundle/vim-markdown
2 changes: 1 addition & 1 deletion vim/bundle/vim-ragtag
2 changes: 1 addition & 1 deletion vim/bundle/vim-rails
2 changes: 1 addition & 1 deletion vim/bundle/vim-rake
Submodule vim-rake updated 2 files
+7 −0 doc/rake.txt
+55 −397 plugin/rake.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-repeat
2 changes: 1 addition & 1 deletion vim/bundle/vim-scriptease
Submodule vim-scriptease updated 1 files
+17 −8 plugin/scriptease.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-signify
2 changes: 1 addition & 1 deletion vim/bundle/vim-sneak
2 changes: 1 addition & 1 deletion vim/bundle/vim-speeddating
Submodule vim-speeddating updated 2 files
+1 −4 autoload/speeddating.vim
+1 −1 plugin/speeddating.vim
2 changes: 1 addition & 1 deletion vim/bundle/vim-surround
2 changes: 1 addition & 1 deletion vim/bundle/vim-textobj-user
2 changes: 1 addition & 1 deletion vim/bundle/vim-unimpaired
11 changes: 11 additions & 0 deletions vim/spell/en.utf-8.add
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,14 @@ Instagram
refactoring
refactored
wireframes
CRM
isn
lexing
Parslet
we’d
isn’t
simplicity’s
’s
ve
RTF
freeform
Binary file modified vim/spell/en.utf-8.add.spl
Binary file not shown.
26 changes: 25 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,31 @@ autocmd FileType vcl
\ setlocal expandtab |
\ setlocal smarttab

autocmd FileType liquid
\ setlocal shiftwidth=2 |
\ setlocal tabstop=2 |
\ setlocal expandtab |
\ setlocal smarttab

autocmd FileType pml
\ setlocal shiftwidth=2 |
\ setlocal tabstop=2 |
\ setlocal expandtab |
\ setlocal smarttab

" Plugin-specific stuff

" Smart quotes
augroup textobj_quote
autocmd!
autocmd FileType markdown call textobj#quote#init()
autocmd FileType pml call textobj#quote#init()
autocmd FileType text call textobj#quote#init({'educate': 0})
augroup END

" Ctrl-P config
" comma-r to activate most recently used files mode
nnoremap <leader>r :CtrlPMRUFiles<CR>
nnoremap <leader>t :CtrlPMRUFiles<CR>
" enable ctrlp-funky extension
let g:ctrp_extensions = ['funky']
" comma-f to activate the function list
Expand Down Expand Up @@ -313,6 +333,10 @@ nnoremap gp `[v`]
nnoremap <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
" Word count current file
nnoremap <Leader>c :!wc -w '%'<CR>
" Strip inner whitespace in XML tags
autocmd FileType xml,pml nnoremap <Leader>t vitgeOWxvitp
" Convert hashrocket hash to new-style Ruby one
autocmd FileType ruby nnoremap <Leader>h f:xf=gea:<ESC>f=3x
" Leader commands for blogging
function LiquidLeaders()
Expand Down
13 changes: 11 additions & 2 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function strip_trailing_whitespace() {

# Count the significant lines of code in the current directory.
function sloc() {
grep -v '^$' **.(js|php) | grep -v '//' | wc -l
grep -v '^$' **/*.(js|php|rb) | grep -v '//' | wc -l
}

# Copy the last-run command to the clipboard
Expand Down Expand Up @@ -91,6 +91,9 @@ alias lsl="ls -ahl"
alias lsd="ls -ld *(-/DN)"
alias ls-today="ls *(m-1)"

alias cruby="/opt/chefdk/embedded/bin/ruby"
alias start-chef="eval '$(chef shell-init zsh)'"

eval "$(hub alias -s)"

[[ -f /usr/local/bin/ctags ]] && alias ctags="/usr/local/bin/ctags"
Expand Down Expand Up @@ -126,8 +129,12 @@ export EDITOR='vim'

[[ -e $HOME/dotfiles/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh ]] && source $HOME/dotfiles/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh

export JAVA_HOME=`/usr/libexec/java_home -v 1.6`

DEFAULT_PATH=$PATH

# Standard binaries
PATH=~/bin:/usr/local/bin:/usr/bin:/bin
PATH=~/bin:~/dotfiles/bin:/usr/local/bin:/usr/bin:/bin
# System binaries
PATH+=:/usr/local/sbin:/usr/sbin:/sbin
# RVM, the Ruby Version Manager
Expand All @@ -146,6 +153,8 @@ PATH+=:~/pear/bin
PATH+=:/usr/local/share/python
# npm-installed binaries
PATH+=:/usr/local/share/npm/bin
# Whatever the path was originally set to
PATH+=:$DEFAULT_PATH

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
[[ -s "/usr/local/rvm/scripts/rvm" ]] && . "/usr/local/rvm/scripts/rvm"
Expand Down

0 comments on commit db0e8c7

Please sign in to comment.