Skip to content

Instantly share code, notes, and snippets.

@jonuts
Created July 14, 2009 05:50
Show Gist options
  • Save jonuts/146742 to your computer and use it in GitHub Desktop.
Save jonuts/146742 to your computer and use it in GitHub Desktop.
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Version]
File Version=1.01
[Info]
Description=vimperator key bindings
Author=William Fuqua
Version=1
NAME=vimperopera
[Browser Window]
:=Focus address field
u=Reopen page
i=focus next widget
Esc=Focus page | Hide speed dial contents
F11=Enter fullscreen | Leave fullscreen
s=Stop | Leave fullscreen
y=Copy document address
p=paste and go
g,u=Go to parent directory
g,i=Focus previous widget
"[,f"=Focus previous frame
],f=Focus next frame
"[["=Rewind
]]=fast forward
o shift=Copy document address & Focus address field & Paste
PageUp=Page up
PageDown=Page down
End=Go to end
Home=Go to start
f ctrl=Page down
b ctrl=Page up
[Embedded Application]
r=Reload
F5 ctrl=Reload all pages
l shift=Forward
h shift=Back
g=Go to homepage
f ctrl=Find
n=Find next
n shift=Find previous
z=Zoom in, 10
Plus=Zoom in, 10
-=Zoom out, 10
z shift=Zoom out, 10
0=Zoom to, 100
q ctrl=Close other
1=Cycle to next page
2=Cycle to previous page
d=Close page
n ctrl=New page
n ctrl alt=New browser window
t shift=Duplicate page
w shift=Close all
q shift=Close window
b=Add to bookmarks
o ctrl=Open document
s ctrl=Save document as
p ctrl=Print document
v shift=Validate frame source
v ctrl=Paste
l ctrl="Manage, "links""
h ctrl="Manage, "history""
F3 ctrl=View document source
F7=Activate hotlist window
F2=Go to page
Right ctrl shift="Go to link element, "next""
Left ctrl shift="Go to link element, "previous" | Go to link element, "prev""
Right alt shift="Go to link element, "next""
Left alt shift="Go to link element, "previous" | Go to link element, "prev""
Space ctrl shift="Go to link element, "home" | Go to link element, "start" | Go to link element, "top""
Backspace ctrl shift="Go to link element, "up""
f ctrl shift="Go to link element, "search" | Go to link element, "find""
Esc shift=Enter access key mode | Leave access key mode
F4=Show panel, -1 | Hide panel, -1 | Set alignment, "hotlist", 0
F4 shift=Set alignment, "hotlist", 6 | Set alignment, "hotlist", 0
F7 ctrl=Enable scroll bars | Disable scroll bars
F3 alt=View frame source
Enter alt=Edit properties
F2 shift=Go to nickname
F1="Go to page, "http://redir.opera.com/www.opera.com/support/service/""
b ctrl="Go to page, "http://redir.opera.com/www.opera.com/features/keyboard/""
m ctrl="Show popup menu, "Document Popup Menu""
i ctrl=Edit properties
c ctrl=Copy
d ctrl=Paste and go
d ctrl shift=Paste and go
x ctrl=Cut
z ctrl=Undo
y ctrl=Redo
z ctrl shift=Redo
y ctrl shift=Undo
a ctrl=Select all
Del=Delete
Backspace=Backspace
Ins ctrl=Copy
Ins shift=Paste
[Panels]
Esc=Hide panel, -1
[Dialog]
Esc=Cancel
[Form]
enter ctrl=Wand
Up=Focus previous radio widget
Down=Focus next radio widget
Left=Focus previous radio widget
Right=Focus next radio widget
h=Focus previous radio widget
j=Focus next radio widget
k=Focus previous radio widget
l=h=Focus next radio widget
[Widget Container]
Tab=Focus next widget
Tab shift=Focus previous widget
Right=Focus next radio widget
Down=Focus next radio widget
Left=Focus previous radio widget
Up=Focus previous radio widget
Enter=Click default button
[Links Widget]
Enter=Open link
Enter shift=Open link in new page
Enter shift ctrl=Open link in background page
Down=Next item
Up=Previous item
j=Next item
k=Previous item
[Button Widget]
Enter=Click button
Enter shift=Click button
Enter shift ctrl=Click button
Space=Click button
Space shift=Click button
Space shift ctrl=Click button
[Radiobutton Widget]
Space=Click button
[Checkbox Widget]
Space=Check item | Uncheck item | Click button
[Dropdown Widget]
Down alt=Show dropdown
Esc=Close dropdown
Right=Next item
j=Next item
Left=Previous item
k=Previous item
Down=Next item
Up=Previous item
PageUp=Page up
PageDown=Page down
Home=Go to start
End=Go to end
[List Widget]
Right=Next item
j=Next item
Left=Previous item
k=Previous item
Right shift=Range next item
Left shift=Range previous item
Down=Next item
Up=Previous item
Down shift=Range next item
Up shift=Range previous item
PageUp=Page up
PageDown=Page down
PageUp shift=Range page up
PageDown shift=Range page down
Home=Go to start
End=Go to end
Home shift=Range go to start
End shift=Range go to end
d=close window
[Tree Widget]
Down=Next item
j=Next item
Up=Previous item
k=Previous item
Down shift=Range next item
Up shift=Range previous item
PageUp=Page up
d=close window
PageDown=Page down
PageUp shift=Range page up
PageDown shift=Range page down
Home=Go to start
End=Go to end
Home shift=Range go to start
End shift=Range go to end
Right=Open item
Right shift=Open all items
Left=Close item
Left shift=Close all items
Space=Check item | Uncheck item
[Edit Widget]
a ctrl=Go to line start
e ctrl=Go to line end
b ctrl=Previous character
f ctrl=Next character
h ctrl=Backspace
k ctrl=Delete to end of line
n ctrl=Next line
Left=Previous character
Right=Next character
Left shift=Range previous character
Right shift=Range next character
Left ctrl=Previous word
Right ctrl=Next word
Left ctrl shift=Range previous word
Right ctrl shift=Range next word
Up=Previous line
Down=Next line | Show edit dropdown
Up shift=Range previous line
Down shift=Range next line
PageUp=Page up
PageDown=Page down
PageUp shift=Range page up
PageDown shift=Range page down
Home=Go to line start
End=Go to line end
Home shift=Range go to line start
End shift=Range go to line end
Home ctrl=Go to start
End ctrl=Go to end
Home ctrl shift=Range go to start
End ctrl shift=Range go to end
Del ctrl=Delete word
Backspace ctrl=Backspace word
Esc=Close dropdown
u ctrl=Go to line start & Delete to end of line
l ctrl=Left adjust text
r ctrl=Right adjust text
m ctrl="Show popup menu, "Edit Widget Popup Menu""
Backspace=Backspace
x alt=Convert hex to unicode
[History Panel]
Enter=Open link
Enter shift=Open link in new page
Enter shift ctrl=Open link in background page
j=Next item
Down=Next item
k=Previous item
Up=Previous item
[Bookmarks Widget]
Enter=Open link
Enter shift=Open link in new page
Enter shift ctrl=Open link in background page
j=Next item
Down=Next item
k=Previous item
Up=Previous item
d=close window
[Notes Widget]
Enter=Edit properties
j=Next item
Down=Next item
k=Previous item
Up=Previous item
[Mail Window]
up alt=Scroll up
r=mark as read
[Compose Window]
Del=Remove attachment
[Mail Panel]
j=Next item
k=Previous item
[Document Window]
a shift=Show address dropdown
i shift=Enable display images > Disable display images > Display cached images only
g ctrl=Select author mode > Select user mode
[Browser Widget]
l=Scroll right
Left=Scroll left
h=Scroll left
Down=Scroll down
j=Scroll down
Up=Scroll up
k=Scroll up
g,g=Go to start
g shift=Go to end
Space=Page down
PageUp ctrl=Page left
PageDown ctrl=Page right
Left shift=Navigate left
Right shift=Navigate right
Up shift=Navigate up
Down shift=Navigate down
j shift=Navigate down
n ctrl=Highlight next URL
p shift ctrl=Show print preview as screen | Show print preview one frame per sheet | Show print preview active frame | Leave print preview
k shift=Navigate up
Enter=Open link
3=Focus next frame
s shift=Save link
Tab=Focus next widget
Tab shift=Focus previous widget
Right=Scroll right
3 shift=Focus previous frame
c ctrl alt=Copy link
Enter shift=Open link in new page
Enter ctrl shift=Open link in background page
Home=Go to start
[Application]
f="Go to page, "javascript:var bgcolor = '#FF0';var color = '#000';var hintlist = new Array();var hintedlinks = new Array();var map = new Array();var mapindex = 0;var choice = '';var keycodemapping = {'48':'0','49':'1','50':'2','51':'3','52':'4','53':'5','54':'6','55':'7','56':'8','57':'9','13':'Enter','27':'Esc','8':'Bkspc'};var originalTitle = document.title;function drawHints(){document.addEventListener('keypress',interpretKeyStroke,true);document.title+=' - ';var allLinks = document.getElementsByTagName('a');var viewportStart = window.pageYOffset - 5;var viewportEnd = viewportStart + window.innerHeight + 10;for (var i=0;i<allLinks.length; i++){linkYcoord = getAbsoluteY(allLinks[i]);if(linkYcoord > viewportStart && linkYcoord < viewportEnd && allLinks[i].href != '') {hintedlinks.push(allLinks[i]);}}for (var i = 0;i<hintedlinks.length; i++){var hint = document.createElement('span');hintlist.push(hint);hint.style.backgroundColor=bgcolor;hint.style.color=color;hint.style.position='absolute';hint.innerHTML = mapindex;map[mapindex]=hintedlinks[i].href;mapindex++;hintedlinks[i].appendChild(hint,hintedlinks[i]);}}function getAbsoluteY(element){var y = 0;while (element) {y += element.offsetTop;element = element.offsetParent;}return y;}function removeHints(){for (var i=0; i<hintedlinks.length; i++){hintedlinks[i].removeChild(hintlist[i],hintedlinks[i]);}choice='';document.title=originalTitle;document.removeEventListener('keypress',interpretKeyStroke,true);delete map;delete hintlist;delete hintedlinks;}function getURLchoice(){return (map[choice]==undefined) ? False : map[choice];}function interpretKeyStroke(e){e.preventDefault(); var key=keycodemapping[(typeof event!='undefined')?window.event.keyCode:e.keyCode];if(key=='Enter'){location.href=getURLchoice();removeHints();}else if(key=='Esc'){removeHints();}else if(key=='Bkspc'){choice=choice.slice(0,-1);document.title=document.title.slice(0,-1);}else if(key == undefined){removeHints();}else{choice+=key;document.title+=key;if((''+choice).length>=(''+mapindex).length){location.href=getURLchoice();removeHints();}}}drawHints();""
r=Reload
p shift=Copy document address & New page & focus address field & Paste and go
g,t shift=Switch to previous page
6 ctrl=Go to speed dial, 6
5 ctrl=Go to speed dial, 5
7 ctrl=Go to speed dial, 7
Esc=focus page | Unfocus form | Focus panel
8 ctrl=Go to speed dial, 8
g,t=Switch to next page
h ctrl=Switch to previous page
l ctrl=Switch to next page
h shift=Back
g,h=Go to homepage
j shift="Go to link element, "next""
k shift="Go to link element, "previous" | Go to link element, "prev""
semicolon="Go to page, "javascript:var bgcolor = '#FF0';var bghighlight = '#0F0';var color = '#000';var hintlist = new Array();var hintedlinks = new Array();var map = new Array();var choices = new Array();var mapindex = 0;var choice = '';var keycodemapping = {'48':'0','49':'1','50':'2','51':'3','52':'4','53':'5','54':'6','55':'7','56':'8','57':'9','13':'Enter','27':'Esc','8':'Bkspc','44':','};var originalTitle = document.title;function drawHints(){document.addEventListener('keypress',interpretKeyStroke,true);document.title+=' - ';var allLinks = document.getElementsByTagName('a');var viewportStart = window.pageYOffset - 5;var viewportEnd = viewportStart + window.innerHeight + 10;for (var i = 0;i<allLinks.length;i++){linkYcoord = getAbsoluteY(allLinks[i]);if(linkYcoord > viewportStart && linkYcoord < viewportEnd && allLinks[i].href != '') {hintedlinks.push(allLinks[i]);}}for (var i = 0;i<allLinks.length;i++){var hint = document.createElement('span');hintlist.push(hint);hint.style.backgroundColor=bgcolor;hint.style.color=color;hint.style.position='absolute';hint.innerHTML = mapindex;map[mapindex]=hintedlinks[i].href;mapindex++;hintedlinks[i].appendChild(hint,hintedlinks[i]);}}function getAbsoluteY(element){var y = 0;while (element) {y += element.offsetTop;element = element.offsetParent;}return y;}function removeHints(){for (var i=0;i<hintedlinks.length;i++){hintedlinks[i].removeChild(hintlist[i],hintedlinks[i]);}choice='';document.title=originalTitle;document.removeEventListener('keypress',interpretKeyStroke,true);delete map;delete hintlist;delete hintedlinks;delete choices;}function interpretKeyStroke(e){e.preventDefault();var key=keycodemapping[(typeof event!='undefined')?window.event.keyCode:e.keyCode];if(key=='Enter'){choices.push(choice);for (var i=0;i<choices.length;i++) {if(map[choices[i]]!=undefined){window.open(map[choices[i]]);}}removeHints();}else if(key==','){if(choice!=''){choices.push(choice);hintlist[choice].style.backgroundColor=bghighlight;choice = '';document.title+=',';}}else if(key=='Esc'){removeHints();}else if(key=='Bkspc'){if(choices.length){if(choice!=''){choice='';}else{hintlist[choices.pop()].style.backgroundColor=bgcolor;document.title=originalTitle+' - '+choices.join(',');}}}else if(key == undefined){removeHints();}else{choice+=key;var choicestring = (choices.length) ? choices.join(',')+','+choice : choice;document.title=originalTitle+' - '+choicestring;}}drawHints();""
/=Find Inline, 1
n=Find next
n shift=Find previous
z,o=Zoom out, 10
m shift=Enable menu bar | disable menu bar
z,i=Zoom in, 10
s=View document source
s ctrl=Save document As
s shift=View fame source
w,q=hide opera
e="Execute program, "xterm""
t=New page & Focus address field & backspace
d shift=Close Page
d=Close page
t shift=Copy document address & new page & Focus address field & Paste
b=Add to bookmarks
v=Validate frame source
o ctrl=Back
p alt=Print document
f ctrl=Find
r ctrl=Reload all pages
o=Focus address field & Backspace
c ctrl=Copy
c ctrl shift=Copy to note
v ctrl=Paste
v ctrl shift=Paste to note
p=Paste and go
x ctrl=Cut
y ctrl=Redo
u ctrl=Clear
Del=Delete
Backspace shift=Backspace | Forward | Fast forward
i=Edit properties
Del shift=Cut
Ins ctrl=Copy
Ins shift=Paste mouse selection
Backspace alt=Paste mouse selection, 1
f3=Enable menu bar | Disable menu bar
f4=Enable scroll bars | Disable scroll bars
F1="Go to page, "opera:/help/index.html""
b ctrl="Manage, "bookmarks""
m ctrl=Show context menu
F7=Activate hotlist window
F2=Go to page
Backspace ctrl shift="Go to link element, "up""
f ctrl shift="Go to link element, "search" | Go to link element, "find""
Esc shift=Enter access key mode | Leave access key mode
h ctrl="Manage, "history""
x alt="Show popup menu, "Internal Forward History""
l ctrl="Manage, "links""
n ctrl="Manage, "notes""
4 ctrl=Go to speed dial, 4
3 ctrl=Go to speed dial, 3
9 ctrl=Go to speed dial, 9
2 ctrl=Go to speed dial, 2
1 ctrl=Go to speed dial, 1
l shift=Forward
m=Read mail
z shift, z shift=exit
g, h shift=new page & go to homepage
p ctrl=Show preferences, -1
i ctrl=Forward
q ctrl, d, d=clear
q ctrl, d, $=Delete to end of line
q ctrl, d, w=delete word
w ctrl="Manage, "widgets""
tab shift ctrl=Switch to previous page
tab ctrl=Switch to next page
[Bookmarks Panel]
d=close window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment