Published: 2009
Hey, have you opened a .sql file in vim and realized with great irritation that you cannot use the left and right arrow keys to navigate in insert mode? Well, here is how you fix it.
Add the following to your ~/.vimrc
or ~/.vim/ftplugin/sql.vim
file:
let g:omni_sql_no_default_maps = 1