From b09bf036fedf68c35b712fbd6560d05517ea9e58 Mon Sep 17 00:00:00 2001 From: Ian Markind Date: Tue, 2 Jul 2019 14:01:26 -0400 Subject: [PATCH] added distraction free mode toggle to jetbrains ide --- jetbrains.py | 2 ++ 1 file changed, 2 insertions(+) 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"), } )