I’d like to map a command to insert a ; at the end of a line. Example:
var fo|o:String = "bar"
The | depicts the current cursor position. Then I press a key like ctrl+; and it puts a ; at the end, like:
var foo:String = "bar";
How can I do that?