Skip to content

Instantly share code, notes, and snippets.

View mmchaney's full-sized avatar

Markus Messner-Chaney mmchaney

View GitHub Profile
@mmchaney
mmchaney / compiled.js
Created September 12, 2012 15:31
Handlebars task
function (Handlebars, depth0, helpers, partials, data) {
helpers = helpers || Handlebars.helpers;
var buffer = "",
stack1, stack2, foundHelper, tmp1, self = this,
functionType = "function",
helperMissing = helpers.helperMissing,
undef = void 0,
escapeExpression = this.escapeExpression,
blockHelperMissing = helpers.blockHelperMissing;
@mmchaney
mmchaney / .gvimrc
Created September 28, 2011 13:16
.gvimrc
if has("gui_macvim")
" Fullscreen takes up entire screen
set fuoptions=maxhorz,maxvert
" Command-/ to toggle comments
map <D-/> <plug>NERDCommenterToggle<CR>
map <F7> <plug>NERDCommenterToggle<CR>
imap <D-/> <Esc><plug>NERDCommenterToggle<CR>i
@mmchaney
mmchaney / .vimrc.local
Created September 28, 2011 13:14
.vimrc.local
:let loaded_netrw = 1
:let loaded_netrwPlugin = 1
let mapleader = ","
"set transparency=0
"fix regex
nnoremap / /\v
vnoremap / /\v
@mmchaney
mmchaney / .vimrc
Created September 28, 2011 13:14
.vimrc
set nocompatible
set number
set ruler
syntax on
" Set encoding
set encoding=utf-8
" Whitespace stuff