zed/assets/keymaps
Thorsten Ball 7b8bd97652
vim: implement <space> in normal mode (#7011)
This fixes #6815 by implementing `<space>` in normal mode in Vim. Turns
out that `<space>` behaves like a reverse `<backspace>` (which we
already had): it goes to the right and, if at end of line, to the next
line.

That means I had to touch `movement::right`, which is used in a few
places, but it's documentation said that it would go to the next line,
which it did *not*. So I changed the behaviour.

But I would love another pair of eyes on this, because I don't want to
break non-Vim behaviour.

Release Notes:

- Added support for `<space>` in Vim normal mode: `<space>` goes to the
right and to next line if at end of line.
([#6815](https://github.com/zed-industries/zed/issues/6815)).
2024-01-30 10:47:39 +01:00
..
atom.json feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
default.json Add shift-enter binding for newline in auto-height editors 2024-01-19 16:03:08 -08:00
jetbrains.json Update JetBrains keymap 2024-01-24 00:34:26 -05:00
sublime_text.json fix default keybindings for select all matches 2023-09-20 17:14:19 -07:00
textmate.json Update textmate.json 2023-08-23 01:31:01 -04:00
vim.json vim: implement <space> in normal mode (#7011) 2024-01-30 10:47:39 +01:00