this post was submitted on 06 Oct 2024
18 points (95.0% liked)

Firefox

4123 readers
1 users here now

A community for discussion about Mozilla Firefox.

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] sag@lemm.ee 4 points 1 month ago