From 1804789a36562ea596c039e9da7efc3a758568f8 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 12 Jul 2009 23:39:04 +0200 Subject: [PATCH] vimrc: Add support for Mac OS X Leopard. --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 66eb955..59926eb 100644 --- a/vimrc +++ b/vimrc @@ -176,8 +176,9 @@ endif " Make sure xa0 (alt + space) is automatically changed to a normal whitespace " if pressed accidentally while in insert mode (happens on Mac when alt -" doesn't send escape). -if has('mac') +" doesn't send escape). filereadable() is necessary for Leopard were 'mac' is +" no longer set on the console. +if has('mac') || filereadable('/Users/.localized') imap endif -- 2.45.2