X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=e44b0217d50d37d2431069f16286d27d3532b8b7;hb=77fb9cc20510d75cdc42c25b66b9f3c31b64d313;hp=985042c13bc666a172f8c2e67400062ef55562f2;hpb=850e6eac79251c87e098359a4f086e7d4f5814cc;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 985042c..e44b021 100644 --- a/vimrc +++ b/vimrc @@ -136,6 +136,12 @@ else \ ((getcmdtype() == ':' && getcmdpos() <= 2) ? 'q' : 'Q') endif +" Make sure xa0 (alt + space) is automatically changed to a normal whitespace +" if pressed accidentally while in insert mode (happens on Mac sometimes). +if has("mac") + imap +endif + " Disable Apple style movements in MacVim. if has("gui_macvim") let macvim_skip_cmd_opt_movement = 1