Mercurial > dotfiles
comparison pentadactylrc @ 220:1ba0daaa8e4e
Start using Pentadactyl instead of Vimperator.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 16 Sep 2014 17:01:06 -0700 |
parents | |
children | db627a19f1e2 |
comparison
equal
deleted
inserted
replaced
219:738c1a3ad786 | 220:1ba0daaa8e4e |
---|---|
1 " Config for Pentadactyl | |
2 | |
3 " Scroll faster | |
4 nmap -builtin h 3h | |
5 nmap -builtin j 3j | |
6 nmap -builtin k 3k | |
7 nmap -builtin l 3l | |
8 | |
9 " Scroll easier | |
10 nmap -builtin d <C-d> | |
11 nmap -builtin e <C-u> | |
12 | |
13 " Close tab with `x` since `d` is for scrolling down now | |
14 nmap -builtin x :bd<cr> | |
15 | |
16 " Don't close the window with the last tab. | |
17 set! browser.tabs.closeWindowWithLastTab=false | |
18 | |
19 " Change tabs without awkward `CTRL` combinations | |
20 nmap -builtin J :tabprevious<cr> | |
21 nmap -builtin K :tabnext<cr> | |
22 | |
23 " Reorder tabs | |
24 nmap -builtin > :tabmove! +1<cr> | |
25 nmap -builtin < :tabmove! -1<cr> | |
26 | |
27 "New tab using the old classic way | |
28 nmap -builtin <C-t> :tabnew<cr> | |
29 | |
30 " Use `i` to get into pass-through mode, | |
31 " `I` for temporary pass-through mode, | |
32 " and `c` for the 'caret' mode. | |
33 nmap -builtin i <C-z> | |
34 nmap -builtin I <C-v> | |
35 nmap -builtin c i | |
36 | |
37 " Shortcuts for common extensions | |
38 nmap -builtin ,f i<D-\> | |
39 nmap -builtin ,p <S-Esc><A-D-\> | |
40 nmap -builtin ,b I<A-b> | |
41 | |
42 " Use and quickly hide search highlighting | |
43 set hlfind | |
44 nmap -builtin ,<Space> :noh<cr> | |
45 | |
46 " Quickly open some dialogs | |
47 nmap -builtin ,b :downloads<cr> | |
48 | |
49 set defsearch=duckduckgo | |
50 | |
51 " Super minimal UI | |
52 "set toolbars=noaddons,nobookmarks,nomenu,nonavigation,notabs | |
53 | |
54 " Websites with useful keyboard shortcuts already | |
55 set passkeys+=fastmail.fm:jkx.rupn | |
56 set passkeys+=feedly.com:jkgv | |
57 | |
58 " vim: ft=vim |