diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-09-26 15:57:49 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-09-26 15:57:49 +0000 |
commit | aae620b3ca41fe183cc97ee82395bd580785b7b9 (patch) | |
tree | e2a1f0c7b76a82c8b36d44e939d29d60924919e4 /vim-mode/vim_mode.pl | |
parent | vim_mode: Fix p at the end of the line. (diff) | |
download | irssi-scripts-aae620b3ca41fe183cc97ee82395bd580785b7b9.tar.gz irssi-scripts-aae620b3ca41fe183cc97ee82395bd580785b7b9.zip |
vim_mode: Add/remove some empty lines.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
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>) - |