summaryrefslogtreecommitdiffstats
path: root/pentadactyl/.pentadactylrc
blob: 9c4959341208b2fe09fce6bde95f658195cc343d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"hg7166

loadplugins '\.(js|penta)$'
group user
set cdpath=''

colorscheme solarized-dark

"" scroll more
nmap -builtin j 5j
nmap -builtin k 5k

"" w/e switch tabs
nmap -builtin J <C-p>
nmap -builtin K <C-n>

"" U list closed tabs
nmap -builtin U :undo<Space>

"" viewsource in new tab
nmap -builtin gf :tab viewsource<CR>

"" use d and u for up and down
nmap -builtin d <C-d>
nmap -builtin u <C-u>

"" use x and X for close and undo
nmap -builtin x d
nmap -builtin X u

"" swap y/Y
nmap -builtin y Y
nmap -builtin Y y

"" swap p/P
nmap -builtin p P
nmap -builtin P p

"" private mode
nmap -builtin ,pp <C-S-p>

"" toggle pinned state
nmap -builtin ,pi :pin!<CR>

"" open addons manager
nmap -builtin ,a :dialog addons<CR>

"" downloads
nmap -builtin ,d :downloads<CR>

"" fullscreen
nmap -builtin ,F :set fullscreen!<CR>

"" about:config
nmap -builtin ,C :tabopen about:config<CR>

"" semicolon
nmap -builtin ; :
nmap -builtin : ;

"" duckduckgo
set defsearch=duckduckgo

"" passthrough keys
set passkeys+=reddit.com:jkifpaz<CR>
set passkeys+=youtube.com:jklm

"" show toolbar
set go+=T

" vim: set ft=pentadactyl: