ZIm/crates/workspace/src
Robert Falkén 80d3eafa30
Alternate files with ctrl-6 (#11367)
This is my stab at #7709 

I realize the code is flawed. There's no test coverage, I'm using
`clone()` and there are probably better ways to hook into the events.
Also, I didn't know what context to use for the keybinding. But maybe
with some pointers from someone who actually know what they're doing, I
can get this shippable.

Release Notes:

- vim: Added ctrl-6 for
[alternate-file](https://vimhelp.org/editing.txt.html#CTRL-%5E) to
navigate back and forth between two buffers.



https://github.com/zed-industries/zed/assets/261929/2d10494e-5668-4988-b7b4-417c922d6c61

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-05-10 11:40:08 -06:00
..
persistence Remember window restore size (#10429) 2024-05-07 23:29:03 -06:00
dock.rs Do not toggle hunk diffs when resizing the docks (#11489) 2024-05-07 17:06:12 +03:00
item.rs Alternate files with ctrl-6 (#11367) 2024-05-10 11:40:08 -06:00
modal_layer.rs Occlude only modal and not the space around it used to center it 2024-03-11 18:13:00 +01:00
notifications.rs Remove 'Destructive' prompts (#11631) 2024-05-09 18:52:09 -06:00
pane.rs Alternate files with ctrl-6 (#11367) 2024-05-10 11:40:08 -06:00
pane_group.rs gpui: Pass Style by value to request_layout (#11597) 2024-05-09 11:38:53 +02:00
persistence.rs Remember window restore size (#10429) 2024-05-07 23:29:03 -06:00
searchable.rs support vim replace command with range (#10709) 2024-04-29 18:49:30 -06:00
shared_screen.rs Add preview tabs (#9125) 2024-04-11 23:09:12 +02:00
status_bar.rs Add wiring for UI density (#11260) 2024-05-01 14:28:52 -04:00
tasks.rs Add support for detecting tests in source files, and implement it for Rust (#11195) 2024-05-05 16:32:48 +02:00
toolbar.rs Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
workspace.rs Alternate files with ctrl-6 (#11367) 2024-05-10 11:40:08 -06:00
workspace_settings.rs Editor tab bar settings (#7356) 2024-05-08 10:54:48 -07:00