Skip to content

Instantly share code, notes, and snippets.

@mcnutty26
Last active March 12, 2018 14:14
Show Gist options
  • Save mcnutty26/6f05d13159b8c5e0d7af873661d3f186 to your computer and use it in GitHub Desktop.
Save mcnutty26/6f05d13159b8c5e0d7af873661d3f186 to your computer and use it in GitHub Desktop.
Vim config
set number
set relativenumber
syntax enable
filetype indent on
set backspace=eol,start,indent
set whichwrap+=<,>,h,l
set ignorecase
set smartcase
set hlsearch
set incsearch
set lazyredraw
set magic
set showmatch
set mat=2
set encoding=utf8
set smarttab
set shiftwidth=4
set tabstop=4
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
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
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/vimplug')
Plug 'leafgarland/typescript-vim'
Plug 'vim-scripts/mayansmoke'
call plug#end()
"PlugInstall
color mayansmoke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment