This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require('lodash'); | |
var gulp = require('gulp'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var transform = require('vinyl-transform'); | |
var shimify = require('browserify-shim'); | |
var plumber = require('gulp-plumber'); | |
var uglify = require('gulp-uglify'); | |
var notifier = require('node-notifier'); | |
var util = require('gulp-util'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; util functions for defining/undefining keys | |
;;; should be loaded at the end | |
(defun tmtxt/define-keys (key-map &rest ps) | |
"Define key binding pairs for KEY-MAP." | |
(declare (indent 1)) | |
(let ((i 0)) | |
(while (< i (length ps)) | |
(if (= (mod i 2) 0) | |
(let ((src (elt ps i)) | |
(dst (elt ps (1+ i)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; util functions for defining/undefining keys | |
;;; should be loaded at the end | |
(defun tmtxt/define-keys (key-map &rest ps) | |
"Define key binding pairs for KEY-MAP." | |
(declare (indent 1)) | |
(let ((i 0)) | |
(while (< i (length ps)) | |
(if (= (mod i 2) 0) | |
(let ((src (elt ps i)) | |
(dst (elt ps (1+ i)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; commit length | |
(tmtxt/set-up 'git-commit-mode | |
(setq git-commit-summary-max-length 70)) | |
(add-hook 'git-commit-mode-hook | |
(lambda () (flyspell-mode 0)) t) | |
(add-hook 'magit-mode-hook 'magit-load-config-extensions) | |
(set-default 'magit-stage-all-confirm nil) | |
(setq magit-use-overlays nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var browserify = require('browserify'); | |
var literalify = require('literalify'); | |
var source = require("vinyl-source-stream"); | |
var underscore = require('underscore'); | |
var react = require('gulp-react'); | |
var plumber = require('gulp-plumber'); | |
var less = require('gulp-less'); | |
// define the libraries that live in the global context here |