Add playback control (via mpc) bindings to sxhkd
[~bandali/configs] / pentadactyl / .pentadactylrc
... / ...
CommitLineData
1"hg7166
2
3loadplugins '\.(js|penta)$'
4group user
5set cdpath=''
6
7colorscheme solarized-dark
8
9"" scroll more
10nmap -builtin j 5j
11nmap -builtin k 5k
12nmap -builtin h 5h
13nmap -builtin l 5l
14
15"" w/e switch tabs
16nmap -builtin K <C-p>
17nmap -builtin J <C-n>
18
19"" U list closed tabs
20nmap -builtin U :undo<Space>
21
22"" viewsource in new tab
23nmap -builtin gf :tab viewsource<CR>
24
25"" use d and u for up and down
26nmap -builtin d <C-d>
27nmap -builtin u <C-u>
28
29"" use x and X for close and undo
30nmap -builtin x d
31nmap -builtin X u
32
33"" swap y/Y
34nmap -builtin y Y
35nmap -builtin Y y
36
37"" swap p/P
38nmap -builtin p P
39nmap -builtin P p
40
41"" private mode
42nmap -builtin ,pp <C-S-p>
43
44"" toggle pinned state
45nmap -builtin ,pi :pin!<CR>
46
47"" open addons manager
48nmap -builtin ,a :dialog addons<CR>
49
50"" downloads
51nmap -builtin ,d :downloads<CR>
52
53"" fullscreen
54nmap -builtin ,F :set fullscreen!<CR>
55
56"" about:config
57nmap -builtin ,C :tabopen about:config<CR>
58
59"" semicolon
60nmap -builtin ; :
61nmap -builtin : ;
62
63"" duckduckgo
64set defsearch=duckduckgo
65
66"" passthrough keys
67set passkeys+=reddit.com:jkifpaz<CR>
68set passkeys+=youtube.com:jklm
69
70"" show toolbar
71set go+=T
72
73"" hide tabline
74set showtabline=never
75
76" vim: set ft=pentadactyl: