Pin tab by default?

1

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)

Adobe

Posted 2014-01-18T12:51:49.870

Reputation: 1 883

Are you looking to make the tab width smaller (same size as pinned tabs)?? – vWil – 2014-01-27T16:07:25.643

Answers

3

set apptab=true

It works for Vimperator 3.8.2. (May '14)

Ooker

Posted 2014-01-18T12:51:49.870

Reputation: 1 242

does not work for me. – LRDPRDX – 2017-04-22T05:05:30.777

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).

Adobe

Posted 2014-01-18T12:51:49.870

Reputation: 1 883

-1

Try to use :tab pintab <URL>

igorepst

Posted 2014-01-18T12:51:49.870

Reputation: 181

Doesn't work for me. Does it work for you? – Adobe – 2014-01-23T20:31:27.733

Unfortunately, it works on opened buffers only. Sorry – igorepst – 2014-01-23T20:59:49.790

Look at the official tab lugin. It seems to be possible to use it and integrate the pintab support into it

– igorepst – 2014-01-25T20:35:57.283

The tab plugin doesn't seem to be concerned with pintabs. Nor description, nor it's source have a single pintab word. – Adobe – 2014-01-25T21:35:42.607

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 – 2014-01-25T21:54:08.080