Ubuntu – How to clear a Firefox address bar without selecting its content

firefox

Sometimes I need to move an url from an app to a browser. I select the url, say in gvim, and make Firefox window active. Then I see that I should clear address bar before pasting the new url, which requires selecting existing url, which wipes the new url from PRIMARY clipboard out.

What is the best way to put the new url from PRIMARY clipboard to address bar?
Is there a shortcut to clear address bar and then to move focus there?

ps
I know I can use Ctrl-C to put the new url to CLIPBOARD clipboard, but I prefer to use PRIMARY clipboard.

Best Answer

Just use Xclear add-on.

Clear url and search field easily https://addons.mozilla.org/en-US/firefox/addon/xclear/