# Bind "j k" to \`NormalBefore\` in initial keymap examples \(\#34912\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d81a8178e916f92c3277098f1f199b05b0d20bde)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d81a8178e916f92c3277098f1f199b05b0d20bde

Requested commit: d81a8178e916f92c3277098f1f199b05b0d20bde

Commit: d81a8178e916f92c3277098f1f199b05b0d20bde

Tree: b51371773843a990de9957e294fd5be85bb33039

Author: Michael Sloan

Committer: GitHub

## Message

```
Bind "j k" to `NormalBefore` in initial keymap examples (#34912)

It looks like typically vim configurations bind "j k" to be the same as
escape, which has the "NormalBefore" behavior positioning the block
cursor on the character before the insertion cursor. The [vim mode
docs](https://zed.dev/docs/vim#useful-contexts-for-vim-mode-key-bindings)
also use NormalBefore here.

Thanks to @omniwrench for mentioning this in
https://github.com/zed-industries/zed/discussions/6661#discussioncomment-13848043
. This was a mistake in #31163.

Release Notes:

- N/A
```

## Parents

- [14cea06f0fb591129df0faac2163dcaf74444a83](https://git.cafe/gitcafe/zed/commit/14cea06f0fb591129df0faac2163dcaf74444a83?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d81a8178e916f92c3277098f1f199b05b0d20bde?format=markdown)
