annotate pentadactylrc @ 242:7f9afeff086f

Passkeys for Feedbin.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 05 Jan 2015 17:06:13 -0800
parents 6d520cf84974
children ca28da5162f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
220
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 " Config for Pentadactyl
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 " Scroll faster
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 nmap -builtin h 3h
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 nmap -builtin j 3j
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 nmap -builtin k 3k
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 nmap -builtin l 3l
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 " Scroll easier
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 nmap -builtin d <C-d>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 nmap -builtin e <C-u>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 " Close tab with `x` since `d` is for scrolling down now
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 nmap -builtin x :bd<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 " Don't close the window with the last tab.
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 set! browser.tabs.closeWindowWithLastTab=false
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 " Change tabs without awkward `CTRL` combinations
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 nmap -builtin J :tabprevious<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 nmap -builtin K :tabnext<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23 " Reorder tabs
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
24 nmap -builtin > :tabmove! +1<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
25 nmap -builtin < :tabmove! -1<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
27 "New tab using the old classic way
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
28 nmap -builtin <C-t> :tabnew<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
29
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
30 " Use `i` to get into pass-through mode,
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
31 " `I` for temporary pass-through mode,
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
32 " and `c` for the 'caret' mode.
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
33 nmap -builtin i <C-z>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
34 nmap -builtin I <C-v>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
35 nmap -builtin c i
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
36
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
37 " Shortcuts for common extensions
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
38 nmap -builtin ,f i<D-\>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
39 nmap -builtin ,p <S-Esc><A-D-\>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
40 nmap -builtin ,b I<A-b>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
41
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
42 " Use and quickly hide search highlighting
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
43 set hlfind
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
44 nmap -builtin ,<Space> :noh<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
45
223
db627a19f1e2 Pentadactyl tweaks.
Ludovic Chabant <ludovic@chabant.com>
parents: 220
diff changeset
46 " Aw come on, copy/pasting is ridiculous by default.
db627a19f1e2 Pentadactyl tweaks.
Ludovic Chabant <ludovic@chabant.com>
parents: 220
diff changeset
47 map -builtin -modes=i,c,v <C-c> <C-v><C-c>
db627a19f1e2 Pentadactyl tweaks.
Ludovic Chabant <ludovic@chabant.com>
parents: 220
diff changeset
48 map -builtin -modes=i,c <C-x> <C-v><C-x>
db627a19f1e2 Pentadactyl tweaks.
Ludovic Chabant <ludovic@chabant.com>
parents: 220
diff changeset
49 map -builtin -modes=i,c <C-v> <C-v><C-v>
db627a19f1e2 Pentadactyl tweaks.
Ludovic Chabant <ludovic@chabant.com>
parents: 220
diff changeset
50
220
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
51 " Quickly open some dialogs
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
52 nmap -builtin ,b :downloads<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
53
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
54 set defsearch=duckduckgo
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
55
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
56 " Super minimal UI
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
57 "set toolbars=noaddons,nobookmarks,nomenu,nonavigation,notabs
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
58
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
59 " Websites with useful keyboard shortcuts already
231
6d520cf84974 Fastmail changed their domain.
Ludovic Chabant <ludovic@chabant.com>
parents: 223
diff changeset
60 set passkeys+=fastmail.com:jkomxeyga#.rupn,/,<S-g>m,<S-g>c,<S-g>a
223
db627a19f1e2 Pentadactyl tweaks.
Ludovic Chabant <ludovic@chabant.com>
parents: 220
diff changeset
61 set passkeys+=feedly.com:jkgvnpm
242
7f9afeff086f Passkeys for Feedbin.
Ludovic Chabant <ludovic@chabant.com>
parents: 231
diff changeset
62 set passkeys+=feedbin.com:hjklesmvVFcf123456789rgAa?<Space><Esc>,/
231
6d520cf84974 Fastmail changed their domain.
Ludovic Chabant <ludovic@chabant.com>
parents: 223
diff changeset
63 set passkeys+=groups.google.com:jkuonp
220
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
64
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
65 " vim: ft=vim