Created
February 10, 2020 23:40
-
-
Save mmasser95/abbca76f00cfcc35d9e2024aec5db64e to your computer and use it in GitHub Desktop.
VIM CONFIG
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
| set nocompatible " 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 'gmarik/Vundle.vim' | |
| " add all your plugins here (note older versions of Vundle | |
| " used Bundle instead of Plugin) | |
| Plugin 'tmhedberg/SimpylFold' | |
| Plugin 'vim-scripts/indentpython.vim' | |
| Plugin 'vim-syntastic/syntastic' | |
| Plugin 'nvie/vim-flake8' | |
| Plugin 'jnurmine/Zenburn' | |
| Plugin 'altercation/vim-colors-solarized' | |
| Plugin 'scrooloose/nerdtree' | |
| Plugin 'jistr/vim-nerdtree-tabs' | |
| Plugin 'kien/ctrlp.vim' | |
| Plugin 'tpope/vim-fugitive' | |
| Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} | |
| " All of your Plugins must be added before the following line | |
| call vundle#end() " required | |
| filetype plugin indent on " required | |
| "split navigations | |
| nnoremap <C-J> <C-W><C-J> | |
| nnoremap <C-K> <C-W><C-K> | |
| nnoremap <C-L> <C-W><C-L> | |
| nnoremap <C-H> <C-W><C-H> | |
| " Enable folding | |
| set foldmethod=indent | |
| set foldlevel=99 | |
| " Enable folding with the spacebar | |
| nnoremap <space> za | |
| let g:SimpylFold_docstring_preview=1 | |
| "au BufNewFile,BufRead *.py | |
| "\ set tabstop=4 | |
| "\ set softtabstop=4 | |
| "\ set shiftwidth=4 | |
| "\ set textwidth=79 | |
| "\ set expandtab | |
| "\ set autoindent "\ set fileformat=unix | |
| let python_highlight_all=1 | |
| syntax on | |
| let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree | |
| set nu |
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
| sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
| sudo apt-get install python3-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
| #Optional: so vim can be uninstalled again via `dpkg -r vim` | |
| sudo apt-get install checkinstall | |
| sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
| cd ~ | |
| git clone https://github.com/vim/vim | |
| cd vim | |
| git pull && git fetch | |
| #In case Vim was already installed | |
| cd src | |
| make distclean | |
| cd .. | |
| export LUA_PREFIX=/usr/local | |
| ./configure \ | |
| --enable-multibyte \ | |
| --enable-perlinterp=dynamic \ | |
| --enable-rubyinterp=dynamic \ | |
| --with-ruby-command=/usr/bin/ruby \ | |
| --enable-pythoninterp=dynamic \ | |
| --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ | |
| --enable-python3interp \ | |
| --with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu \ | |
| --enable-luainterp \ | |
| --with-luajit \ | |
| --enable-cscope \ | |
| --enable-gui=auto \ | |
| --with-features=huge \ | |
| --with-x \ | |
| --enable-fontset \ | |
| --enable-largefile \ | |
| --disable-netbeans \ | |
| --with-compiledby=sh1r0 \ | |
| --enable-fail-if-missing | |
| make && sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment