Skip to content

Instantly share code, notes, and snippets.

@boris1993
Last active January 13, 2023 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boris1993/510a71203ff768e37457a06d4304cfd3 to your computer and use it in GitHub Desktop.
Save boris1993/510a71203ff768e37457a06d4304cfd3 to your computer and use it in GitHub Desktop.
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 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
set number
set backspace=indent,eol,start
set showcmd
set showmode
set autoread
set hidden
syntax on
set noswapfile
set nobackup
set nowb
set autoindent
set smartindent
set smarttab
set shiftwidth=2
set softtabstop=2
set tabstop=2
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment