From c972338008a8f5b2804de2a0252a13c5a6d226f9 Mon Sep 17 00:00:00 2001 From: Benjamin Esham Date: Thu, 5 Sep 2013 11:51:59 -0400 Subject: [PATCH 1/2] =?UTF-8?q?Use=20=E2=80=9Cinoremap=E2=80=9D=20for=20=20and=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As a Mac user I’m used to using Option-Delete to delete to the beginning of the previous word; MacVim sets up this behavior with its gvimrc. But I also like to use Control-W to delete to the beginning of the line. This change makes it possible for these two mappings to coexist without a problem. --- src/MacVim/gvimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MacVim/gvimrc b/src/MacVim/gvimrc index bf98a170ca..9e92a9d4ce 100644 --- a/src/MacVim/gvimrc +++ b/src/MacVim/gvimrc @@ -63,8 +63,8 @@ if !exists("macvim_skip_cmd_opt_movement") map } imap } - imap - imap + ino + ino endif " !exists("macvim_skip_cmd_opt_movement") From 010635f8618351cea564221d24b2978bb8d277f8 Mon Sep 17 00:00:00 2001 From: Benjamin Esham Date: Thu, 5 Sep 2013 14:47:33 -0400 Subject: [PATCH 2/2] =?UTF-8?q?Use=20=E2=80=9Cnoremap=E2=80=9D=20for=20all?= =?UTF-8?q?=20other=20mappings=20too?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MacVim/gvimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MacVim/gvimrc b/src/MacVim/gvimrc index 9e92a9d4ce..4b4ff38292 100644 --- a/src/MacVim/gvimrc +++ b/src/MacVim/gvimrc @@ -55,13 +55,13 @@ if !exists("macvim_skip_cmd_opt_movement") no ino - map { - imap { + no { + ino { no ino - map } - imap } + no } + ino } ino ino