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