add autoselect, a configuration to allow for selecting text upon focus in an editor