set encoding=utf-8 scriptencoding utf-8 if !filereadable($XDG_CACHE_HOME . '/vim/autoload/plug.vim') silent !curl -fLo $XDG_CACHE_HOME/vim/autoload/plug.vim --create-dirs 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' augroup vimplug autocmd VimEnter * PlugInstall augroup END endif call plug#begin($XDG_CACHE_HOME . '/vim/bundle') Plug 'tpope/vim-sensible' Plug 'ciaranm/inkpot' Plug 'ervandew/supertab' Plug 'tpope/vim-repeat' Plug 'tpope/vim-sleuth' Plug 'tpope/vim-surround' Plug 'tpope/vim-unimpaired' Plug 'wincent/terminus' Plug 'sheerun/vim-polyglot' Plug 'sukima/xmledit' if has('macunix') Plug 'itspriddle/vim-marked' endif if has('job') Plug 'w0rp/ale' endif call plug#end() colorscheme inkpot inoremap jj set hlsearch set linebreak showbreak=↩ set showcmd set wildmode=longest,full if exists('+relativenumber') set relativenumber else set number endif set tabstop=2 shiftwidth=2 if exists('+breakindent') set breakindent breakindentopt=sbr endif