summaryrefslogtreecommitdiff
path: root/xulmus/xulmusrc.example
blob: 221e7490fcae95c45a8dfe201e25f0b156396e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
" TODO: add some useful examples

" I don't like beeps
set visualbell

" autoignore mode on certain pages
:autocmd PageLoad .* :js modes.passAllKeys = /gmail\.com/.test(buffer.URL)


" embedded javascript is possible
" You can even add new functions which are then available in the :js command
javascript <<EOF
hello = function(name)
{
	alert("Hello world: " + name);
}
EOF

echo "xulmusrc sourced"

" vim: ft=xulmus: