added shortcuts, removed code already available in codemirror