Created
March 3, 2016 23:41
-
-
Save akinomaeni/e50cd997eb1893c411d3 to your computer and use it in GitHub Desktop.
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 | |
| filetype off | |
| "NeoBundle の設定 | |
| if has('vim_starting') | |
| set runtimepath+=~/.vim/bundle/neobundle.vim | |
| endif | |
| call neobundle#begin(expand('~/.vim/bundle')) | |
| "NeoBundleで管理するプラグイン | |
| NeoBundleFetch 'Shougo/neobundle.vim' | |
| "NeoBundle 'Shougo/vimproc' | |
| NeoBundle 'Shougo/vimproc.vim', { | |
| \ 'build' : { | |
| \ 'mac' : 'make -f make_mac.mak', | |
| \ }, | |
| \ } | |
| NeoBundle 'Shougo/unite.vim' | |
| NeoBundle 'Shougo/vimshell' | |
| NeoBundle 'Shougo/neocomplcache' | |
| NeoBundle 'Shougo/neosnippet' | |
| NeoBundle 'Lokaltog/vim-powerline' | |
| NeoBundle 'taglist.vim' | |
| NeoBundle 'thinca/vim-quickrun' | |
| NeoBundle 'Align' | |
| NeoBundle 'h1mesuke/vim-alignta' | |
| NeoBundle 'tpope/vim-surround' | |
| NeoBundle 'cecutil' | |
| NeoBundle 'scrooloose/nerdcommenter' | |
| NeoBundle 'scrooloose/nerdtree' | |
| NeoBundle 'yuroyoro/vim-autoclose' | |
| NeoBundle 'ujihisa/neco-ruby' | |
| NeoBundle 'matchit.zip' | |
| NeoBundle 'ruby-matchit' | |
| NeoBundle 'ruby.vim' | |
| NeoBundle 'tpope/vim-rails' | |
| NeoBundle 'Source-Explorer-srcexpl.vim' | |
| NeoBundle 'yuroyoro/vimdoc_ja' | |
| NeoBundle 'TwitVim' | |
| NeoBundle 'tsukkee/lingr-vim' | |
| NeoBundle 'tpope/vim-fugitive' | |
| NeoBundle 'kien/ctrlp.vim' | |
| "Syntax | |
| NeoBundle 'haml.zip' | |
| NeoBundle 'JavaScript-syntax' | |
| NeoBundle 'jQuery' | |
| NeoBundle 'nginx.vim' | |
| NeoBundle 'tpope/vim-markdown' | |
| NeoBundle 'kchmck/vim-coffee-script' | |
| NeoBundle 'slim-template/vim-slim' | |
| NeoBundle 'yuroyoro/vim-python' | |
| NeoBundle 'yuroyoro/vim-scala' | |
| NeoBundle 'scrooloose/syntastic' | |
| NeoBundle 'altercation/vim-colors-solarized' | |
| call neobundle#end() | |
| filetype plugin on | |
| filetype indent on | |
| source $VIMRUNTIME/macros/matchit.vim | |
| set tags=tags | |
| "スワップファイルの生成場所をカレントディレクトリから変える | |
| set directory-=. | |
| "エンコード設定 | |
| set encoding=utf-8 | |
| if !has('kaoriya') | |
| set fileencodings=cp932,iso-2022-jp,euc-jp | |
| endif | |
| syntax enable | |
| au BufRead,BufNew *.ctp set filetype=php | |
| let g:Powerline_symbols = 'fancy' | |
| set background=dark | |
| colorscheme solarized | |
| highlight JpSpace cterm=underline ctermfg=Blue guifg =Blue | |
| set cursorline | |
| "highlight CursorLine ctermbg=Blue | |
| set listchars=tab:»-,trail:-,eol:$,nbsp:% | |
| au BufRead,BufNew * match JpSpace / / | |
| "let: g:Align_xstrlen = 3 | |
| set number | |
| set expandtab | |
| set ts=2 sw=2 | |
| set list | |
| set hlsearch | |
| "imap ( ()<LEFT> | |
| "imap [ []<LEFT> | |
| "imap { {}<LEFT> | |
| imap <C-j> <C-[> | |
| nnoremap <silent> gy "*y | |
| nnoremap <silent> gp "*p | |
| vmap <silent> gy "*y | |
| vmap <silent> gp "*p | |
| nnoremap <silent> ,is :VimShell<CR> | |
| nnoremap <silent> ,irb :VimShellInteractive irb<CR> | |
| nnoremap <silent> ,isc :VimShellInteractive gosh<CR> | |
| nnoremap <silent> ,iph :VimShellInteractive php<CR> | |
| nnoremap <silent> ,ss <S-v>:VimShellSendString<CR> | |
| vmap <silent> ,ss :VimShellSendString<CR> | |
| nmap <F9> :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment