Skip to content

Commit

Permalink
Add hint for unidirectional ESC
Browse files Browse the repository at this point in the history
As discussed in #150
  • Loading branch information
chreekat committed Sep 26, 2024
1 parent 55490ff commit 3529c87
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,18 @@ mapping that calls `org-self-insert-command` in `org-mode`:

## Useful key bindings

The following key bindings are popular:
For vim refugees, consider using `i` and `<escape>` to toggle god-mode off and
on:

```emacs-lisp
(define-key god-local-mode-map (kbd "z") #'repeat)
(define-key god-local-mode-map (kbd "i") #'god-local-mode)
(global-set-key (kbd "<escape>") #'(lambda () (interactive) (god-local-mode 1)))
```

The following key binding is also popular:

```emacs-lisp
(define-key god-local-mode-map (kbd "z") #'repeat)
```

Although I personally prefer:
Expand Down

0 comments on commit 3529c87

Please sign in to comment.