Closed vtrlx closed 2 years ago
@VictoriaLacroix Thank you for the patch. The completion for the queue push and unshift ist a nice feature. But I can't see the need for the q,w and Q and W bindings. If I read it right - that are alls things you could also do by remapping keys.
:nnoremap Q :qpush <C-R>%
:nnoremap q :qpush<Space>
The <C-R>%
is filled by the register "%" which holds the current url.
@VictoriaLacroix I've merged the first commit into master. But the additional key mappings are not required for me and other users. And could be easily be applied with current code.
I've been finding the Read-it-Later Queue to be very useful and at this point it has almost completely replaced the need to have dozens of tabs. I've made a few changes to help make it easier to use for certain use cases, offering here in the event that the changes are desirable.
First is to allow bookmark completion with the
:qpush
and:qunshift
commands. I use this feature a lot for reading sites that update frequently (mainly Twitter feeds as I don't have an account).Second is new key combinations to queuing items. 'q' and 'w' which prompt the user to
:qpush
and:qunshift
respectively. 'Q' and 'W' do the same but also include the current URI. I find the latter two keys helpful for when I'm consuming my queue. 'W' can un-pop the last item in case I want to keep it. 'Q' is very helpful in case I ever reach an item I would like to keep queued but don't want to consume just yet.