You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to delete entries from an existing list like the quickfix list? With the native quickfix window, I was able to configure dd to remove entries like so:
" When using `dd` in the quickfix list, remove the item from the quickfix list.function!quickfixdd#RemoveQFItem() abortletl:qf_list=getqflist()
iflen(l:qf_list) > 0letl:curqfidx=line('.') -1callremove(l:qf_list, l:curqfidx)
callsetqflist(l:qf_list, 'r')
endififlen(l:qf_list) > 0executel:curqfidx+1 . 'cfirst'copenelseccloseendifendfunction
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to delete entries from an existing list like the quickfix list? With the native quickfix window, I was able to configure
dd
to remove entries like so:It would be cool if Trouble could also do that.
Beta Was this translation helpful? Give feedback.
All reactions