Skip to content

Instantly share code, notes, and snippets.

@alpaca-tc
Created January 13, 2013 00:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alpaca-tc/4521425 to your computer and use it in GitHub Desktop.
Save alpaca-tc/4521425 to your computer and use it in GitHub Desktop.
"------------------------------------
" 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
" let g:neosnippet#snippets_directory = s:default_snippet . ',' . s:my_snippet
imap <silent><C-F> <Plug>(neosnippet_expand_or_jump)
inoremap <silent><C-U> <ESC>:<C-U>Unite snippet<CR>
nnoremap <silent><Space>e :<C-U>NeoSnippetEdit -split<CR>
smap <silent><C-F> <Plug>(neosnippet_expand_or_jump)
" xmap <silent>o <Plug>(neosnippet_register_oneshot_snippet)
"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment