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
| "***************************************************************************** | |
| "" Vim-PLug core | |
| "***************************************************************************** | |
| if has('vim_starting') | |
| set nocompatible " Be iMproved | |
| endif | |
| let vimplug_exists=expand('~/.vim/autoload/plug.vim') | |
| let g:vim_bootstrap_langs = "c,html,javascript" |
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
| nnoremap ; : | |
| nnoremap <silent><BS> :nohlsearch<CR> | |
| set list lcs=trail:·,tab:»· | |
| "bind K to grep word under cursor | |
| nnoremap K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR> | |
| augroup refreshVimrc | |
| autocmd! |
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
| -='cd -' | |
| ...=../.. | |
| ....=../../.. | |
| .....=../../../.. | |
| ......=../../../../.. | |
| 1='cd -' | |
| 2='cd -2' | |
| 3='cd -3' | |
| 4='cd -4' | |
| 5='cd -5' |
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
| /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=$(mktemp -d -t 'chrome-remote_data_dir') |
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
| " https://thoughtbot.com/upcase/the-art-of-vim | |
| " http://learnvimscriptthehardway.stevelosh.com/ | |
| set nocompatible | |
| set encoding=utf-8 | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() |
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
| import { run } from 'runjs' | |
| const task = { | |
| 'clean': () => { | |
| run('rm -rf node_modules') | |
| run('rm -rf build') | |
| }, | |
| 'build:clean': () => { | |
| run('rm -rf build') | |
| run('mkdir build') |
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
| "scripts": { | |
| "clean": "rimraf dist/*", | |
| "prebuild": "npm run clean -s", | |
| "build": "npm run build:scripts -s && npm run build:styles -s && npm run build:markup -s", | |
| "build:scripts": "browserify -d assets/scripts/main.js -p [minifyify --compressPath . --map main.js.map --output dist/main.js.map] | hashmark -n dist/main.js -s -l 8 -m assets.json 'dist/{name}{hash}{ext}'", | |
| "build:styles": "stylus assets/styles/main.styl -m -o dist/ && hashmark -s -l 8 -m assets.json dist/main.css 'dist/{name}{hash}{ext}'", | |
| "build:markup": "jade assets/markup/index.jade --obj assets.json -o dist", | |
| "test": "karma start --singleRun", | |
| "watch": "parallelshell 'npm run watch:test -s' 'npm run watch:build -s'", | |
| "watch:test": "karma start", |
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
| { | |
| "always_show_minimap_viewport": true, | |
| "binary_file_patterns": | |
| [ | |
| "node_modules/", | |
| "build/", | |
| "tmp/", | |
| "vendor", | |
| "dist" | |
| ], |