 
   return keyStr
 
+# Passthrough mode is activated when VimFx should temporarily stop processking 
+# keyboard input. For example when a context menu is whown
+passthrough = false
+
 # The following listeners are installed on every top level Chrome window
 windowsListener = 
   'keydown': (event) ->
 
-    if getPref 'disabled'
+    if passthrough or getPref 'disabled' 
       return
 
     try

          suppressEvent event

        vim.lastKeyStr = null

  # When the top level window closes we should release all Vims that were 
  # associated with tabs in this window


  'keypress': (event) ->

    if passthrough or getPref 'disabled'
      return

    try
