add listchars for trailing
update brackets mapping