zed/assets/keymaps
vultix 2e616f8388
Add new argument vim text object (#7791)
This PR adds a new `argument` vim text object, inspired by
[targets.vim](https://github.com/wellle/targets.vim).

As it's the first vim text object to use the syntax tree, it needed to
operate on the `Buffer` level, not the `MultiBuffer` level, then map the
buffer coordinates to `DisplayPoint` as necessary.

This required two main changes:
1. `innermost_enclosing_bracket_ranges` and `enclosing_bracket_ranges`
were moved into `Buffer`. The `MultiBuffer` implementations were updated
to map to/from these.
2. `MultiBuffer::excerpt_containing` was made public, returning a new
`MultiBufferExcerpt` type that contains a reference to the excerpt and
methods for mapping to/from `Buffer` and `MultiBuffer` offsets and
ranges.

Release Notes:
- Added new `argument` vim text object, inspired by
[targets.vim](https://github.com/wellle/targets.vim).
2024-02-23 19:37:13 -07:00
..
atom.json feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
default-linux.json Add task docs and default keybindings (#8123) 2024-02-21 16:43:56 +02:00
default-macos.json Added a cmd-backspace keybinding to delete files in the project panel. (#8163) 2024-02-22 12:59:01 +02:00
jetbrains.json Jetbrains keymap - Movement between panes (#7464) 2024-02-07 09:12:34 +02:00
storybook.json Add an app_menu to Storybook which enables quitting with cmd-q (#8166) 2024-02-22 12:51:40 -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 Add new argument vim text object (#7791) 2024-02-23 19:37:13 -07:00