Hi,

in "normal" OS X test fields, opt-backspace deletes one word to the
left. MacVim doesn't do this, hence I suggest adding this to MacVim's
gvimrc. cmd-backspace deletes one line, so we might add this for
completeness while we're at it:

diff --git a/src/MacVim/gvimrc b/src/MacVim/gvimrc
index 754688d..ac45b0d 100644
--- a/src/MacVim/gvimrc
+++ b/src/MacVim/gvimrc
@@ -161,6 +161,9 @@ if !exists("macvim_skip_cmd_opt_movement")
   ino  <D-Down>       <C-End>
   map  <M-Down>       }
   imap <M-Down>       <C-o>}
+
+  imap <M-BS>         <C-w>
+  imap <D-BS>         <C-u>
 endif " !exists("macvim_skip_cmd_opt_movement")


Nico
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to