From aae620b3ca41fe183cc97ee82395bd580785b7b9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 26 Sep 2010 17:57:49 +0200 Subject: vim_mode: Add/remove some empty lines. --- vim-mode/vim_mode.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim-mode') 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 ) - -- cgit v1.2.3