> I am running Windows 7 RC and when I have a vimrc file the > backspace stops working for me. I get the following message > regardless of what mode I'm in: > > "E319: Sorry, the command is not avialabe in this version"
Your culprits: > map <C-h> <Esc> :promptrepl<CR> > map! <C-h> <Esc> :promptrepl<CR> In many terminals, control+H is the key-sequence sent by the backspace key. Try mapping a different key to your desired sequence map <f4> <esc> :promptrepl<cr> In some environments (such as X), you can change which characters get sent for backspace (usually control+H) and delete (usually character 127 or 128? don't remember off the top of my head, but I'm sure it's a google/wikipedia away). The error actually sounds like "promptrepl" isn't available in your version, despite being listed as "only for Win32, Motif and GTK GUI" and you running Win32. You may want to send your output of ":version" to see what your version is built with, and ensure that you're really running gvim instead of (non-g)vim. As a side-note, the space between "<esc>" and ":" seems a little odd and may produce unintended side-effects. -tim PS: it helps to include a meaningful subject-line so folks can see what you're talking about. I've changed it for posterity. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
