-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
27 lines (20 loc) · 655 Bytes
/
Copy pathvimrc
File metadata and controls
27 lines (20 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"Install plug and plugins if plug isn't installed
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 'joshdick/onedark.vim'
Plug 'sbdchd/neoformat'
Plug 'sheerun/vim-polyglot'
call plug#end()
filetype on
filetype plugin on
set relativenumber
" set tabs to 4 spaces
set ts=4
" indent when moving to next line
set autoindent
syntax on
colorscheme onedark