From 95cd31d1cc46c0e8128941862f19015f2f50af62 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 8 Oct 2010 02:31:57 +0200 Subject: vim_mode: Fix :map on a placeholder mapping. Like mapping something to g when no g is used yet (but there are gg G). --- vim-mode/vim_mode.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'vim-mode') diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index e941d07..5e33bf4 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -2345,6 +2345,7 @@ sub add_map { maps => {} }; } else { + $maps->{$keys}->{char} = $keys; $maps->{$keys}->{cmd} = $command; } } -- cgit v1.2.3