Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .vimrc.bundle
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ endif
NeoBundle 'thinca/vim-textobj-plugins.git'

" vim-textobj-lastpat : 最後に検索されたパターンをtext-objectに
NeoBundle 'kana/vim-textobj-lastpat.git'
" NeoBundle 'kana/vim-textobj-lastpat.git'

" vim-textobj-indent : インデントされたものをtext-objectに
NeoBundle 'kana/vim-textobj-indent.git'

" vim-textobj-function : 関数の中身をtext-objectに
NeoBundle 'kana/vim-textobj-function.git'
" NeoBundle 'kana/vim-textobj-function.git'

" vim-textobj-fold : 折りたたまれたアレをtext-objectに
" NeoBundle 'kana/vim-textobj-fold.git'
NeoBundle 'textobj-rubyblock'
" NeoBundle 'textobj-rubyblock'

" vim-textobj-entire : buffer全体をtext-objectに
NeoBundle 'textobj-entire'
" NeoBundle 'textobj-entire'

" 「foo」 or 【bar】などをtext-objectに
NeoBundle 'textobj-jabraces'
Expand Down Expand Up @@ -289,9 +289,6 @@ endif
" ステータスラインをカッコよくする
NeoBundle 'Lokaltog/vim-powerline'

" Redmine on Vim
NeoBundle 'mattn/vim-metarw-redmine'

" A framework to read/write fake:path
NeoBundle 'kana/vim-metarw'

Expand Down
43 changes: 37 additions & 6 deletions .vimrc.plugins_setting
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,43 @@ endfunction
nnoremap <expr><silent> <C-c> quickrun#is_running() ? quickrun#sweep_sessions() : "\<C-c>"

autocmd BufReadPost *_spec.rb call RSpecQuickrun()

"------------------------------------
" vim-ref
"------------------------------------
"
"Vim で英語を書く時に便利なプラグインいくつか - akishin999の日記
"http://d.hatena.ne.jp/akishin999/20131024/1382569289
"
" vim-ref のバッファを q で閉じられるようにする
autocmd FileType ref-* nnoremap <buffer> <silent> q :<C-u>close<CR>

" カーソル下の単語を英辞書る
nnoremap ej :Ref webdict ej <C-r><C-w><Enter>

" 辞書定義
let g:ref_source_webdict_sites = {
\ 'je': {
\ 'url': 'http://dictionary.infoseek.ne.jp/jeword/%s',
\ },
\ 'ej': {
\ 'url': 'http://ejje.weblio.jp/content/%s'
\ },
\ }

" デフォルトサイト
let g:ref_source_webdict_sites.default = 'ej'

" 出力に対するフィルタ
" 最初の数行を削除
function! g:ref_source_webdict_sites.je.filter(output)
return join(split(a:output, "\n")[15 :], "\n")
endfunction

function! g:ref_source_webdict_sites.ej.filter(output)
return join(split(a:output, "\n")[15 :], "\n")
endfunction

"------------------------------------
" Pydiction
"------------------------------------
Expand Down Expand Up @@ -494,12 +531,6 @@ endfunction
autocmd User Rails call SetUpRailsSetting()


"------------------------------------
" mattn/vim-metarw-redmine
"------------------------------------
let g:metarw_redmine_server = 'http://redmine.dev.scaleout.jp'
let g:metarw_redmine_apikey = '2ed945f405865ec799ff91b7bb364215f932c51c'

"------------------------------------
" GoLang gocde
"------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion .zshrc.osx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export PATH="/usr/local/heroku/bin:$PATH"
# Ruby
# if [[ -s /Users/ozaki/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
export RBENV_ROOT=/usr/local/var/rbenv
if which rbenv > /dev/null 2&>1 ; then eval "$(rbenv init -)"; fi
if which rbenv > /dev/null 2>&1 ; then eval "$(rbenv init -)"; fi

export REFE_DATA_DIR=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/refe

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# dotfiles
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/yuroyoro/dotfiles?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)