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
" surround_custom_mappings.vim"{{{ | |
let g:surround_custom_mapping = {} | |
let g:surround_custom_mapping._ = { | |
\ 'p': "<pre> \r </pre>", | |
\ 'w': "%w(\r)", | |
\ } | |
let g:surround_custom_mapping.help = { | |
\ 'p': "> \r <", | |
\ } | |
let g:surround_custom_mapping.ruby = { |
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
" neobundle"{{{ | |
filetype plugin indent off " required! | |
" initialize"{{{ | |
if has('vim_starting') | |
let bundle_dir = '~/.bundle' | |
if !isdirectory(bundle_dir.'/neobundle.vim') | |
call system( 'git clone https://github.com/Shougo/neobundle.vim.git '.bundle_dir.'/neobundle.vim') | |
endif |
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
"------------------------------------ | |
" neosnippet | |
"------------------------------------ | |
" neosnippet "{{{ | |
" snippetを保存するディレクトリを設定してください | |
" example | |
" let s:default_snippet = neobundle#get_neobundle_dir() . '/neosnippet/autoload/neosnippet/snippets' " 本体に入っているsnippet | |
" let s:my_snippet = '~/snippet' " 自分のsnippet | |
" let g:neosnippet#snippets_directory = s:my_snippet |
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
"------------------------------------ | |
" neocomplcache | |
"------------------------------------ | |
" 補完・履歴 neocomplcache "{{{ | |
set infercase | |
"---------------------------------------- | |
" neocomplcache | |
let g:neocomplcache_enable_at_startup = 1 |
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
"------------------------------------ | |
" vim-rails | |
"------------------------------------ | |
""{{{ | |
"有効化 | |
let g:rails_default_file='config/database.yml' | |
let g:rails_level = 4 | |
let g:rails_mappings=1 | |
let g:rails_modelines=0 | |
" let g:rails_some_option = 1 |
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
"------------------------------------ | |
" endwise.vim | |
"------------------------------------ | |
"{{{ | |
let g:endwise_no_mappings=1 | |
"}}} |
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
"------------------------------------ | |
" Unite-rails.vim | |
"------------------------------------ | |
"{{{ | |
function! UniteRailsSetting() | |
nnoremap <buffer><C-H><C-H><C-H> :<C-U>Unite rails/view<CR> | |
nnoremap <buffer><C-H><C-H> :<C-U>Unite rails/model<CR> | |
nnoremap <buffer><C-H> :<C-U>Unite rails/controller<CR> | |
nnoremap <buffer><C-H>c :<C-U>Unite rails/config<CR> |
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
"---------------------------------------- | |
" vim-ref | |
"---------------------------------------- | |
"{{{ | |
let g:ref_open = 'split' | |
let g:ref_refe_cmd = expand('~/.vim/ref/ruby-ref1.9.2/refe-1_9_2') | |
nnoremap rr :<C-U>Unite ref/refe -default-action=split -input= | |
nnoremap ri :<C-U>Unite ref/ri -default-action=split -input= |
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
" neobundle"{{{ | |
filetype plugin indent off " required! | |
" initialize"{{{ | |
if has('vim_starting') | |
let bundle_dir = '~/.bundle' | |
if !isdirectory(bundle_dir.'/neobundle.vim') | |
call system( 'git clone https://github.com/Shougo/neobundle.vim.git '.bundle_dir.'/neobundle.vim') | |
endif |
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
" neobundle"{{{ | |
filetype plugin indent off " required! | |
" initialize"{{{ | |
if has('vim_starting') | |
let bundle_dir = '~/.bundle' | |
if !isdirectory(bundle_dir.'/neobundle.vim') | |
call system( 'git clone https://github.com/Shougo/neobundle.vim.git '.bundle_dir.'/neobundle.vim') | |
endif |
OlderNewer