1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 06:58:00 +01:00

added intelligent :buffer selection

This commit is contained in:
Martin Stubenschrott
2007-09-19 01:15:59 +00:00
parent 19d1bb9fef
commit 31ce25344e
3 changed files with 36 additions and 14 deletions

View File

@@ -566,8 +566,11 @@ function Events() //{{{
// XXX: ugly hack for now pass certain keys to firefox as they are without beeping
// also fixes key navigation in combo boxes, etc.
if (key == "<Tab>" || key == "<S-Tab>")// || key == "<Return>" || key == "<Space>" || key == "<Up>" || key == "<Down>")
return false;
if (vimperator.mode == vimperator.modes.NORMAL)
{
if (key == "<Tab>" || key == "<S-Tab>" || key == "<Return>" || key == "<Space>" || key == "<Up>" || key == "<Down>")
return false;
}
// // FIXME: handle middle click in content area {{{