Created
March 16, 2017 13:45
-
-
Save tusing/5fedad2b6de87c5d39b6180749233f06 to your computer and use it in GitHub Desktop.
This file contains 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
" WARNING: Remember that /etc/vim/vimrc has priority! | |
set laststatus=2 " Always show statusline | |
set t_Co=256 " 256 colors | |
" ======== VUNDLE SETTINGS ========= | |
" ---------- VUNDLE START ---------- | |
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" ---------- PLUGIN START ---------- | |
Plugin 'VundleVim/Vundle.vim' | |
" Plugin 'tpope/vim-fugitive' | |
Plugin 'bling/vim-airline' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'davidhalter/jedi-vim' | |
" ----------- PLUGIN END ----------- | |
call vundle#end() | |
filetype plugin indent on | |
" ----------- VUNDLE END ----------- | |
" Vundle help: PluginList, PluginInstall, PluginClean, PluginSearch | |
" ======== PLUGIN SETTINGS ========= | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline_powerline_fonts = 1 | |
let g:ctrlp_map = '<c-p>' | |
let g:ctrlp_cmd = 'CtrlP' | |
let g:jedi#completions_command = "<C-S>" | |
" ====== ADDTIONAL SETTINGS ======== | |
syntax on | |
" ------- USAGE OPTIMIZATIONS ------ | |
" http://nvie.com/posts/how-i-boosted-my-vim/ | |
set nowrap " don't wrap lines | |
set tabstop=4 " a tab is four spaces | |
set backspace=indent,eol,start " allow backspacing over everything in insert mode | |
set autoindent " always set autoindenting on | |
set copyindent " copy the previous indentation on autoindenting | |
set number " always show line numbers | |
set shiftwidth=4 " number of spaces to use for autoindenting | |
set shiftround " use multiple of shiftwidth when indenting with '<' and '>' | |
set showmatch " set show matching parenthesis | |
set ignorecase " ignore case when searching | |
set smartcase " ignore case if search pattern is all lowercase, case-sensitive otherwise | |
set smarttab " insert tabs on the start of a line according to shiftwidth, not tabstop | |
set hlsearch " highlight search terms | |
set incsearch " show search matches as you type | |
set history=1000 " remember more commands and search history | |
set undolevels=1000 " use many muchos levels of undo | |
set wildignore=*.swp,*.bak,*.pyc,*.class | |
set title " change the terminal's title | |
set visualbell " don't beep | |
set noerrorbells " don't beep | |
set pastetoggle=<leader>p | |
" ------- SPEED OPTIMIZATIONS -------- | |
set ttyfast | |
set lazyredraw | |
set nocursorline | |
set nocursorcolumn | |
set scrolljump=5 | |
" -------- MOUSE SETTINGS --------- | |
set mouse=a | |
set ttymouse=xterm2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment