Skip to content

Instantly share code, notes, and snippets.

@jxnblk

jxnblk/.vimrc Secret

Created September 18, 2017 20:38
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jxnblk/d7228fa1b1249ccc3e8d74433d3277c5 to your computer and use it in GitHub Desktop.
Save jxnblk/d7228fa1b1249ccc3e8d74433d3277c5 to your computer and use it in GitHub Desktop.
set nocompatible
execute pathogen#infect()
filetype plugin indent on
syntax enable
set history=2048
set expandtab
set autoindent
set tabstop=2
set shiftwidth=2
set smarttab
set scrolloff=4
set title
set number
set encoding=utf-8
set iskeyword+=-
set foldmethod=indent
set foldlevel=16
set backspace=indent,eol,start
nnoremap <Space> za
autocmd BufNewFile,BufReadPost *.md set filetype=markdown
autocmd BufWritePre * :%s/\s\+$//e
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
let g:jsx_ext_required = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment