Created
October 7, 2013 03:50
-
-
Save happyjake/6862300 to your computer and use it in GitHub Desktop.
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
" | |
" how to install | |
" | |
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
" vim +BundleInstall +qall | |
" | |
set nocompatible | |
" vundle { | |
filetype off | |
"} | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
" === bundle conf === { | |
Bundle 'Lokaltog/vim-easymotion' | |
Bundle 'kien/ctrlp.vim' | |
Bundle 'scrooloose/nerdcommenter' | |
Bundle 'spf13/vim-colors' | |
" https://github.com/vim-scripts/VimClojure | |
Bundle 'vim-scripts/VimClojure' | |
Bundle 'tpope/vim-fireplace' | |
Bundle 'dgrnbrg/vim-redl' | |
" https://github.com/vim-ruby/vim-ruby | |
Bundle 'vim-ruby/vim-ruby' | |
" https://github.com/tpope/vim-fugitive | |
Bundle 'tpope/vim-fugitive' | |
" https://github.com/tpope/vim-rails | |
Bundle 'tpope/vim-rails' | |
" https://github.com/tpope/vim-surround | |
Bundle 'tpope/vim-surround' | |
" for js | |
Bundle 'pangloss/vim-javascript' | |
Bundle 'nathanaelkane/vim-indent-guides' | |
" https://github.com/Raimondi/delimitMate | |
Bundle 'Raimondi/delimitMate' | |
" for golang | |
Bundle 'jnwhiteh/vim-golang' | |
Bundle 'Blackrush/vim-gocode' | |
" auto completion { | |
" without lua | |
Bundle 'Shougo/neocomplcache.vim' | |
" with lua | |
"Bundle 'Shougo/neocomplete.vim' | |
" } | |
" neocomplcache { | |
let g:acp_enableAtStartup = 0 | |
let g:neocomplcache_enable_at_startup = 1 | |
let g:neocomplcache_enable_smart_case = 1 | |
" Recommended key-mappings. | |
" <CR>: close popup and save indent. | |
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR> | |
function! s:my_cr_function() | |
return pumvisible() ? neocomplcache#close_popup() : "\<CR>" | |
endfunction | |
" <TAB>: completion. | |
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" | |
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" | |
"} | |
" clojure { | |
"let vimclojure#WantNailgun = 1 | |
" } | |
"} | |
" vundle { | |
filetype plugin indent on | |
"} | |
syntax on | |
set number | |
let mapleader = "\<space>" | |
" look and feel { | |
set background=dark | |
"color molokai | |
"color ir_black | |
color peaksea | |
" } |
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
" | |
" how to install | |
" | |
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
" vim +BundleInstall +qall | |
" | |
set nocompatible | |
" vundle { | |
filetype off | |
"} | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
" === bundle conf === { | |
Bundle 'Lokaltog/vim-easymotion' | |
Bundle 'kien/ctrlp.vim' | |
Bundle 'Shougo/neocomplcache.vim' | |
Bundle 'scrooloose/nerdcommenter' | |
Bundle 'spf13/vim-colors' | |
Bundle 'vim-scripts/VimClojure' | |
" https://github.com/vim-ruby/vim-ruby | |
Bundle 'vim-ruby/vim-ruby' | |
" https://github.com/tpope/vim-fugitive | |
Bundle 'tpope/vim-fugitive' | |
" https://github.com/tpope/vim-rails | |
Bundle 'tpope/vim-rails' | |
" https://github.com/tpope/vim-surround | |
Bundle 'tpope/vim-surround' | |
" neocomplcache { | |
let g:acp_enableAtStartup = 0 | |
let g:neocomplcache_enable_at_startup = 1 | |
let g:neocomplcache_enable_smart_case = 1 | |
" Recommended key-mappings. | |
" <CR>: close popup and save indent. | |
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR> | |
function! s:my_cr_function() | |
"return neocomplcache#smart_close_popup() . "\<CR>" | |
" For no inserting <CR> key. | |
return pumvisible() ? neocomplcache#close_popup() : "\<CR>" | |
endfunction | |
" <TAB>: completion. | |
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" | |
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" | |
"} | |
"} | |
" vundle { | |
filetype plugin indent on | |
"} | |
syntax on | |
set number | |
let mapleader = "\<space>" | |
" look and feel { | |
set background=dark | |
"color molokai | |
color ir_black | |
"color peaksea | |
" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment