From a8384612d72826fd91dc77a7823bae38b8106ab4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 2 Oct 2010 17:49:41 +0200 Subject: vim_mode: Fix :reg not to display "_. --- vim-mode/vim_mode.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index e43b562..37982e4 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1252,6 +1252,7 @@ sub cmd_ex_command { } my $active_window = Irssi::active_win; foreach my $key (sort @regs) { + next if $key eq '_'; # skip black hole if (defined $registers->{$key}) { $active_window->print("register $key: $registers->{$key}"); } -- cgit v1.2.3