diff --git a/jetbrains.py b/jetbrains.py index 5979e28..052379f 100644 --- a/jetbrains.py +++ b/jetbrains.py @@ -271,6 +271,7 @@ def is_real_jetbrains_editor(app, window): "quickfix": Key("alt-enter"), "go class": Key("cmd-o"), "go file": idea("action GotoFile"), + "(distraction free | normal mode)": idea("action ToggleDistractionFreeMode"), # "go file": Key("cmd-shift-o"), "(go implement | go definition)": Key("cmd-b"), "preev method": Key("ctrl-up"), @@ -312,6 +313,7 @@ def is_real_jetbrains_editor(app, window): "funk down": Key("cmd-shift-down"), "clear": [Key("cmd-a"), Key("backspace")], "(breadcrumbs | crumbs)": Key("cmd-up"), + "(pretty | prettier)": Key("alt-shift-cmd-p"), } )