summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 25ceacc3..73e3649e 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1208,12 +1208,15 @@ public:
if (key.key == 'f')
m_completer.explicit_file_complete();
if (key.key == 'w')
- m_completer.explicit_word_complete();
+ m_completer.explicit_word_buffer_complete();
+ if (key.key == 'W')
+ m_completer.explicit_word_all_complete();
if (key.key == 'l')
m_completer.explicit_line_complete();
}, "enter completion type",
"f: filename\n"
- "w: word\n"
+ "w: word (current buffer)\n"
+ "W: word (all buffers)\n"
"l: line\n");
update_completions = false;
}