425 | cnoremap <expr> <Space> ambicmd#expand("\<Space>")
426 | cnoremap <expr> <CR> ambicmd#expand("\<CR>")
427 | cnoremap <expr> <C-F> ambicmd#expand("\<Right>")
C
は使わないんだろうか
468 | nnoremap CtrlP <Nop>
469 | nmap <C-P> CtrlP
470 | nnoremap CtrlP :<C-U>CtrlP<CR>
471 | nnoremap CtrlPb :<C-U>CtrlPBuffer<CR>
472 | nnoremap CtrlPm :<C-U>CtrlPMRU<CR>
517 | " plugin: license {{{1
518 | if g:vimrc.has_plugin('license.vim')
519 | let g:license_shiftwidth = 3
520 | let g:license_textwidth = 68
521 | endif
330 | Plug 'hattya/license.vim'
573 | " plugin: hahhah {{{1
574 | if g:vimrc.has_plugin('hahhah-vim')
575 | function! LightlineHahHah() abort
576 | if winwidth(0) < 100
577 | return ''
578 | endif
579 |
580 | let hahhah = g:lightline.vimrc.hahhah
581 | if empty(hahhah) || hahhah.i == 4
582 | call extend(hahhah, {
583 | \ 'text': hahhah#get_text(),
584 | \ 'i': 0,
585 | \})
586 | endif
587 | let hahhah.i += 1
588 | return hahhah.text
589 | endfunction
590 |
591 | let g:lightline.vimrc.hahhah = {}
592 | let g:lightline.component_function['hahhah'] = 'LightlineHahHah'
593 | call add(g:lightline.active.left[1], 'hahhah')
594 | endif
701 | augroup vimrc-plugin-template
702 | autocmd!
703 | autocmd FileType * execute 'TemplateLoad /filetype/' . &l:filetype
704 | autocmd User plugin-template-loaded call s:template_loaded()
705 | augroup END
706 | function! s:template_loaded() abort
707 | let pos = getpos('.')
708 | silent %s/<%=\(.\{-}\)%>/\=eval(submatch(1))/ge
709 | call histdel('/', -1)
710 | call cursor(1, 1)
711 | if search('<+CURSOR+>')
712 | normal! zv"_da>
713 | else
714 | call setpos('.', pos)
715 | endif
716 | endfunction