My .vimrc
These are the contents of my ~/.vimrc
file.
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'sukima/xmledit'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
Plug 'plasticboy/vim-markdown'
call plug#end()
set tabstop=4
set laststatus=2
set selection=inclusive
color desert
set gfn=Essential_PragmataPro:h11
syntax on
set nowrap
set noshowmode
let g:airline_powerline_fonts = 1
let g:airline_theme = 'deus'
let g:airline#extensions#tabline#enabled = 1
set backspace=2
set backspace=indent,eol,start
set nu
autocmd Filetype markdown setlocal spell
set linebreak
set textwidth=0
set wrapmargin=0
set enc=utf-8
set fileencoding=utf-8
map <F9> :execute '!pdflatex ' . shellescape(expand('%')) . ' && start "" ' . shellescape(expand('%:r') . '.pdf')<CR>
PragmataPro Essential font, purchased LEGALLY from that Schiavi guy. Directly from him, as a matter of fact. Would be great if he made the entire font $30 instead of just the “Essential” slimmed down version, but whatever. Iosevka is coming for him.
Also utilizing plugins for all sorts of stuff. XML, airline, markdown, all sorts of plugins. My theme combination isn’t the greatest, though. It’s hard to find a vim theme that meshes well with airline themes. I also have a shortcut that makes F9
convert LaTeX to PDF. Good stuff.
Man I love vim.