Fixes for terminal vim