/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install zsh
echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/zsh $USER
// 1. require/import | |
// ES5: require | |
var React = require('react'); | |
var { Component, PropTypes } = React; | |
// ES6: import | |
import React, { Component, PropTypes } from 'react'; | |
// 2. Module import/export |
Don't use blame
because git blame
only shows the LAST commit of that particular line.
shift + command + p
in SublimeCustom command
Git: Custom Command
. It'll open a panel at the bottom of Sublime.log -L START_LINE_NUMBER,END_LINE_NUMBER:CURRENT_FILE_NAME.EXT
For example: log -L 1,1:index.js
will show the git history for line #1 of index.js
.