summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-02-28 15:32:31 +1100
committerMaxime Coste <mawww@kakoune.org>2018-02-28 15:32:31 +1100
commit4e6b24eea22300f4e6581da6ce63880f5df7f5d5 (patch)
tree483aca9c04686e88b0596cb2732366d42fd1ba57 /src/input_handler.cc
parent44a5082aafc055086f6001c16a4265e4610f8d2e (diff)
parent0568836943b75de57317fe14618904b32d6c0e2c (diff)
Merge remote-tracking branch 'Delapouite/line_complete'
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 a891ccc8..6fa41d6f 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1224,12 +1224,15 @@ public:
if (key.key == 'W')
m_completer.explicit_word_all_complete();
if (key.key == 'l')
- m_completer.explicit_line_complete();
+ m_completer.explicit_line_buffer_complete();
+ if (key.key == 'L')
+ m_completer.explicit_line_all_complete();
}, "enter completion type",
"f: filename\n"
"w: word (current buffer)\n"
"W: word (all buffers)\n"
- "l: line\n");
+ "l: line (current buffer)\n"
+ "L: line (all buffers)\n");
update_completions = false;
}
else if (key == ctrl('o'))