-
Notifications
You must be signed in to change notification settings - Fork 9
/
.pentadactylrc
123 lines (104 loc) · 3.07 KB
/
.pentadactylrc
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
"
" $Header: ~/.pentadactylrc, 2015/06/28 Exp $
" vim:fenc=utf-8:ft=vim:
"
set runtimepath=$HOME/.pentadactyl
set editor="urxvtc -x vim -f"
set titlestring="Aurora"
"set guioptions="rb"
"set visualbell=true
set nextpattern='\bnext\b',^>$,'^(>>|»)$','^(>|»)','(>|»)$','\bmore\b'
map -builtin <C-o> O
map -builtin O :tabopen
map <C-S-o> :winopen
map <C-d> :tabdetach
map <M-c> :xsel -ib
map <M-v> :xsel -ob
map -builtin . gT
map -builtin p gt
map -builtin nB :tbt Navigation Toolbar<CR>
map -builtin < :tabmove! -1<Enter>
map -builtin > :tabmove! +1<Enter>
"map -builtin ] :twitter
"map -builtin } :share
map j 10<C-e>
map k 10<C-y>
" when ldrized
map <S-j> 10<C-e>
map <S-k> 10<C-y>
" NoScript.js plugin key-bindings
map <A-c> :set nso!=<A-Tab>
map <A-s> :set nss!=<A-Tab>
map <A-S-s> :set nst!=<A-Tab>
map <A-C-s> :set nsu!=<A-Tab>
colorscheme clover-bright
javascript if (typeof hBookmark != 'undefined') liberator.loadScript('chrome://hatenabookmark/content/vimperator/plugin/hatenabookmark.js', {__proto__: this})
style -name commandline-ime chrome://* #dactyl-commandline-command input { ime-mode: inactive; }
" hide some contextmenu
style -name contextmenu chrome://* <<EOM
#context-openlink,
#context-bookmarklink,
#hBookmark-menu-addlink,
#hBookmark-menu-showlink,
#hBookmark-menu-showcomment,
/* #context-savelink, */
#context-sendlink,
#context-sep-viewbgimage,
#context-sendimage,
#context-setDesktopBackground,
#context-blockimage,
#context-bookmarkpage,
#hBookmark-menu-addentry,
#hBookmark-menu-showentry,
#context-savepage,
#context-sendpage {
visibility: collapse;
}
EOM
style -name tab chrome://* <<EOM
.tabbrowser-tab {
height: 20px !important;
padding: 0px !important;
border: none !important;
background-image: none !important;
font-weight: normal !important;
font-family: 'cure' !important;
}
.tabbrowser-tab[selected=false] { background: #080808 !important; }
.tabbrowser-tab[selected=true] > .tab-text { color: #b287ba !important; }
.tabbrowser-tab[selected=true] { background: #151515 !important; }
.tabbrowser-strip { background: #080808 !important; }
#content tab:not([selected]) { background-color: #080808 !important; }
EOM
style -name 'tab buttons' chrome://* <<EOM
.tabs-newtab-button,
#new-tab-button,
#alltabs-button,
#tabview-button,
#tabs-closebutton,
.tab-close-button { visibility: collapse; }
EOM
style -name tabsplitter chrome://* <<EOM
.treestyletab-splitter { visibility: collapse !important; }
EOM
style -name bookmarkbar chrome://* <<EOM
.toolbarbutton-icon { height: 18px !important; }
#PersonalToolbar {
height: 20px !important;
padding: 0px !important;
}
#PlacesToolbarItems toolbarbutton > image {
max-height: 20px !important;
max-width: 20px !important;
height: 20px !important;
width: 20px !important;
padding: 0px !important;
}
#personal-bookmarks {
height: 20px !important;
padding: 0px !important;
}
#PlacesToolbarItems toolbarbutton > label { visibility: collapse !important; }
EOM
style -name scrollbar scrollbar { visibility: collapse !important; }
style -name blank about:blank body { background-color: #080808 !important; }