Jump to File

Dev tip 1/99

paydro
paydro
Aug 25, 2017 · 1 min read

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.

100 Days Of Development Tips

I take the 100 Day challenge and write down the developments tips I’ve accumulated over the years as a professional software developer.

)

paydro

Written by

paydro

I jump on boxes.

100 Days Of Development Tips

I take the 100 Day challenge and write down the developments tips I’ve accumulated over the years as a professional software developer.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade