Conkeror is being built to emulate Emacs as much as possible. You'll notice many of the key bindings are the same.
I'm using the emacs style key notation. C means control, A means alt. As an example, holding down control and alt and then pressing the t key would be written C-A-t.
C-l, g | open new URL |
B, l | Go Back |
F | Go Forward |
r | Reload |
C-g | Stop |
c | Copy current URL to the clipboard |
A-SPC | Copy the X11 cut buffer to mozilla's clipboard. This is a cheap hack because I can't figure out how to override the mozilla past function. |
C-x r b | jump to bookmark |
C-x r l | list all bookmarks |
C-x r m | bookmark current URL |
C-h b | List all key bindings |
C-a | beginning of line |
C-e | end of line |
C-f | Forward a column |
C-b | backward a column |
C-n | Forward a line |
C-p | backward a line |
C-v | Page down |
A-v | Page up |
A-< | Beginning of document |
A-> | End of document |
C-s | Open i-search forward |
C-r | Open i-search backward |
f | cycle through the document's frames. The background will flash red to indicate the focused frame. |
C-s | search forward |
C-r | search backward |
C-g | quit i-search (jump back to where i-search started) |
backspace | undo search |
any modifier plus a key, enter or tab | close i-search |
You will notice each href link and form input has a number beside it. if you type the number and press enter, the href will be followed, form button clicked, or form field focused. If you press A-enter, the link will be focused.
In firefox this is the bookmark keyword feature. You type the keyword into the location followed by some text your browser jumps to the bookmark with the %s in the bookmark's URL substituted for this text.
Conkeror also has this feature, but it's seperate from bookmarks. Here are the built in web jumps:
Search with google | |
wikipedia | Search wikipedia.org |
slang | Search urbandictionary.com |
dictionary | Search dictionary.reference.com |
C-x C-f | Open an URL in a new browser |
C-x b | Select a browser based on it's name. |
A-p | previous browser |
A-n | Next browser |
C-x k | kill browser |
C-x 5 C-f | Open an URL in a new frame |
C-x 5 0 | Close the current frame (all browsers in the frame are lost, at this point) |
C-x C-c | Quit conkeror |
If you want to add a key binding, a new command, or some other customization then you need to create your rc file. The rc file is just a javascript file that will get evaluated on startup. Conkeror checks the "conkeror.rcfile" preference and if it exists, loads it and evaluates it. Follow these steps to tell Conkeror where your rcfile is:
conkeror.js
in
/path/to/mozilla/greprefs/
pref("conkeror.rcfile", "/path/to/rcfile");Here's what I use on my GNU/Linux box:
pref("conkeror.rcfile", "/home/sabetts/.conkerorrc");
Here are three common customizations:
add_webjump("keyword", "url");
add_command("command-name", function_name, []);The 3rd argument currently does nothing.
define_key(ctrlx_kmap, make_key("c", MOD_ALT), "command-name");This binds C-x A-c to execute "command-name". Take a look at bindings.js for the builtin keymaps and key bindings.