home/.vimrc
Salt 4f9311163c Everything: Switch to MATE, Arc, and Solarized
TODO: Add MATE configs, wherever those are
2019-02-01 03:07:24 -06:00

62 lines
1.3 KiB
VimL

execute pathogen#infect()
set background=light
colorscheme solarized
syntax on
filetype plugin indent on
" Lightline
set noshowmode
let g:lightline = {
\ 'active': {
\ 'left': [
\ [ 'mode', 'paste' ],
\ [ 'readonly', 'filename', 'modified' ],
\ [ 'charvaluehex' ]
\ ],
\ 'right': [
\ [ 'lineinfo' ],
\ [ 'percent' ],
\ [ 'fileformat', 'fileencoding', 'filetype' ]
\ ]
\ },
\ 'component': {
\ 'charvaluehex': 'char: 0x%B'
\ },
\}
let g:lightline.colorscheme = 'solarized'
" Automatically read when a file is changed outside of Vim
set autoread
" Enable modelines
set modeline
set modelines=5
" Use XA_PRIMARY clipboard by default
set clipboard=unnamedplus
" Python stuff
au BufNewFile,BufRead *.py " Set up nice PEP8 indentation
\ set tabstop=4 |
\ set softtabstop=4 |
\ set shiftwidth=4 |
\ set textwidth=79 |
\ set expandtab |
\ set autoindent |
\ set fileformat=unix
" Miscellaneous options
set incsearch " Search while you type
set number relativenumber " Relative line numbering
set encoding=utf-8
set laststatus=2 " Always show statusbar
" For clang_complete
" Proper path for Debian Buster
let g:clang_library_path='/usr/lib/llvm-4.0/lib/libclang.so.1'
" Enable 256-color support
" All of my machines support 256-color so this should be fine
set t_Co=256