I know that there can be a delay when inserting a new line with
O after pressing
Esc. However, I am experiencing that delay with
i<CR> as well. This should not be related to
vim 'waiting' as in the
This occurs when inserting new lines towards the end of a 90-line Python file; it does not occur when editing other Python files.
I've isolated the problem to this line:
filetype indent on