annotate 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
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
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
46 " Quickly open some dialogs
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
47 nmap -builtin ,b :downloads<cr>
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
48
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
49 set defsearch=duckduckgo
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
50
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
51 " Super minimal UI
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
52 "set toolbars=noaddons,nobookmarks,nomenu,nonavigation,notabs
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 " Websites with useful keyboard shortcuts already
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
55 set passkeys+=fastmail.fm:jkx.rupn
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
56 set passkeys+=feedly.com:jkgv
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
57
1ba0daaa8e4e Start using Pentadactyl instead of Vimperator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
58 " vim: ft=vim