move text input cursor to end of world when apply auto-completion
naming
when popup list is open, press tab will choose current selected command