aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-08 23:20:03 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-08 23:20:03 +0000
commit3389ded1e95cb545ac83f5c8194ef4c0dbd43429 (patch)
tree5132797b0916b707df13e555597630e7ae53569f /vim-mode/vim_mode.pl
parentvim_mode: Fix :map with ex-commands. (diff)
downloadirssi-scripts-3389ded1e95cb545ac83f5c8194ef4c0dbd43429.tar.gz
irssi-scripts-3389ded1e95cb545ac83f5c8194ef4c0dbd43429.zip
vim_mode: Fix :mkv[imrc].
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 065411e..6f219dc 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -1719,7 +1719,7 @@ sub ex_mkvimrc {
my $cmd = $map->{cmd};
if (defined $cmd) {
next if $map->{char} eq $cmd->{char}; # skip default mappings
- print $file "$map->{char} $cmd->{char}\n";
+ print $file "map $map->{char} $cmd->{char}\n";
}
}