18 lines
468 B
Text
18 lines
468 B
Text
|
" vim preferences
|
||
|
set number
|
||
|
set relativenumber
|
||
|
syntax on
|
||
|
|
||
|
" ensure vim-plug
|
||
|
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||
|
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||
|
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||
|
endif
|
||
|
|
||
|
call plug#begin()
|
||
|
|
||
|
Plug 'ThePrimeagen/vim-be-good'
|
||
|
|
||
|
call plug#end()
|