This is an intuitive command-line mode mapping to insert the current line.
It is no longer needed since 8.0.1787 because the feature is now built-in. See :help c_ctrl-r_ctrl-l
.
This is an intuitive command-line mode mapping to insert the current line.
It is no longer needed since 8.0.1787 because the feature is now built-in. See :help c_ctrl-r_ctrl-l
.
if !has('patch-8.0.1787') | |
cnoremap <C-r><C-l> <C-r>=getline('.')<CR> | |
endif |