aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 104b044..303751b 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -162,7 +162,7 @@ my $movements
'P' => { func => \&cmd_movement_P },
# misc
'~' => { func => \&cmd_movement_tilde },
- '.' => {},
+ '.' => { func => \&cmd_movement_dot },
};
# special movements which take an additional key
@@ -476,6 +476,10 @@ sub cmd_movement_tilde {
_input($input);
_input_pos($pos + $count);
}
+sub cmd_movement_dot {
+ # Does nothing. Necessary to prevent errors when pressing . before running
+ # any commands (at irssi startup).
+}
sub cmd_ex_command {
my $arg_str = join '', @ex_buf;