Clicking the file in file tree should be a preview only


By clicking on the file in the File Tree, it should only open the file as a preview. Only while changing anything on the file or double-clicking it, it should open the file itself.

This is the same behaviour as Sublime, and would avoid many open tabs when you simply want to take look around the files.


There is an open PR

closed #3


Also a duplicate of …