问题
Whenever I press the enter key, indicating an end of paragraph, vim should automatically insert another new line, and insert a tab space in the next line. All this is to denote that I am ready to type the next paragraph.
回答1:
I agree with the comments saying that this is not a good idea to do, but the following works for me:
inoremap <buffer> <cr> <cr><cr><tab>
来源:https://stackoverflow.com/questions/13834346/mapping-enter-key-to-newline-and-tab-in-vim