Skip to content

Instantly share code, notes, and snippets.

@braddotcoffee
Created March 14, 2020 20:06
Show Gist options
  • Save braddotcoffee/d99974d1da6d0940ffa3fa76bb8630a0 to your computer and use it in GitHub Desktop.
Save braddotcoffee/d99974d1da6d0940ffa3fa76bb8630a0 to your computer and use it in GitHub Desktop.
Minimal .vimrc
let mapleader=","
set linebreak " turn on word wrapping
set tabstop=2
set softtabstop=0 noexpandtab "number of spaces per tab when editing a file
set expandtab "turn <TAB> into 4 spaces. Good for python and bash
set shiftwidth=2
set relativenumber " Show relative numbers
set number " Show line numbers
set mouse=a " Enable the mouse
" Allow jj to trigger ESC
imap jj <Esc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment