Skip to content

Instantly share code, notes, and snippets.

@mactkg
Created May 13, 2011 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mactkg/969894 to your computer and use it in GitHub Desktop.
Save mactkg/969894 to your computer and use it in GitHub Desktop.
syntax enable
filetype plugin indent on
" neocomplcache
let g:neocomplcache_enable_underbar_completion = 1
" neocomplcache
let g:NeoComplCache_EnableAtStartup = 1
" 大文字小文字を区別する
let g:NeoComplCache_SmartCase = 1
" キャメルケース補完を有効にする
let g:NeoComplCache_EnableCamelCaseCompletion = 1
" アンダーバー補完を有効にする
let g:NeoComplCache_EnableUnderbarCompletion = 1
" シンタックスファイルの補完対象キーワードとする最小の長さ
let g:NeoComplCache_MinSyntaxLength = 3
" プラグイン毎の補完関数を呼び出す文字数
let g:NeoComplCache_PluginCompletionLength = {
\ 'keyword_complete' : 2,
\ 'syntax_complete' : 2
\ }
" tab and BS
set smarttab expandtab
set tabstop=2 shiftwidth=2
set backspace=indent,eol,start
" indent
set autoindent
set cindent
" search
set incsearch hlsearch ignorecase smartcase
" format
set encoding=utf-8
set fileformat=unix fileformats=unix,dos,mac
set fileencoding=utf-8 fileencodings=ucs-bom,utf-8,cp932,euc-jp,latin1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment