Personally I just use Ctrl+L to quickly access to the URL Bar and then use Ctrl+C, I know is not exactly what you are searching but it works for me.
Firefox
A place to discuss the news and latest developments on the open-source browser Firefox
I don’t know a single shortcut, but does Ctrl-L Ctrl-C do what you want?
It does!
Well yes...
Ctrl+L
then Ctrl+C
gets it.
Just F6 and then whatever your OS has to copy to clipboard.
Thank you. That worked!
I do ⌘ + L to move focus to the url bar then ⌘ + C to copy
edit: apparently others have already said this and those comments just haven't gotten to my server yet
Ctrl +L will move your cursor to the URL bar and select the address, and you can Ctrl+C from there. Should work on a Mac but may need to use cloverleaf button instead of ctrl.
I use Tridactyl for Vim bindings. It's just yy
to yank the URL.
I wish there was a plugin that made every text box a neovim instance.
I use the following short script linked to a hotkey. I'm sure it would be easy to make it better, but it works for me.
#!/bin/bash
f=$(mktemp) &&
gvim --nofork +startinsert -S <(echo 'inoremap <C-Q> <Esc>ZZ') "$f" -c 'set wrap' -c 'set spell' &&
xsel < "$f"
sleep 0.5
xdotool type "$( xclip -o )"
I don't bother opening Vim in a terminal, because I just use this for quick edits. When in the text field, I hit my shortcut, gvim pops up in insert mode. I can type up whatever I want, then when I exit (allows for ctrl-q) it pastes what I wrote.
You can do Ctrl+F6+C. Though the C should be after the F6.
Install Vimium C browser extension and then you press just 'y'-key twice. It means yank in vim.
I wish there was browser extension that let me use vim keyboard binding inside of text boxes like this one.
You can configure Qutebrowser for that. In Qutebrowser the insert mode isn't that intuitive as in bloated browsers, but you get used to it.
My Qutebrowser uses Vim keys for scrolling and browsing, but in insert mode I use Emacs keybinds. Best of both worlds (for me).
Generic shortcuts - F6
and Ctrl+L
both get the URL selected.
Ctrl+C
can copy - switch window and paste.
Alternatively, if the windows are both open you can drag the Padlock icon (certainly with Firefox) to your field.