Skip to content

Instantly share code, notes, and snippets.

@alea12
Last active February 13, 2016 08:38
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 alea12/8434204 to your computer and use it in GitHub Desktop.
Save alea12/8434204 to your computer and use it in GitHub Desktop.
if has('vim_starting')
set nocompatible
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
if !has('gui_running')
set t_Co=256
endif
call neobundle#begin(expand('~/.vim/bundle'))
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'Shougo/neocomplcache'
NeoBundle 'Shougo/neosnippet'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'itchyny/lightline.vim'
NeoBundle 'violetyk/cake.vim'
NeoBundle 'tpope/vim-rails'
NeoBundle 'tpope/vim-endwise'
call neobundle#end()
filetype plugin indent on
syntax on
set ruler
set number
set laststatus=2
set cmdheight=2
set showmatch
set hlsearch
set incsearch
set tabstop=2
set shiftwidth=2
set backspace=2
set expandtab
set autoindent
set nobackup
set noswapfile
set autoread
set mouse=a
set clipboard+=unnamed
set visualbell
set hidden
set nocompatible
set wildmenu
set showcmd
set ignorecase
set showmatch
set showmode
set title
set smartcase
set smarttab
set whichwrap=b,s,h,l,<,>,[,]
set nowrapscan
set wildignorecase
nmap ; :
nnoremap j gj
nnoremap k gk
au BufNewFile, BufRead * set iminsert=0
NeoBundleCheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment