aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-02 15:49:41 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-02 15:49:41 +0000
commita8384612d72826fd91dc77a7823bae38b8106ab4 (patch)
tree6c52bab22c9bb6c8a8e62f0f0a7a94c2cecc1618 /vim-mode/vim_mode.pl
parentvim_mode: Fix ~ at end of the line. (diff)
downloadirssi-scripts-a8384612d72826fd91dc77a7823bae38b8106ab4.tar.gz
irssi-scripts-a8384612d72826fd91dc77a7823bae38b8106ab4.zip
vim_mode: Fix :reg not to display "_.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl1
1 files changed, 1 insertions, 0 deletions
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}");
}