1

Is there a way to make firefox open tab as a pin tab by default?

I often work with multiple tabs. My "home page" alone is 7 tabs already. I pin them all, still it'll be better for me to open all tabs as pin tabs.

Possible solution

A possible solution to open a url as a pin tab with, say, Ctrl-Click or open a selected url with from a keyboard.

As to a second approach -- there's a function :pintab in pentadactyl. One can pin a tab from keyboard with:

map x :pintab<CR>

When the focus is on the url -- Ctrl-Shift-Return opens the url in a new tab. I tried to combine the two things:

map x <C-S-CR>:pintab<CR>

but it doesn't work. Probably <C-S-CR> is illigal.

(actually a proper way to pin tab is map -g user <C-S-p> -ex pintab! -- this way one gets toggler)

1
  • Are you looking to make the tab width smaller (same size as pinned tabs)??
    – vWil
    Commented Jan 27, 2014 at 16:07

3 Answers 3

3

set apptab=true

It works for Vimperator 3.8.2. (May '14)

1
  • does not work for me.
    – LRDPRDX
    Commented Apr 22, 2017 at 5:05
0

Here's a solution which works with pentadactyl (probably will work in Vimperator too):

" auto-pin tab:
autocmd PageLoad * js if(!getBrowser().mCurrentTab.pinned) getBrowser().pinTab(getBrowser().mCurrentTab);

(originally from here, modified to match all URLs).

-1

Try to use :tab pintab <URL>

5
  • Doesn't work for me. Does it work for you?
    – Adobe
    Commented Jan 23, 2014 at 20:31
  • Unfortunately, it works on opened buffers only. Sorry
    – igorepst
    Commented Jan 23, 2014 at 20:59
  • Look at the official tab lugin. It seems to be possible to use it and integrate the pintab support into it
    – igorepst
    Commented Jan 25, 2014 at 20:35
  • The tab plugin doesn't seem to be concerned with pintabs. Nor description, nor it's source have a single pintab word.
    – Adobe
    Commented Jan 25, 2014 at 21:35
  • I didn't tell you that. It is a plugin to manage tabs placement. You may add yourself the needed code to it and call the needed function via keybindings (look at :to in the end of the documentation, e.g the end of the file)
    – igorepst
    Commented Jan 25, 2014 at 21:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .