From 4e3363c35b35433bb7135841cfe27e57c72ad6bd Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 30 Oct 2011 14:32:49 +0100 Subject: [PATCH] vimrc: Fix exists() check for InsertLeave. Broken in 51bdb20b6c613f6b29b1e59d6077743b0ce2da6d. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 6048d8e..d950d07 100644 --- a/vimrc +++ b/vimrc @@ -444,7 +444,7 @@ if has('autocmd') " Automatically disable 'paste' mode when leaving insert mode. Thanks to " Raimondi in #vim on Freenode (2010-08-14 23:01 CEST). Very useful as I only " want to paste once and then 'paste' gets automatically unset. - if exists('#InsertLeave') + if exists('##InsertLeave') autocmd InsertLeave * set nopaste endif -- 2.45.2