add markdown cheatsheet

This commit is contained in:
Barak Michener 2013-07-26 17:55:51 -04:00
parent 91b5963ee1
commit 8fe3297418
2 changed files with 380 additions and 0 deletions

4
.vimrc
View file

@ -225,6 +225,10 @@ command ScratchOpen :e scp://barak@barakmich.com//home/barak/notes/scratch
" Sudo-make-me-a-sandwich write. For when I forget to be root.
command Wdammit :w !sudo tee > /dev/null %
" I can never remember markdown fully. Open me a cheatsheet
command MarkdownCheatsheet :rightb vsplit ~/.vim/markdown_cheatsheet.md
" Doesn't quite work right but can be a real savior if needed.
" Oh-shit-what-was-this-like-before-I-changed-it?
function! s:DiffWithSaved()