My .vimrc

Using the vim plug framework for maintaining plugins etc. Never count on your local install to have your color-scheme, so I added the marklar plugin for that.

if empty(glob('~/.vim/autoload/plug.vim'))
  silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
  autocmd VimEnter * PlugInstall --sync | source $MYVIMRC

let g:ale_fix_on_save = 1
let g:ale_completion_autoimport = 1
let g:ale_completion_enabled = 1
let g:ale_fixers = {
      \   'javascript': ['prettier'],
      \   'typescript': ['prettier'],
      \   'css': ['prettier']

let g:ale_linters = {
      \   'javascript': ['prettier_eslint'],
      \   'typescript': ['prettier_eslint']

call plug#begin('~/.vim/plugged')

Plug 'leafgarland/typescript-vim'
Plug 'peitalin/vim-jsx-typescript'
Plug 'cakebaker/scss-syntax.vim'
Plug 'vim-scripts/marklar.vim'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-sensible'
Plug 'dense-analysis/ale'

call plug#end()

set noundofile
set nocompatible
source $VIMRUNTIME/vimrc_example.vim

set number
set tabstop=2
set shiftwidth=2
set expandtab
set ff=unix
set nowritebackup
set nobackup
set backupdir=/tmp//
set directory=/tmp//
set undodir=/tmp//
set vb

colorscheme marklar