bug with arrow keys solved. time to support other filetypes