The following keyboard shortcuts allow you to quickly jump between the Grid and Loupe views within the Library module and also the Develop module.
G key
– Keyboard shortcut for Grid view in Lightroom.
E key
– Keyboard shortcut for Loupe view in Lightroom.
D key
– Keyboard shortcut for the Develop module in Lightroom.