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()
|
|
|
|
|
" Keep Plugin commands between vundle#begin/end.
|
2022-02-10 07:45:07 +01:00
|
|
|
Plugin 'VundleVim/Vundle.vim'
|
2018-08-28 00:22:58 +02:00
|
|
|
" Git wrapper
|
|
|
|
|
Plugin 'tpope/vim-fugitive'
|
|
|
|
|
|
|
|
|
|
" status/tabline
|
|
|
|
|
Plugin 'vim-airline/vim-airline'
|
|
|
|
|
Plugin 'vim-airline/vim-airline-themes'
|
|
|
|
|
|
|
|
|
|
" base16 color scheme
|
2022-02-10 07:45:07 +01:00
|
|
|
"Plugin 'chriskempson/base16-vim'
|
|
|
|
|
Plugin 'dracula/vim', { 'name': 'dracula' }
|
2018-08-28 00:22:58 +02:00
|
|
|
|
2021-08-13 09:24:38 +02:00
|
|
|
" gruvbox color scheme
|
|
|
|
|
" https://github.com/morhetz/gruvbox/wiki/Installation
|
2022-02-10 07:45:07 +01:00
|
|
|
"Plugin 'morhetz/gruvbox'
|
2021-08-13 09:24:38 +02:00
|
|
|
|
2018-08-28 00:22:58 +02:00
|
|
|
" 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
|
2022-02-10 07:45:07 +01:00
|
|
|
" :PluginUpdate - Updates plugins
|
2018-08-28 00:22:58 +02:00
|
|
|
"
|
|
|
|
|
" see :h vundle for more details or wiki for FAQ
|
|
|
|
|
" Put your non-Plugin stuff after this line
|
|
|
|
|
|
|
|
|
|
" airline theme
|
2021-08-13 09:24:38 +02:00
|
|
|
"let g:airline_theme='violet'
|
2022-02-10 07:45:07 +01:00
|
|
|
"let g:airline_theme='gruvbox'
|
|
|
|
|
let g:airline_theme='dracula'
|
2014-01-21 20:50:04 +01:00
|
|
|
|
2018-08-28 00:22:58 +02:00
|
|
|
set t_Co=256
|
|
|
|
|
|
2021-05-04 08:35:37 +02:00
|
|
|
"colorscheme base16-codeschool
|
|
|
|
|
"colorscheme base16-atelier-dune-light
|
2021-08-13 09:24:38 +02:00
|
|
|
"colorscheme base16-darktooth
|
2022-02-10 07:45:07 +01:00
|
|
|
"colorscheme gruvbox
|
2022-07-01 07:10:59 +02:00
|
|
|
"colorscheme dracula
|
|
|
|
|
colorscheme industry
|
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
|
2022-07-01 07:10:59 +02:00
|
|
|
set background=light
|
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
|
2021-05-04 08:35:37 +02:00
|
|
|
set colorcolumn=80,120
|
|
|
|
|
highlight ColorColumn ctermbg=238
|
2022-07-01 07:10:59 +02:00
|
|
|
|
|
|
|
|
" Highlight additional flags in comments
|
|
|
|
|
augroup vimrc_todo
|
|
|
|
|
au!
|
|
|
|
|
au Syntax * syn match MyTodo /\v<(FIXME|NOTE|TODO|OPTIMIZE|XXX|INFO|IDEA|CHANGED|BUG|HACK|TRICKY):/
|
|
|
|
|
\ containedin=.*Comment,vimCommentTitle
|
|
|
|
|
augroup END
|
|
|
|
|
hi def link MyTodo Todo
|