Support other types of file (e.g. image files)
seanh opened this issue · 0 comments
seanh commented
No reason why my notes dir can't contain non-text files as well, e.g. image files (could be scanned images of paper notes). At least the filename can still be used for searching, and possibly also file metadata as well. Then open the file in an image viewer instead of a text editor.
This requires a dictionary mapping filename extensions or file types to the commands for opening (or use a command that knows how to open files of different types).
In some cases you want Terminal Velocity to wait until the command has finished, e.g. when using vim to open a text file, but in other cases you probably want Terminal Velocity to continue running e.g. when opening an image file in another window.