The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

1

Try this autocmd: augroup my_cmdline_window au! au CmdWinEnter * nno <buffer><expr><nowait> <c-c> '<c-c>'.timer_start(0, {-> execute('redraw')})[-1] augroup END The timer is necessary to delay :redraw. Without it, :redraw would be executed before C-c is pressed, that is before the command line window is left, ...


Only top voted, non community-wiki answers of a minimum length are eligible