Last active
September 7, 2017 09:06
-
-
Save kampfq/69ccb3b2a79fdc8d7313902bb879e20f 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
"Vundle | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" installed plugins | |
"sublimelike colortheme | |
Bundle 'tomasr/molokai' | |
"Bundle for statusbar | |
Bundle 'bling/vim-airline' | |
"Plugin for multiple cursors | |
Bundle 'terryma/vim-multiple-cursors' | |
"advanced code completion | |
Bundle 'ervandew/supertab' | |
"Plugin to remove Whitespace | |
Plugin 'ntpeters/vim-better-whitespace' | |
"Plugin for formating things | |
Plugin 'godlygeek/tabular' | |
"Plugin for multiple languages | |
Plugin 'sheerun/vim-polyglot' | |
"Plugin for csv | |
Plugin 'chrisbra/csv.vim' | |
" autocomplete | |
Plugin 'Valloric/YouCompleteMe' | |
"recognize .texfilex correct, otherwise its 'plaintex' and | |
"the plugin doesn't work | |
let g:tex_flavor='latex' | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
let g:vim_markdown_folding_disabled=1 | |
"Used as $x^2$, $$x^2$$, escapable as \$x\$ and \$\$x\$\$. | |
let g:vim_markdown_math=1 | |
"Statusbar config | |
"font and special characters | |
set guifont=Hack:h12 "make sure to escape the spaces in the name properly | |
set linespace=3 | |
let g:airline_powerline_fonts=1 | |
set encoding=utf-8 | |
"Sets how many lines of history VIM has to remember | |
set history=700 | |
"fix slow switch between modes | |
set timeoutlen=50 | |
"syntax highlighting | |
syntax enable | |
" Options for Color Scheme | |
colorscheme molokai | |
let g:molokai_original = 1 | |
let macvim_skip_colorscheme = 1 | |
"autocomplete for vim commands | |
set wildmenu | |
" highlight current line | |
set cursorline | |
"Always show current position | |
set ruler | |
" show line numbers | |
set number | |
" Highlight search results | |
set hlsearch | |
" Show matching brackets when text indicator is over them | |
set showmatch | |
" How many tenths of a second to blink when matching brackets | |
set mat=2 | |
" Return to last edit position when opening files (You want this!) | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal! g`\"" | | |
\ endif | |
" Always show the status line | |
set laststatus=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment