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