Vim’s modal editing system is very efficient for manipulating text with little keystrokes. Let’s say I had a list of URLs like the ones below, representing tabs. I could have the list as a text file, navigate them with arrow keys to move a text cursor, press enter or another key to focus on the tab under the cursor, d to cut a link (like cutting a file in a file explorer, or like how d deletes or cuts text in Vim), and p to put it in another position where the cursor is. I could select multiple lines to do d or p, or press y to yank (copy) them to my clipboard.

startpage.com
reddit.com/r/firefox
lemmy.ml/c/firefox

Oil.nvim seems to be a good point of reference for this. Its a Neovim plugin that acts as a file explorer, where all the files are text listed in a vim buffer, and you can do d y or p. I did a bunch of searches to see if Vimium Tridactyl or Surfing Keys can do this and nothing showed up. If they can, then an explanation would be helpful.

  • magikmw@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 month ago

    I remember seeing a firefox plugin that would sync tabs to a filesystem folder where you could automate them and such. It could likely help with what you’re looking for. Can’t recall the name.

    Found it https://omar.website/tabfs/