don't preview keypress when not in R mode
Merge pull request #222 from rstudio/feature/check-r-mode

don't let R completion manager preview keypress when not in R mode