default_global_keymap, content_buffer_normal_keymap: bind C-z to recurse
commit1353c0bcd454c10c102058ddc5224b9dc3ce0c59
authorJohn Foerch <jjfoerch@earthlink.net>
Sun, 10 Oct 2010 02:17:39 +0000 (9 22:17 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Sun, 10 Oct 2010 02:17:39 +0000 (9 22:17 -0400)
treeb0736b8551e6451287bd066f86ccac579d457d63
parent0b907404b8dd56610b154cb385c5884996c09c5c
default_global_keymap, content_buffer_normal_keymap: bind C-z to recurse

Some page-modes that have a lot of fallthrough key bindings that shadow
the normal navigation bindings, and as a workaround include alternative
bindings for some of these commands, for example, 'C-c f' bound to 'follow'.
That workaround breaks modularity and abstraction, and also uses keys
which by convention should be left for user bindings.  This patch fixes
this problem.

The solution employed here is to bind C-z in our main keymaps to recurse.
This way, if the 'f' key is shadowed by a page mode, you can hit 'C-z f'
to call the 'follow' command instead.

resolves issue196

gmail_base_keymap removed
modules/bindings/default/content-buffer/normal.js
modules/bindings/default/global.js
modules/page-modes/gmail.js
modules/page-modes/gmane.js
modules/page-modes/google-calendar.js
modules/page-modes/google-reader.js
modules/page-modes/twitter.js