dotfiles/.vimrc

69 lines
1.8 KiB
VimL
Raw Normal View History

2018-08-28 00:22:58 +02:00
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'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" Git wrapper
Plugin 'tpope/vim-fugitive'
" Python autocompletion
Plugin 'davidhalter/jedi-vim'
" status/tabline
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" base16 color scheme
Plugin 'chriskempson/base16-vim'
" 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
" airline theme
let g:airline_theme='base16_monokai'
2014-01-21 20:50:04 +01:00
2018-08-28 00:22:58 +02:00
set t_Co=256
colorscheme base16-darktooth
2012-03-02 10:31:58 +01:00
syntax on
2018-08-28 00:22:58 +02:00
" enable vim modelines
2014-01-21 15:03:21 +01:00
set modeline
2018-08-22 22:57:46 +02:00
set tabstop=2 shiftwidth=2 expandtab
2018-08-28 00:22:58 +02:00
"set background=dark
2018-08-22 22:57:46 +02:00
2012-03-02 10:31:58 +01:00
set showcmd
2014-01-21 15:03:21 +01:00
" highlight searches
2012-03-02 10:31:58 +01:00
set hlsearch
2014-01-21 15:03:21 +01:00
" case insensitive searches
set incsearch
2018-08-28 00:22:58 +02:00
" Putty reg file: https://github.com/benjojo/base-16-putty
" iTerm2: https://github.com/martinlindhe/base16-iterm2
2014-01-21 15:03:21 +01:00
" Highlight 80 column
set colorcolumn=80
2018-08-28 00:22:58 +02:00
highlight ColorColumn ctermbg=LightGrey