Skip to content

Instantly share code, notes, and snippets.

@ryuichiueda
Created November 16, 2014 06:55
Show Gist options
  • Save ryuichiueda/c04889c169a1aa689e01 to your computer and use it in GitHub Desktop.
Save ryuichiueda/c04889c169a1aa689e01 to your computer and use it in GitHub Desktop.
syntax on
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_snippets_dir = $HOME.'/.vim/snippets'
syntax enable
" <C-k> にマッピング
imap <C-k> <Plug>(neocomplcache_snippets_expand)
smap <C-k> <Plug>(neocomplcache_snippets_expand)
filetype plugin on
set noexpandtab
autocmd FileType rst setl suffixesadd=.rst noexpandtab ts=8 sw=8 sts=0
if !exists('g:neocomplcache_plugin_rank')
let g:neocomplcache_plugin_rank = {}
endif
let g:neocomplcache_plugin_rank.buffer_complete = 90
highlight Pmenu ctermbg=4
highlight PmenuSel ctermbg=1
highlight PMenuSbar ctermbg=4
"hi clear Pmenu
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
set ambiwidth=double
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment