Last active
August 29, 2015 14:05
-
-
Save tkfm-yamaguchi/6d9d3f9bca3ca7751c2c to your computer and use it in GitHub Desktop.
WIP - creating minimal rc to configure neocomplete
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_HOME なディレクトリにあるファイルを無視させるにはどうしたらよいか? | |
" * このファイルは読み込ませつつ .vim/plugins/*.vim などを無視させたい。 | |
" * `--noplugin` だとこのファイルで読み込み指定したプラギンも無視される…。 | |
" | |
if has('vim_starting') | |
set nocompatible | |
set runtimepath+=$HOME/.vim/bundle/neobundle.vim | |
endif | |
call neobundle#begin(expand("~/.vim/bundle")) | |
NeoBundle 'Shougo/neocomplete.vim' | |
NeoBundle 'Shougo/vimproc' | |
" NeoBundle 'Shougo/neosnippet' | |
" NeoBundle 'Shougo/context_filetype.vim' | |
call neobundle#end() | |
filetype plugin indent on | |
syntax on | |
"====================================================================== | |
if neobundle#tap('neocomplete.vim') "{{{ | |
let g:neocomplete#enable_at_startup = 1 | |
let g:neocomplete#min_keyword_length = 3 | |
let g:neocomplete#enable_smart_case = 'noinfercase' | |
" typo ったのが出てこないようにする…? | |
let g:neocomplete#enable_fuzzy_completion = 0 | |
let g:neocomplete#data_directory = expand("~/.vim/usr/neocon") | |
let g:neocomplete#skip_auto_completion_time = "" | |
let g:neocomplete#sources#syntax#min_keyword_length = 3 | |
" TODO | |
" g:neocomplete#keyword_patterns | |
" g:neocomplete#force_omni_input_patterns | |
" g:neocomplete#same_filetypes | |
" g:neocomplete#text_mode_filetypes | |
" g:neocomplete#ctags_arguments | |
" g:neocomplete#delimiter_patterns | |
" g:neocomplete#sources | |
" g:neocomplete#tags_filter_patterns | |
" g:neocomplete#ignore_composite_filetypes | |
" | |
" g:neocomplete#sources#member#input_patterns | |
" g:neocomplete#sources#omni#functions | |
" g:neocomplete#sources#omni#input_patterns | |
" g:neocomplete#sources#vim#complete_functions | |
endif | |
"}}} | |
nnoremap q<CR> :<C-U>q!<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment