Skip to content

Instantly share code, notes, and snippets.

@i4fumi
Created October 21, 2012 08:13
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 i4fumi/3926295 to your computer and use it in GitHub Desktop.
Save i4fumi/3926295 to your computer and use it in GitHub Desktop.
.vimrc
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here:
Bundle 'Shougo/neocomplcache'
Bundle 'thinca/vim-quickrun'
Bundle 'h1mesuke/vim-alignta'
Bundle 'altercation/vim-colors-solarized'
filetype plugin indent on " required!
syntax enable
set background=dark
set t_Co=16
colorscheme solarized
set hidden hlsearch nobackup
set wildmode=list:longest
set laststatus=2
set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
set showcmd
set history=999
ru macros/matchit.vim
au BufRead,BufNewFile *.rs,*.rc set filetype=rust
au BufRead,BufNewFile *.rb set ts=2 sw=2 sts=2 expandtab
au BufRead,BufNewFile *.html set ts=2 sw=2 sts=2 expandtab
au BufRead,BufNewFile *.c set ts=8 sw=2 sts=2
au BufRead,BufNewFile *.h set ts=8 sw=2 sts=2
au BufRead,BufNewFile *.rs,*.rc set ts=4 sw=4 sts=4 expandtab
map <C-j> :GtagsCursor<CR>
" NeoComplCache
let g:neocomplcache_enable_at_startup = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment