Modified autocmd for list.