Last active
May 1, 2019 19:54
-
-
Save jorgepiloto/0d5fa4067ada6007179a337ab78235ef to your computer and use it in GitHub Desktop.
My vim configuration
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
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " | |
| " | |
| " CUSTON CONFIGURATION FOR VIM | |
| " Author: Jorge Martínez | |
| " | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" VIM General: Configuration | |
| set nocompatible " required | |
| set nobackup | |
| filetype off " required | |
| " Python IDE general configuration | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" Python IDE: Configuration | |
| set nu | |
| set encoding=utf-8 | |
| "let python_highlight_all=1 | |
| syntax on | |
| " highlight ExtraWhitespace ctermbg=red guibg=red | |
| " match ExtraWhitespace /\s\+$/ | |
| :set colorcolumn=80 | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" Shortcuts: Configuration | |
| map <tab> <C-W><C-W> | |
| nmap <F5> <Esc>:w<CR>:!clear;python %<CR> | |
| nmap <F6> <Esc>:w<CR>:!clear;pytest %<CR> | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" Vundle: Configuration | |
| " 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' | |
| Plugin 'vim-scripts/indentpython.vim' " Python Autoidentation | |
| Plugin 'marciomazza/vim-brogrammer-theme' " Brogrammer theme | |
| Plugin 'vim-airline/vim-airline' " Powerline | |
| Plugin 'vim-airline/vim-airline-themes' " Powerline-themes | |
| Plugin 'Yggdroot/indentLine' " Identation bars | |
| Plugin 'https://github.com/scrooloose/nerdtree' " Nerd-tree | |
| Plugin 'ryanoasis/vim-devicons' " Nerd-tree icon colors | |
| Plugin 'tiagofumo/vim-nerdtree-syntax-highlight' " Nerd-tree highlight | |
| Plugin 'vitalk/vim-simple-todo' " Todo list in vim | |
| Plugin 'davidhalter/jedi-vim' " Jedi Vim | |
| Plugin 'Valloric/YouCompleteMe' " Suggestions for vim | |
| Plugin 'airblade/vim-gitgutter' " Git indicatior | |
| " add all your plugins here (note older versions of Vundle | |
| " used Bundle instead of Plugin) | |
| " All of your Plugins must be added before the following line | |
| call vundle#end() " required | |
| filetype plugin indent on " required | |
| " Theme: Configuration | |
| colorscheme brogrammer | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" Poweline: Configuration | |
| let g:airline_theme='powerlineish' | |
| let g:airline#extensions#tabline#enabled = 0 | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" NerdTree: Configuration | |
| nmap <F2> :NERDTreeToggle<CR> | |
| let g:NERDTreeMinimalUI = v:true | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" Git: Configuration | |
| set updatetime=100 | |
| """"""""""""""""""""""""""""""""""""""""""""""""""" Todo: Configuration | |
| let mapleader = "," | |
| let g:simple_todo_tick_symbol = '✓' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment