How to make display PDF images with mouse hover in iTerm2 after " ls -l '?
You can activate this behavior in iTerm2 by activating the "Look up &amp; data detectors multitouch shortcut. On Force Touch trackpads, by default, that means a force press by default while the cursor is placed over the filename.

You can confirm your settings in System Preferences, by viewing the Trackpad pane.

You may also wish to hold CMD and click on the filename to open it directly.