aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-11-04 20:19:25 +0000
committerTom Feist <shabble@metavore.org>2010-11-04 20:19:25 +0000
commit19207527f7bea000f3205950776da260955c15ce (patch)
tree6a6961b0299c55cd4b6058ad370630a67ab92e29 /vim-mode
parentstart of tab completion for :ex commands (diff)
downloadirssi-scripts-19207527f7bea000f3205950776da260955c15ce.tar.gz
irssi-scripts-19207527f7bea000f3205950776da260955c15ce.zip
vim_mode: cleaned up docs pointing now to uberprompt
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 46c256c..c796fbf 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -161,14 +161,15 @@
#
# Dependencies:
#
-# For proper :ex mode support, requires the installation of prompt_info.pl
-# http://github.com/shabble/irssi-scripts/raw/master/prompt_info/prompt_info.pl
+# For proper :ex mode support, requires the installation of uberprompt.pl
+# Uberprompt can be downloaded from:
#
-# and follow the instructions in the top of that file for installation
-# instructions.
+# http://github.com/shabble/irssi-scripts/raw/master/prompt_info/uberprompt.pl
+#
+# and follow the instructions at the top of that file for installation.
#
# If you don't need Ex-mode, you can run vim_mode.pl without the
-# prompt_info.pl script.
+# uberprompt.pl script, but it is recommended.
#
#
# Irssi requirements:
@@ -2579,6 +2580,7 @@ sub handle_command_cmd {
# Start Ex mode.
} elsif ($cmd == $commands->{':'}) {
+
if (not script_is_loaded('uberprompt')) {
_warn("Warning: Ex mode requires the 'uberprompt' script. " .
"Please load it and try again.");