Created
April 16, 2012 07:58
-
-
Save tdkn/2397007 to your computer and use it in GitHub Desktop.
.vimrc (自分用)
This file contains hidden or 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
set nocompatible | |
"-------- | |
" vundle | |
"-------- | |
filetype off "required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'nanotech/jellybeans.vim' | |
Bundle 'pangloss/vim-javascript' | |
Bundle 'Lokaltog/vim-powerline' | |
Bundle 'JavaScript-syntax' | |
Bundle 'Shougo/unite.vim' | |
Bundle 'Shougo/vimproc' | |
Bundle 'Shougo/neocomplcache' | |
Bundle 'Shougo/neosnippet' | |
Bundle 'sudo.vim' | |
filetype plugin indent on "required! | |
"-------- | |
" visual | |
"-------- | |
colorscheme jellybeans | |
set number | |
set t_Co=256 | |
syntax on | |
set showmatch | |
set showcmd | |
set laststatus=2 | |
"set statusline=%F%m%r%h%w\%=[TYPE=%Y]\[FORMAT=%{&ff}]\[ENC=%{&fileencoding}]\[LOW=%l/%L] | |
set notitle | |
"-------- | |
" editor | |
"-------- | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set clipboard+=unnamed | |
set wildmenu | |
set nobackup | |
"-------- | |
" search | |
"-------- | |
nnoremap <C-L> :nohl<CR><C-L> | |
set incsearch | |
set hlsearch | |
set ignorecase | |
set smartcase | |
set autoindent | |
"-------- | |
" plugin | |
"-------- | |
let g:neocomplcache_enable_at_startup = 1 | |
" neosnippet key mappings | |
imap <C-k> <Plug>(neosnippet_expand_or_jump) | |
smap <C-k> <Plug>(neosnippet_expand_or_jump) | |
" SuperTab like snippets befavior | |
imap <expr><TAB> neosnippet#expandable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>" | |
smap <expr><TAB> neosnippet#expandable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" | |
" for snippet_complete marker | |
if has('conceal') | |
set conceallevel=2 concealcursor=i | |
endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment