First changes to make it compatible with debian/ubuntu

* Disable vim mode in terminal and irb