Firefox: Difference between revisions
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
:* https://addons.mozilla.org/en-us/firefox/addon/auto-unload-tab/ |
:* https://addons.mozilla.org/en-us/firefox/addon/auto-unload-tab/ |
||
=== [http://5digits.org/nightlies |
=== [http://5digits.org/nightlies pentadactyl] === |
||
''' |
'''pentadactyl''' is an add-on that turns Firefox into a powerful vim-like browser. |
||
;Installation from source (on Firefox 48) |
;Installation from source (on Firefox 48) |
||
* See also detailed instructions at http://5digits.org/coding |
* See also detailed instructions at http://5digits.org/coding |
||
Line 49: | Line 49: | ||
* {{kbkey|H L}} history back/forward. |
* {{kbkey|H L}} history back/forward. |
||
* {{kbkey|^n ^p}} next / previous tab. |
* {{kbkey|^n ^p}} next / previous tab. |
||
* '''{{kbkey|^v}}''' — Enable '''passthrough (next)''' (only next key press) |
|||
* '''{{red|Tip!}}''' Type {{kbkey|^v}} twice to paste text in text field (to go into passthrough mode). |
|||
:Tip: To paste text, press {{kbkey|^v}} twice. |
|||
* '''{{kbkey|^z}}''' — Enable '''passthrough''' |
|||
* <code>:mkp</code> to save current configuration |
* <code>:mkp</code> to save current configuration |
||
;Customization |
;Customization |
||
Line 59: | Line 59: | ||
:map -builtin -description "Previous tab" <C-k> <C-p> |
:map -builtin -description "Previous tab" <C-k> <C-p> |
||
:mkp |
:mkp |
||
;Configure passthrough |
|||
Configure <code>passkeys</code> to tell Pentadactyl what keys must be passed through (k) |
|||
:set passkeys+=gabrielecirulli.github.io/2048/:<Up><Down><Left><Right> |
|||
Use ''auto-commands'' to make Pentadactyl alway pass all of your keys through for a particular URL [http://octalzeroes.com/2014/03/19/pentadactyl-and-pass-through.html]: |
|||
:autocmd LocationChange 'https://cloud.digitalocean.com/droplet/console/*' :normal! <C-z> |
Revision as of 22:01, 3 January 2017
Configuration
- Last visited tab with Ctrl-Tab — Go to
about:config
, and setbrowser.ctrlTab.previews
to true [1].
Keyboard shortcuts
Alt-Shift | Access key. Eg. Alt-Shift-F to go to search box in MediaWiki |
Extensions
Candidates
Extension I might install in the future:
- Extension to suspend tabs. ! Careful, this may lead to loss of work if you typed text in a form and the page gets suspended
pentadactyl
pentadactyl is an add-on that turns Firefox into a powerful vim-like browser.
- Installation from source (on Firefox 48)
- See also detailed instructions at http://5digits.org/coding
- Get source from github:
git clone https://github.com/5digits/dactyl.git
- Make project
cd dactyl/
make -C pentadactyl xpi
- Then in Firefox, go to add-on tab, and select install .xpi from file located in dactyl/downloads.
- Installation
- First disable add-on signature policy. Go to [about:config] and set
xpinstall.signatures.required
to false. - Download the latest nightly build and install it
- I installed pentadactyl-20160121.xpi on Firefox 44.
- Restore add-on signature policy
- Usage
- See
:help
for quick help - f show hints and follow a link.
- y current location.
- p paste new location.
- H L history back/forward.
- ^n ^p next / previous tab.
- ^v — Enable passthrough (next) (only next key press)
- Tip: To paste text, press ^v twice.
- ^z — Enable passthrough
:mkp
to save current configuration
- Customization
I prefer to use ^j ^k to go to next/previous tab, like I do to navigate between buffers.
:map -builtin -description "Next tab" <C-j> <C-n> :map -builtin -description "Previous tab" <C-k> <C-p> :mkp
- Configure passthrough
Configure passkeys
to tell Pentadactyl what keys must be passed through (k)
:set passkeys+=gabrielecirulli.github.io/2048/:<Up><Down><Left><Right>
Use auto-commands to make Pentadactyl alway pass all of your keys through for a particular URL [2]:
:autocmd LocationChange 'https://cloud.digitalocean.com/droplet/console/*' :normal! <C-z>