Jump to File
Dev tip 1/99
When I learned Ruby on Rails back in the 1.0 days, I was enamored by the editor TextMate. One of the great features of TextMate is Go to File. Hitting the command+t keyboard shortcut displays a dialog box where you can type a fuzzy search of the file you want to open. For instance if you know you have a user.rb file in both a test/ and a models/ directory then you can type tuser for the test/user.rb file and muser for the m/user.rb file. This functionality exists with Vim using Command-T or ctrlp. Other editors have their equivalents. In my opinion this is essential for any editor at this day in age.
But, did you know that GitHub.com has this ability to? When looking at the Code tab for a github project type t to fuzzy search for a file to view. Use the up and down arrow keys to select a file and hit <enter> to open that file.
