Skip to content

Instantly share code, notes, and snippets.

@dichotomies
Created June 3, 2016 17:51
Show Gist options
  • Save dichotomies/f513ef0bc2af3c8057a5e4544e4e3a4d to your computer and use it in GitHub Desktop.
Save dichotomies/f513ef0bc2af3c8057a5e4544e4e3a4d to your computer and use it in GitHub Desktop.
" enable pathogen package manager
" filetype off
" call pathogen#infect()
" call pathogen#helptags()
" set nocompatible
" filetype off
" set rtp+=~/.vim/bundle/vundle/
" call vundle#rc()
" This is the Vundle package, which can be found on GitHub.
" For GitHub repos, you specify plugins using the
" 'user/repository' format
" Plugin 'gmarik/vundle'
" We could also add repositories with a ".git" extension
" Plugin 'scrooloose/nerdtree.git'
" Plugin 'YouCompleteMe'
" All plugins must be declared between the call vundle#rc() line and the
" filetype plugin indent on directive.
" Add new plugin here after installing it in Vim with ":PluginSearch"
" Manage plugins with ":PluginList"
" Delete plugins with:
" 1) editing .vimrc (remove here)
" 2) run vim and execute ":PluginClean"
set clipboard=unnamed
set tabstop=8
set expandtab
set softtabstop=4
set shiftwidth=4
set number
filetype plugin indent on
syntax on
" important if working with python? especially python 3?
set encoding=utf-8
" Enable folding (showing definitions lines instead of all the code)
set foldmethod=indent
set foldlevel=99
" Enable folding with the spacebar
nnoremap <space> za
" use only 16 first colours of colormap, which can be retrieved with
" pythonscript ...
set t_Co=16
" colorscheme tomorrow-night
nnoremap <silent> <F5> :!clear;python %<CR>
" first, enable status line always
set laststatus=2
" default the statusline to green when entering Vim
" hi statusline guibg=green
" Set InsertMsg orange bg and white fg
hi ModeMsg term=bold cterm=bold ctermfg=15 ctermbg=11
" Set Statusline black and text green
hi StatusLine ctermbg=0 ctermfg=14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment