aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 39752fc..976c922 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -667,7 +667,6 @@ sub handle_command {
_set_prompt(':');
# Enter key sends the current input line in command mode as well.
-
} elsif ($key == 10) {
my $input = _input();
my $cmdchars = Irssi::settings_get_str('cmdchars');
@@ -696,6 +695,7 @@ sub vim_mode_init {
Irssi::statusbar_item_register ('vim_mode', 0, 'vim_mode_cb');
}
+
sub _input {
my ($data) = @_;
if (defined $data) {
@@ -751,6 +751,6 @@ sub _set_prompt {
$msg = ' ' . $msg if length $msg;
Irssi::signal_emit('change prompt', $msg);
}
+
# TODO:
# 10gg -> go to window 10 (prefix.gg -> win <prefix>)
-