| ⌘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 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
| # A sample Gemfile | |
| source "https://rubygems.org" | |
| gem 'rspec' | |
| gem 'pry' | |
| gem 'fastercsv' |
Take control of your development environment by using more of the keyboard and less of the mouse/trackpad. As you write your code, use (Mac and Sublime) keyboard commands/shortcuts to, well... kill it!
Mastering your text editor and Operating System (OS) will make you a more efficient and impressive developer.
Don't just read about these. If any of these are foreign / unfamiliar to you, be sure to practice them and make a mental note to use them when possible.
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
| misterkak@misterkak-900X4D:~$ pry | |
| [1] pry(main)> print "enter your name: " | |
| enter your name: => nil | |
| [2] pry(main)> name = gets.chomp | |
| mike | |
| => "mike" | |
| [3] pry(main)> puts name | |
| mike | |
| => nil | |
| [4] pry(main)> quit |