This file contains 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
" Term bindings | |
" | |
" Spawns | |
" open shell on the current window | |
nnoremap <c-t><c-e> :e term://$SHELL<CR>A | |
" open vertical shell | |
nnoremap <c-t><c-v> <c-w><c-v><c-w><c-l>:e term://$SHELL<CR>A | |
" open horizontal shell | |
nnoremap <c-t><c-s> <c-w><c-s><c-w><c-j>:e term://$SHELL<CR>A | |
" |
This file contains 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
'use strict'; | |
var babel = require('babel-core'); | |
var fs = require('fs'); | |
// borrowed from https://github.com/babel/babel-jest/blob/master/index.js | |
require.extensions['.jsx'] = function (module, filename) { | |
var src = fs.readFileSync(filename, 'utf8'); | |
// Allow the stage to be configured by an environment | |
// variable, but use Babel's default stage (2) if |