Adds vi-mode to terminal