Vim 7 has been released with a ton of bug fixes, and some new and exciting features. The unstable 7.0 packages have been committed to the Portage tree for your enjoyment.
Linux.com has a nice article on some of the new features. You can expect to find a tabbed interface (:help tabe), spell checking (:help spell), and code completion (:help compl-omni-filetypes).
For everyone having problems with backspace not working in vim 7, try this:
:imap ^?
Note that
– “^?” is the bad character that backspace happens to be inserting.
– “” is Control-V (the modifier that does a literal insert of the next character you input)
– “” is Control-H (or what backspace should be)
So you’re literally typing:
:, i, m, a, p, space, backspace, space, control-v, control-h, enter.
You got that?
All the stuff that people have been posting about fixdel and loadkeys wasn’t working for me, but this simple imap statement did the trick. Please spread the word.
You should also add:
cmap ^? ^H
in addition to
imap ^? ^H
as I tried to describe above.
(jsb)
The approach of solving the ^?/^H backspace issue isn’t quite correct, as stated in a comment here.
I suggest reading my bugreport on that, which further investigation showed to find the final cause of the problem:
http://bugs.gentoo.org/show_bug.cgi?id=154090
(I hope I can write an article on that someday)