Tools

Tmux https://segmentfault.com/a/1190000008188987arrow-up-right

tmux: Peter Jang https://medium.com/actualize-network/a-minimalist-guide-to-tmux-13675fb160faarrow-up-right https://github.com/tmux/tmux/wikiarrow-up-right official endorsed: https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/arrow-up-right official endorsed: https://robots.thoughtbot.com/a-tmux-crash-coursearrow-up-right official endorse book: https://leanpub.com/the-tao-of-tmux/readarrow-up-right iTerms2 integration https://www.iterm2.com/documentation-tmux-integration.htmlarrow-up-right https://hackernoon.com/a-gentle-introduction-to-tmux-8d784c404340arrow-up-right tmux 2 book https://www.safaribooksonline.com/library/view/tmux-2/9781680502374/arrow-up-right

https://www.kawabangga.com/posts/2557arrow-up-right http://louiszhai.github.io/2017/09/30/tmux/arrow-up-right https://www.kancloud.cn/kancloud/tmux/62459arrow-up-right

https://linuxize.com/post/getting-started-with-tmux/arrow-up-right https://news.ycombinator.com/item?id=17998649arrow-up-right tmux外貌 https://www.kawabangga.com/posts/2477arrow-up-right

tmux?? http://pmihaylov.com/tmux-terminal-multiplexer/arrow-up-right iTerms integration with tmux iTerms more windows in one tab, save window arrangement

iTerms2 autocomplete (input start of word, then)⌘;

iTerms 2 tricks https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-xarrow-up-right https://coderwall.com/t/iterm2/populararrow-up-right

Notes

Vimium https://github.com/philc/vimium/blob/master/README.mdarrow-up-right in page navigation: j/k go down / up d/u go down / up by half of page gg: go to top of page G: go to bottom of page f: open link in current tab F: open link in background tab H/L: go back and forth in history J/K: go left and right in tabs

o: quick open google/history O: open in new tab b: open bookmark B: open bookmark in new tab T: search in open tabs

?: help r: reload gs: read source i: insert mode yy: copy current url

/: find t: create tab x: close tab

Mac OS X Productivity Tips for Developers https://github.com/matthewmccullough/MacOSXProductivityTips/blob/master/Resources.mdarrow-up-right

https://www.safaribooksonline.com/library/view/mac-os-x/9781491945476/arrow-up-right ctrl +a/e: go to beginning/end of line. also works in MacOS. ctrl + u/k delete from cursor to beginning/end of line command + r: refresh terminal delete one line: first ctrl+a, then ctrl+k ctrl + w: erase word to left ctrl + t: transpose/exchange characters around cursor

iTerms 2: swiching tabs: commang + left/right GitHub tools: tig: text based graph for git; hub gem: create PR in command line Bash prompt: PS1 https://github.com/git/git/blob/master/contrib/completion/git-prompt.sharrow-up-right

text file format: markdown, asciidoc for a book (.asc)

spotlight search: name: kind: date:today date: >1/1/08 AND NOT OR hold command key, it shows the directory. hold command + double click or enter: open the folder

quicklook (space in Finder) https://github.com/sindresorhus/quick-look-pluginsarrow-up-right

Finder command+shift+n: new folder command+alt+v: moves file from pasteboard command+d: = make more copies tabs: show next tab: ctrl + tab. show previous tab: ctrl + shift + tab command + i: inspect

spotlight search: tag:github AND apple

special characters / emoji: ctrl + command + space

curl curl -I url #just show me the response header: send a Http GET in the header, X-attributes: non-standard extension. curl url # returns the body of response: send a http GET. can change the verb as well

wget for files: wget url

pasteboard command line pbcopy/pbpaste curl -I http://www.google.comarrow-up-right | pbcopy pbpaste # run the command

Shell tune-ups echo $SHELL /bin/bash

shells: fish (not POSIX) https://fishshell.com/arrow-up-right

oh my zsh https://github.com/robbyrussell/oh-my-zsharrow-up-right switching to zsh http://zpalexander.com/switching-to-zsh/arrow-up-right

caffeine GUI http://lightheadsw.com/caffeine/arrow-up-right set a screensaver for security reasons caffeinate: command line

window management: specticle (alternative slate https://github.com/jigish/slatearrow-up-right)

command + `: switch windows for the same application command + ,: go to setting of that app command + ?: search help app switcher: cmd + tab, then down: see all windows from that app. hit q: quit screenshot: command shift 3. add ctrl will copy the screenshot to clipboard screenshot selection: command shift 4. hit space bar to select between apps. after dragging, hold the spacebar to move the selection around.

annotate with preview. record video using quickplayer

applescript automation: script GUI applications, when the application expose the control to applescript

Automator: can add steps or just “record”

z command (better cd): https://github.com/rupa/zarrow-up-right e.g. z Down smart complete: frecency: frequency and recency

cd - : toggle between last two directories git checkout -: toggle between two branches

right click on icon: shows the path. can drag into terminal, “where” in the save dialog. in finder: type path: command + shift +g: type the path: auto-completion enabled

command + F1: toggle mirror display ctrl + alt + command + 8: invert color

search a recent command ctrl + r, then type

paste: cmd + alt + v command shift tab icons

hold alt, right click, see the files total size

Google doc: ⌘← Move to beginning of line (stops on whitespace) ⌘→ Move to end of line ⌘↑ Move to beginning of file ⌘↓ Move to end of file ⇧-move Select text ⌘F Find ⌥+⌫ and ⌘+⌫ are the shortcuts for deleting a word and deleting a line respectively.

Chrome: ⌘ + number: jump to tab

Last updated