From 30c5c346363945971108896351f1142617ce3022 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 23 Jun 2019 01:02:34 +1200 Subject: Catch specific mapping errors --- autoload/paste_insert.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/paste_insert.vim b/autoload/paste_insert.vim index 421c3a2..e0463a9 100644 --- a/autoload/paste_insert.vim +++ b/autoload/paste_insert.vim @@ -103,7 +103,7 @@ function! s:Start() abort endif execute 'nunmap '.key - catch + catch /^Vim\%((\a\+)\)\=:E31:/ " No such mapping " Ignore it endtry -- cgit v1.2.3