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
# allows autocomplete to be used with search history, so typing git c and then up arrow would | |
# bring up your history options that started with git c . WAAAAY faster. | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\e[1;9D": backward-word | |
"\e[1;9C": forward-word | |
# non-case-sensative autocomplete, | |
set show-all-if-ambiguous on |
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
(function(){ | |
/** | |
* inserts a div with text into <div id="log"></div> or whichever element you pass to second param. | |
* @param {*} - thing - text to log. | |
* @param {Object} - optional - DOMElement to append to. | |
*/ | |
function log(thing, _el){ | |
var el = _el || document.getElementById('log') |