aws cli output automatically being sent to vi
It was the PAGER environment variable set to "less" (which I was confusing with vi).
This fix is to update the ~/.aws/config file and setting cli_pager to an empty value, e.g. :
[default]region = us-west-2output = jsoncli_pager =
Thank you to Sorin who commented on my question lead me to the answer.