Created
August 1, 2013 16:14
-
-
Save teshi04/6132865 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 number | |
" 検索履歴を20残す | |
set history=20 | |
" インクリメントサーチを使用 | |
set incsearch | |
" 検索語にマッチした単語をハイライト | |
set hlsearch | |
" 対になる括弧を強調 | |
set showmatch | |
" ウインド幅で折り返す | |
set wrap | |
" シフト移動幅 | |
set shiftwidth=2 | |
" タブ入力を複数の空白入力に置き換える | |
set expandtab | |
" ファイル内の<Tab>が対応する空白の数 | |
set tabstop=2 | |
" 新しい行に高度なインデントを? | |
set smartindent | |
" スワップファイル用のディレクトリ | |
set directory=$HOME/vimbackup | |
" カーソルを行頭、行末で止まらないようにする | |
set whichwrap=b,s,h,l,<,>,[,] | |
"NeoBundle | |
set nocompatible | |
filetype off | |
if has('vim_starting') | |
set runtimepath+=~/.vim/neobundle.vim.git | |
call neobundle#rc(expand('~/.bundle')) | |
endif | |
"Railsの移動をスマートにしたり、vimからコマンド実行するやつ | |
NeoBundle 'tpope/vim-rails' | |
NeoBundle 'othree/html5.vim' | |
" powerline | |
NeoBundle 'taichouchou2/alpaca_powertabline' | |
NeoBundle 'Lokaltog/powerline', { 'rtp' : 'powerline/bindings/vim'} | |
let g:Powerline_symbols = 'fancy' | |
set t_Co=256 | |
" 補完 | |
NeoBundleLazy 'Shougo/neosnippet', { | |
\ 'autoload' : { | |
\ 'commands' : ['NeoSnippetEdit', 'NeoSnippetSource'], | |
\ 'filetypes' : 'snippet', | |
\ 'insert' : 1, | |
\ 'unite_sources' : ['snippet', 'neosnippet/user', 'neosnippet/runtime'], | |
\ }} | |
" reference環境 | |
NeoBundle 'vim-ruby/vim-ruby', { | |
\ 'autoload' : { 'filetypes': ['ruby', 'eruby', 'haml'] } } | |
NeoBundle 'taka84u9/vim-ref-ri', { | |
\ 'depends': ['Shougo/unite.vim', 'thinca/vim-ref'], | |
\ 'autoload': { 'filetypes': ['ruby', 'eruby', 'haml'] } } | |
NeoBundle 'skwp/vim-rspec', { | |
\ 'autoload': { 'filetypes': ['ruby', 'eruby', 'haml'] } } | |
NeoBundle 'ruby-matchit', { | |
\ 'autoload' : { 'filetypes': ['ruby', 'eruby', 'haml'] } } | |
filetype plugin on | |
filetype indent on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment