diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-07 20:50:17 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-07 20:50:17 +0000 |
commit | a35a8436a7cc8fe37db0bb5c8462e45e988c80af (patch) | |
tree | 7aff71d74c70799c5ca822ccd705c249c1122c93 /vim-mode | |
parent | vim_mode: Increase insert mode timeout to one second. (diff) | |
download | irssi-scripts-a35a8436a7cc8fe37db0bb5c8462e45e988c80af.tar.gz irssi-scripts-a35a8436a7cc8fe37db0bb5c8462e45e988c80af.zip |
vim_mode: Fix :registers' display of "+ and "*.
Reported by estragib.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 0c64a91..134874d 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1495,6 +1495,11 @@ sub ex_registers { } else { @regs = keys %$registers; } + + # Update "+ and "* registers so correct values are displayed. + $registers->{'+'} = Irssi::parse_special('$U'); + $registers->{'*'} = $registers->{'+'}; + my $active_window = Irssi::active_win; foreach my $key (sort @regs) { next if $key eq '_'; # skip black hole |