change `set list` to indent
move function def to top, set tabline and the accelerator key to switch with tabs