Last active
August 29, 2015 13:57
-
-
Save henvic/9798679 to your computer and use it in GitHub Desktop.
my ~/.vimrc
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
" see https://raw2.github.com/lucasoman/Conf/master/.vimrc | |
set tabstop=4 | |
set shiftwidth=8 | |
set expandtab | |
set ttymouse=xterm2 | |
let airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
set mouse=a | |
set scrolloff=5 | |
set showmatch | |
set matchtime=1 | |
set number | |
set ruler | |
set rulerformat=%=%h%m%r%w\ %(%c%V%),%l/%L\ %P | |
set hlsearch | |
set cursorline | |
set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P | |
set laststatus=2 | |
set ttyfast | |
set omnifunc=syntaxcomplete#Complete | |
set nocompatible " be iMproved | |
filetype on " see https://github.com/gmarik/Vundle.vim/wiki#mac | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" My bundles here: | |
" | |
Bundle 'kien/ctrlp.vim' | |
" original repos on GitHub | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'Lokaltog/vim-easymotion' | |
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Bundle 'tpope/vim-rails.git' | |
" vim-scripts repos | |
Bundle 'L9' | |
Bundle 'FuzzyFinder' | |
" non-GitHub repos | |
" Bundle 'git://git.wincent.com/command-t.git' | |
" Git repos on your local machine (i.e. when working on your own plugin) | |
" Bundle 'file:///Users/gmarik/path/to/plugin' | |
" ... | |
filetype plugin indent on " required! | |
setlocal shiftwidth=4 | |
" | |
" Brief help | |
" :BundleList - list configured bundles | |
" :BundleInstall(!) - install (update) bundles | |
" :BundleSearch(!) foo - search (or refresh cache first) for foo | |
" :BundleClean(!) - confirm (or auto-approve) removal of unused bundles | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" NOTE: comments after Bundle commands are not allowed. | |
Bundle 'rizzatti/funcoo.vim' | |
Bundle 'rizzatti/dash.vim' | |
Bundle 'scrooloose/syntastic' | |
"Bundle 'Shougo/neocomplete.vim' | |
"let g:neocomplcache_enable_at_startup = 1 | |
Bundle 'sjl/badwolf' | |
Bundle 'bling/vim-airline' | |
Bundle 'nvie/vim-togglemouse' | |
syntax on | |
colorscheme badwolf | |
let g:EasyMotion_smartcase = 1 | |
set omnifunc=syntaxcomplete#Complete | |
vmap <Tab> >gva | |
vmap <S-Tab> <gv | |
map <C-l> gt | |
map <C-h> gT | |
map <C-up> <esc>ddkP | |
map <C-down> ddp | |
map <C-c> "+y | |
map <C-x> :q<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment