X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=59926eb4a784828bd906aa7f3522cb2db5c628a5;hb=1804789a36562ea596c039e9da7efc3a758568f8;hp=66eb955535fc2ab6c8d7849d4bd6459a696f4bb3;hpb=1d0b9387bb8e193903ef42c5bf2c187b19c3a0a6;p=config%2Fdotfiles.git 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