⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
# ~/.bashrc | |
function mkcd { | |
if [ ! -n "$1" ]; then | |
echo "Enter a directory name" | |
elif [ -d $1 ]; then | |
echo "\`$1' already exists" | |
else | |
mkdir $1 && cd $1 | |
fi | |
} |
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
# ~/.bash_profile | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi |
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
# ~/.bashrc | |
#---------------- | |
# Aliases | |
#---------------- | |
# Prompt overwrites | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' |
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
# Custom key mappings | |
map n scrollDown | |
map N previousTab | |
map e scrollUp | |
map E nextTab | |
map i scrollRight | |
map I goForward |
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
#----------------- | |
# Projects | |
#----------------- | |
## convention: | |
# cmd: [c|g|w|u|r*] [proj] | |
# c: cd | |
# 'cd [proj]' | |
# g: git | |
# 'cd [proj], git pull, git status' |
[spotify link] | returns info about the link (track, artist, etc.) |
[dribbble URL] | brings up image from the URL |
face google me [query] | Googles [query] & returns 1st result’s URL |
face wiki me [query] | Searches for [query] on Wikipedia. |
face youtube me [query] | Searches YouTube for the query and returns the video embed link. |
face map me [query] | Returns a map view of the area returned by `query`. |
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
Vue.component('resource-search', { | |
props: { | |
selected: [], | |
selectedData: [], | |
resourceName: '', | |
searchTarget: '', // which property on the resource to search | |
haystackLimit: [], | |
}, | |
data() { |