Tuesday, April 5, 2011

event for enter in insert mode

Hi,
I would like to perform some checks on a line after pressing <enter>. Ex: in c++ i want to check whether ";" present at the end of the line, otherwise print some error or suggestion.
Please let me know how to do this. 

Thanks
Venu

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: