mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 19:25:46 +01:00
@@ -389,7 +389,7 @@ const Dactyl = Module("dactyl", {
|
||||
if (elem instanceof Window)
|
||||
services.focus.clearFocus(elem);
|
||||
else
|
||||
services.focus.setFocus(elem, flags || Ci.nsIFocusManager.FLAG_BYMOUSE);
|
||||
services.focus.setFocus(elem, flags || services.focus.FLAG_BYMOUSE);
|
||||
} catch (e) {
|
||||
util.dump(elem);
|
||||
util.reportError(e);
|
||||
|
||||
@@ -593,14 +593,6 @@ const Editor = Module("editor", {
|
||||
function () { editor.expandAbbreviation(modes.INSERT); },
|
||||
{ route: true });
|
||||
|
||||
mappings.add([modes.INSERT],
|
||||
["<Tab>"], "Expand insert mode abbreviation",
|
||||
function () {
|
||||
editor.expandAbbreviation(modes.INSERT);
|
||||
services.focus.moveFocus(window, null, Ci.nsIFocusManager.MOVEFOCUS_FORWARD,
|
||||
Ci.nsIFocusManager.FLAG_BYKEY);
|
||||
});
|
||||
|
||||
mappings.add([modes.INSERT],
|
||||
["<C-]>", "<C-5>"], "Expand insert mode abbreviation",
|
||||
function () { editor.expandAbbreviation(modes.INSERT); });
|
||||
|
||||
Reference in New Issue
Block a user