forked from justone/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jumanjirc
237 lines (234 loc) · 8.27 KB
/
.jumanjirc
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
##>> Settings
#@TODO:
#@ when closing with <C-q> (at least) and opening the next time, the tabs are not restored in their previous order, and they do not maintain history (they are not supposed to maintain history, but the order is an issue)
#@ scripts: the directory scripts under XDG/jumanji is loaded automatically, and it can't parse hints.js
#@ database-sqlite.c: sessions are not managed in the sqlite database.
#@ user-stylesheet-uri: find a proper one and take it
#@ sc_quickmark_{add,evaluate} do not work
#@
#@ girara_notify() call points should sanitize their input to it. --> FIXED ==> THEY DO NOW (well, not all of them...)
#@ sc_toggle_bookmark: ( Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &) ==> I think it has something to do with not properly escaping the passed uri. --> FIXED ==> NOT COMMITTED YET
#> General
set n-completion-items 19
set guioptions "s"
set default-clipboard "clipboard"
set user-agent ""
set homepage "http://google.com/"
set adblock true
set load-session-at-startup true
set save-session-at-exit true
set close-window-with-last-tab false
set focus-new-tabs false
#enable-caret-browsing: true
set enable-caret-browsing false
set enable-private-browsing false
#> Search Engines
searchengine g "http://www.google.com/search?q=%s"
searchengine y "http://www.youtube.com/results?search_query=%s"
searchengine w "http://en.wikipedia.org/w/index.php?search=%s"
searchengine aw "https://wiki.archlinux.org/index.php?search=%s"
#> Webkit General (enable-developer-extras: (enables webkit WebInspector))
set enable-developer-extras false
#> Proxy (privoxy, used basically for adblocking; that was in the olden days...)
set auto-set-proxy true
#set proxy "localhost:8118"
#> Appearance
set enforce-96-dpi true
set auto-shrink-images true
set hint-css "padding: 0px 2px; -webkit-border-radius: 4px; font-family: monospace; font-size: 12px; font-weight: normal; color: #FFFFFF; border: 1px solid #3D3D3D; opacity: 0.85; background-color: #1F7DA0;"
#> Printing
set print-backgrounds false
#> Completion
#completion-fg: "#DDDDDD" | "#606060" | "#808080"
set completion-bg "#232323"
set completion-fg "#707070"
set completion-group-bg "#C0C0C0"
set completion-group-fg "#DEDEDE"
set completion-highlight-bg "#336600"
set completion-highlight-fg "#232323"
#> Colors
set default-bg "#000000"
set default-fg "#DDDDDD"
set inputbar-bg "#131313"
set inputbar-fg "#9FBC00"
#statusbar-bg: "#280000"
set statusbar-bg "#200000"
set statusbar-fg "#FFFFFF"
set notification-bg "#808080"
set notification-fg "#000000"
set notification-warning-bg "#101010"
set notification-warning-fg "#FFF712"
set notification-error-bg "#101010"
set notification-error-fg "#FF1212"
set tabbar-bg "#000000"
set tabbar-fg "#FFFFFF"
set tabbar-focus-bg "#3F3F3F"
set tabbar-focus-fg "#9FBC00"
#> Statusbar
set statusbar-h-padding 2
set statusbar-v-padding 0
#> Fonts - Encoding
#default-encoding: "iso-8859-1"
set default-encoding "utf-8"
#set user-stylesheet-uri "TODO"
#font: "monospace normal 7.5"
set font "Monaco normal 7.5"
set default-font-family "sans-serif"
set default-font-size 12
set cursive-font-family "serif"
set fantasy-font-family "serif"
set serif-font-family "serif"
set sans-serif-font-family "sans-serif"
set monospace-font-family "monospace"
set default-monospace-font-size 9
#minimum-font-size: 0
set minimum-font-size 5
#> Zooming
set full-content-zoom true
set zoom-step 5
set resizable-text-areas true
#> Scollbars
set show-scrollbars false
set show-h-scrollbar false
set show-v-scrollbar false
#> Scrolling
set scroll-step 40
#> Loading - Caching
set auto-load-images true
set enable-page-cache true
#> Plugins - Applets - Scripts
set enable-java-applet true
set enable-plugins true
set enable-scripts true
#> Window (Tiling WM :)
set window-height 600
set window-width 800
#> Various
set window-icon ""
set exec-command ""
set enable-spell-checking false
set spell-checking-languages ""
#> External
set download-dir "~/Downloads/"
#download-command: "" #If used as empty, a webkit widget is created to add the download.
set download-command "xterm -e sh -c \"wget --load-cookies ~/.local/share/jumanji/cookies '%s' -O '%s'\""
#> Allowed plugins - deprecated (identified by MIME type: for more see /etc/mime.types)
#plugin "application/x-shockwave-flash"
#> Javascript scripts - deprecated (hinting)
#script "~/.config/jumanji/scripts/hints.js"
#> Deprecated
#set editor "xterm -e -sh -c \"vim '%s'\""
#set browser_name "jumanji/0.0"
#set default_session_name "default"
#set history_limit 127
#set auto_save 30
#set next_to_current true
#set single_instance true
#set statusbar_ssl_bgcolor #FF8400
#set statusbar_ssl_fgcolor #000000
#set tabbar_separator_color #2700B0
##>> Mappings
#> Quit
map [normal] <C-q> quit
map [normal] Q quit
#> Input
map [normal] ":" focus_inputbar ":"
map [normal] ";" focus_inputbar ":"
map [normal] o focus_inputbar ":open "
map [normal] O focus_inputbar append_url ":open "
map [normal] t focus_inputbar ":tabopen "
map [normal] T focus_inputbar append_url ":tabopen "
map [normal] w focus_inputbar ":winopen "
map [normal] W focus_inputbar append_url ":winopen"
#TODO: Add more inputbar command shortcuts here...
#> Search
map [normal] "/" focus_inputbar "/"
map [normal] "?" focus_inputbar "?"
map [normal] n search forward
map [normal] N search backward
#> Hinting
map [normal] f hints
map [normal] F hints tab
#> Navigation
map [normal] H navigate_history previous
map [normal] L navigate_history next
unmap [normal] <C-i>
unmap [normal] <C-o>
#> Scrolling - Going
map [normal] k scroll up
map [normal] j scroll down
map [normal] h scroll left
map [normal] l scroll right
map [normal] <Up> scroll up
map [normal] <Down> scroll down
map [normal] <Left> scroll left
map [normal] <Right> scroll right
map [normal] d scroll half_down
map [normal] u scroll half_up
map [normal] D scroll full_down
map [normal] U scroll full_up
map [normal] <Space> scroll full_down
map [normal] <S-Space> scroll full_up
unmap [normal] <C-d>
unmap [normal] <C-u>
unmap [normal] <C-f>
unmap [normal] <C-b>
#TODO: scroll begin,end bindings also non-functional
#map [normal] "^" scroll begin
#map [normal] "$" scroll end
map [normal] gg scroll top
map [normal] G scroll bottom
map [normal] gh goto_homepage
map [normal] gH goto_homepage tab
map [normal] gu goto_parent_dir
map [normal] gU goto_parent_dir default
#> Zooming
map [normal] "+" zoom in
map [normal] "-" zoom out
map [normal] "=" zoom specific
map [normal] zi zoom in
map [normal] zo zoom out
map [normal] z0 zoom default
map [normal] zz zoom specific
map [normal] Z zoom specific
#> Reloading
map [normal] r reload
map [normal] R reload no_cache
#> Tab operations
map [normal] p put
map [normal] P put tab
map [normal] yy yank
unmap [normal] y
map [normal] <C-j> tab_navigate next
map [normal] <C-k> tab_navigate previous
unmap [normal] K
unmap [normal] J
map [normal] <C-Tab> tab_navigate next
map [normal] <C-d> close
unmap [normal] d
map [normal] <C-w> close
map [normal] u restore
map [normal] <C-T> restore
map [normal] <C-W> restore
#> Toggling (prefixed with 's')
map [normal] sp proxy
unmap [normal] <C-p>
map [normal] ss show_source
unmap [normal] g
map [normal] sl plugins
map [normal] st user_stylesheet
unmap [normal] e
#> Marks
map [normal] m mark_add
map [normal] "\'" mark_eval
#TODO: Bookmarks are not properly toggled. Sometimes the uri is not passed, and sometimes it is the uri of the wrong tab...
map [normal] B bookmark
unmap [normal] A
#map [normal] M qmark_add
#map [normal] gn qmark_eval
#unmap [normal] go
#map [normal] gN qmark_eval tab
####====FOR TESTING PURPOSES====####
#map ia qmark_add
#map ib qmark_eval
#map ic qmark_eval tab