From 0568836943b75de57317fe14618904b32d6c0e2c Mon Sep 17 00:00:00 2001 From: Delapouite Date: Thu, 26 Oct 2017 13:04:28 +0200 Subject: Add support for line completion in all buffers - via completers option with line=all vs line=buffer - via L mapping --- src/input_handler.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index 3662e12f..5dc44794 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1223,12 +1223,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')) -- cgit v1.2.3