This file contains hidden or 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
" リロード後に戻ってくるアプリ 変更してください | |
let g:returnApp = "iTerm" | |
nmap <Space>bc :ChromeReloadStart<CR> | |
nmap <Space>bC :ChromeReloadStop<CR> | |
nmap <Space>bf :FirefoxReloadStart<CR> | |
nmap <Space>bF :FirefoxReloadStop<CR> | |
nmap <Space>bs :SafariReloadStart<CR> | |
nmap <Space>bS :SafariReloadStop<CR> | |
nmap <Space>bo :OperaReloadStart<CR> | |
nmap <Space>bO :OperaReloadStop<CR> |
This file contains hidden or 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
"------------------------------------ | |
" sass | |
"------------------------------------ | |
""{{{ | |
let g:sass_compile_auto = 1 | |
let g:sass_compile_cdloop = 5 | |
let g:sass_compile_cssdir = ['css', 'stylesheet'] | |
let g:sass_compile_file = ['scss', 'sass'] | |
let g:sass_started_dirs = [] | |
au! BufWritePost * SassCompile |
This file contains hidden or 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
"------------------------------------ | |
" sass | |
"------------------------------------ | |
""{{{ | |
let g:sass_compile_auto = 1 | |
let g:sass_compile_cdloop = 5 | |
let g:sass_compile_cssdir = ['css', 'stylesheet'] | |
let g:sass_compile_file = ['scss', 'sass'] | |
let g:sass_started_dirs = [] |
This file contains hidden or 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
"---------------------------------------- | |
" zencoding | |
"---------------------------------------- | |
" codaのデフォルトと一緒にする | |
imap <C-E> <C-Y>, | |
let g:user_zen_leader_key = '<C-Y>' | |
" 言語別に対応させる | |
let g:user_zen_settings = { | |
\ 'lang' : 'ja', | |
\ 'html' : { |
This file contains hidden or 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
" HTML 5 tags | |
syn keyword htmlTagName contained article aside audio bb canvas command | |
syn keyword htmlTagName contained datalist details dialog embed figure | |
syn keyword htmlTagName contained header hgroup keygen mark meter nav output | |
syn keyword htmlTagName contained progress time ruby rt rp section time | |
syn keyword htmlTagName contained source figcaption | |
syn keyword htmlArg contained autofocus autocomplete placeholder min max | |
syn keyword htmlArg contained contenteditable contextmenu draggable hidden | |
syn keyword htmlArg contained itemprop list sandbox subject spellcheck | |
syn keyword htmlArg contained novalidate seamless pattern formtarget |
This file contains hidden or 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
" keymap"{{{ | |
" Plugin key-mappings. | |
imap <C-F> <Plug>(neocomplcache_snippets_expand) | |
smap <C-F> <Plug>(neocomplcache_snippets_expand) | |
imap <C-U> <Esc>:Unite snippet<CR> | |
inoremap <expr><C-g> neocomplcache#undo_completion() | |
" inoremap <expr><C-L> neocomplcache#complete_common_string() | |
if has('conceal') | |
set conceallevel=2 concealcursor=i |
This file contains hidden or 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-rsense | |
"------------------------------------ | |
"{{{ | |
" Rsense | |
let g:rsenseUseOmniFunc = 1 | |
let g:rsenseHome = expand('~/.vim/ref/rsense-0.3') | |
function! SetUpRubySetting() | |
setlocal completefunc=RSenseCompleteFunction |
This file contains hidden or 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.vim | |
"------------------------------------ | |
""{{{ | |
"有効化 | |
let g:rails_some_option = 1 | |
let g:rails_level = 4 | |
let g:rails_syntax = 1 | |
let g:rails_statusline = 1 | |
let g:rails_url='http://localhost:3000' |
This file contains hidden or 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_use_vimproc = 1 | |
let g:ref_open = 'split' | |
let g:ref_cache_dir = expand('~/.Trash') | |
" PATHを設定する | |
let g:ref_refe_cmd = expand('~/.vim/ref/ruby-ref1.9.2/refe-1_9_2') |
This file contains hidden or 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
" Rspec | |
let g:quickrun_config['ruby.rspec'] = { | |
\ 'type' : 'ruby.rspec', | |
\ 'command': 'rspec', | |
\ 'exec': 'bundle exec %c %o %s', | |
\ 'outputter' : 'rspec_outputter' | |
\} | |
let rspec_outputter = quickrun#outputter#buffer#new() | |
function! rspec_outputter.init(session) |