I want to complete multiple lines at once.
For instance, in a buffer (may be hidden):
...
using std::cout;
using std::cin;
using std::endl;
...
In the current buffer I can complete a whole line with CTRL-X CTRL-L.
using st
^
CTRL-X_CTRL-L
How can I also complete the line along with the next lines? (they don't have to share a common prefix like in the example)
In the help i_CTRL-X_CTRL-L
I found:
CTRL-X CTRL-L After expanding a line you can additionally get the
line next to it by typing CTRL-X CTRL-L again, unless
a double CTRL-X is used. Only works for loaded
buffers.
which seems to be what I want, but it doesn't work. (If I enter the selection with CTRL-Y the cursor remains on the same line and pressing CTRL-X CTRL-L again completes the same line. If I enter the selection with Enter the cursor ends on the next line and pressing CTRL-X CTRL-L again completes the same line (but on this new line))