Reputation: 113
When I try to leave an inserting mode
:i
and press "Esc" key terminal put
^[
character in console and following run in inserting mode.
So I can't do something like:
:wq
What happening?
:i
Entering ex input mode.
*****/usr/home/example/example2/cron_task.sh^[
Upvotes: 0
Views: 1702
Reputation: 16771
:i
CR is not the same command as i
To leave the latter, you enter: ESC
To leave the former, you enter: CR.
CR
Upvotes: 3