mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 10:14:13 +01:00
And xulmus was born.
This commit is contained in:
21
xulmus/vimperatorrc.example
Executable file
21
xulmus/vimperatorrc.example
Executable file
@@ -0,0 +1,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 "vimperatorrc sourced"
|
||||
|
||||
" vim: ft=vimperator:
|
||||
Reference in New Issue
Block a user