Fixed issue with terminal search and vim