VL
Size: a a a
VL
NG
VL
VL
VL
NG
YS
VL
VL
VL
VL
VL
YS
" When using "dd" in the quickfix list, remove the current item:
function! s:remove_qf_item() abort
let save_pos = winsaveview()
if exists('w:quickfix_title')
let save_title = w:quickfix_title
endif
let qfall = getqflist()
call remove(qfall, line('.') - 1)
call setqflist(qfall, 'r')
noautocmd copen
call winrestview(save_pos)
if exists('save_title')
let w:quickfix_title = save_title
endif
endfunction
nnoremap <buffer> <silent> dd :noautocmd call <SID>remove_qf_item()<CR>
YS
VL
" When using "dd" in the quickfix list, remove the current item:
function! s:remove_qf_item() abort
let save_pos = winsaveview()
if exists('w:quickfix_title')
let save_title = w:quickfix_title
endif
let qfall = getqflist()
call remove(qfall, line('.') - 1)
call setqflist(qfall, 'r')
noautocmd copen
call winrestview(save_pos)
if exists('save_title')
let w:quickfix_title = save_title
endif
endfunction
nnoremap <buffer> <silent> dd :noautocmd call <SID>remove_qf_item()<CR>
VL
YS
:help :Cfilter
V
NG
NG