aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
Diffstat (limited to 'vim-mode')
-rw-r--r--vim-mode/vim_mode.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index f0ad409..a9b7d0f 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -286,6 +286,7 @@ my $movements
'~' => { func => \&cmd_movement_tilde },
'.' => {},
'"' => { func => \&cmd_movement_register },
+ "\x1e" => { func => \&cmd_movement_ctrl_6 },
# undo
'u' => { func => \&cmd_undo },
"\x12" => { func => \&cmd_redo },
@@ -869,6 +870,11 @@ sub cmd_movement_register {
print "Changing register to $register" if DEBUG;
}
+sub cmd_movement_ctrl_6 {
+ # like :b#
+ Irssi::command('window last');
+}
+
# Adapt the input position depending if an operator is active or not.
sub _fix_input_pos {
my ($pos, $length) = @_;