Files
2024-05-09 21:59:26 -04:00

34 lines
711 B
VimL

syntax on
set number
set nocompatible
filetype indent plugin on
set laststatus=2
set noshowmode
se mouse+=a
if !has('gui_running')
set t_Co=256
endif
" Install vim-plug if not found
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
" Run PlugInstall if there are missing plugins
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | source $MYVIMRC
\| endif
call plug#begin()
Plug 'itchyny/lightline.vim'
Plug 'preservim/nerdtree'
call plug#end()
let g:lightline = {
\ 'colorscheme': 'darcula',
\ }