From: Simon Ruderich Date: Sun, 12 Jul 2009 21:39:04 +0000 (+0200) Subject: vimrc: Add support for Mac OS X Leopard. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1804789a36562ea596c039e9da7efc3a758568f8;hp=1d0b9387bb8e193903ef42c5bf2c187b19c3a0a6;p=config%2Fdotfiles.git vimrc: Add support for Mac OS X Leopard. --- 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