cmdwin_ctrlc.vim
This plugin tweaks CTRL-C in cmdline-window
mode to close the command line
window and insert the command or search line the cursor was on at a new command
of the appropriate type, with the cursor at the end of the line.
License
Copyright (c) Tom Ryder. Distributed under the same terms as Vim itself.
See :help license
.
Original idea and prototyping by m1n, first working map implementation by jamessan, both on Freenode #vim.