only activate the last MacVim window
fix clearScreen key mapping
refactor command fetching process