Automatically hide sidebar in preview
I was able to get this to work on 10.11.1 by adding a new key to the Preview.app plist.
PVPDFSuppressSidebarOnOpening
You can use the defaults write command to do this in Terminal.
cd ~/Library/Containers/com.apple.Preview/Data/Library/Preferences/
defaults write com.apple.Preview PVPDFSuppressSidebarOnOpening true
Sorry, but the plain terminal command defaults write com.apple.Preview PVPDFSuppressSidebarOnOpening true
did not work for me. After, Preview.app opened again showing the sidebar. I had to:
open (with Xcode) the file ~/Library/Preferences/com.apple.Preview.plist ;
Add a new item in Root with item name PVPDFSuppressSidebarOnOpening, item type Boolean and type value YES;
Save the plist file.
After that, Preview started opening without the sidebar.