add some cli bindings

the default bash command line bindings have been added

ctrl+i -> expand or complete
ctrl+j -> accept line
ctrl+p -> up line in history
ctrl+n -> down line in history
ctrl+f -> forward char
ctrl+b -> backward char
append a 'vim: ft=' line

you can specify how vim shall handle the generated output

by default, it will be considered as a vimrc file