Files
linux-configs/vim/.vimrc

25 lines
818 B
VimL
Raw Normal View History

" Install vim-plug automatically
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
" 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('~/.vim/plugged')
Plug 'jcherven/jummidark.vim'
2024-10-04 16:01:42 +00:00
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
Plug 'tpope/vim-sensible'
call plug#end()
syntax enable
2024-10-04 16:01:42 +00:00
colorscheme catppuccin_mocha
2021-08-12 16:21:25 -04:00
2024-10-04 16:01:42 +00:00
set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab termguicolors