Allow to open file by current word
merged bloomrain's PR