Create a Keyboard Shortcut to Go to User Library Folder in Mac OS X
Want to quickly get to the User Library folder on Mac? A keyboard shortcut is one of the best ways to do that, particularly if you find yourself frequently accessing that folder.
Using keyboard shortcuts are often the fastest way to navigate around the filesystem in Mac OS X, but new versions of MacOS and Mac OS X, including MacOS Mojave, High Sierra, Sierra, El Capitan, OS X 10.7 Lion, Mountain Lion, 10.9 Mavericks, 10.10 Yosemite, and later doesn’t have a keyboard shortcut to access the user library directory by default.
This tutorial will show you how to add your own keystroke combo to immediately open the ~/Library folder on a Mac.
How to Set a User Library Keystroke Shortcut on Mac
This applies to basically all modern versions of Mac OS, here is how it works:
- From the Apple menu, open System Preferences and click on ‘Keyboard’
- Click the ‘Keyboard Shortcuts’ tab and then click ‘Application Shortcuts’ from the left
- Click the [+] plus icon to add a new keyboard shortcut, select Finder.app as the Application, then type “Library” exactly in the ‘Menu Title’ box
- Select the box below to choose a keyboard combination, I chose Command+Option+Control+L but you can pick something else
- Click “Add” and then click back to the Mac OS X desktop and hit your keyboard shortcut to confirm that the user Library directory opens
Although there are a variety of ways to access the user library directory in OS X Lion, I find keyboard shortcuts to be the fastest. You can also show the library folder at all times in the user home folder with the help of a terminal command, which would mimic the default setting in Mac OS X 10.6 and before.
Whether or not you would find this useful likely depends on how often you are in the User Library folder, but for many of us it’s convenient to have user Library visible all the time, or at least accessible by keystroke.
The main thing you’ll want to consider when setting a custom keystroke like this is to not pick a shortcut that interferes with something else, so just be cautious of that. Often applying a modifier key, like Option and Shift or Control and Option will prevent that, but how your Mac is configured depends on you of course.