ZIm/crates
Thorsten Ball e65a76f0ec
Add ability to navigate to/from docks via keybindings (#7141)
This adds the ability to navigate to/from docks (Terminal, Project,
Collaboration, Assistant) via keybindings.

When using the `ActivatePaneInDirection` keybinding from the
left/bottom/right dock, we check whether the movement is towards the
center panel. If it is, we focus the last active pane.

Fixes https://github.com/zed-industries/zed/issues/6833 and it came up
in a few other tickes/discussions.

Release Notes:

- Added ability to navigate to docks and back to the editor using the
`workspace::ActivatePaneInDirection` action (by default bound to `Ctrl-w
[hjkl]` in Vim mode).
([#6833](https://github.com/zed-industries/zed/issues/6833)).

## Drawback

There's this weird behavior: if you start Zed and no files are opened,
you focus terminal, go left (project panel), then back to right to
terminal, the terminal isn't focused. Even though we focus it in the
code.

Maybe this is a bug in the current focus handling code?

## Demo


https://github.com/zed-industries/zed/assets/1185253/5d56db40-36aa-4758-a3bc-7a0de20ce5d7

---------

Co-authored-by: Piotr <piotr@zed.dev>
2024-02-01 12:18:12 +01:00
..
activity_indicator Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
ai Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
assets Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
assistant assistant: render api key editor if no credentials are set (#7197) 2024-02-01 11:16:03 +01:00
audio Restrict access to global Audio (#7122) 2024-01-30 20:49:58 -05:00
auto_update app version to server (#7130) 2024-01-31 15:46:24 -07:00
breadcrumbs Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
call Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
channel app version to server (#7130) 2024-01-31 15:46:24 -07:00
cli Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
client app version to server (#7130) 2024-01-31 15:46:24 -07:00
clock Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
collab collab 0.44.0 2024-01-31 19:10:19 -07:00
collab_ui Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
collections gpui: Add Global marker trait (#7095) 2024-01-30 14:08:20 -05:00
color Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
command_palette Fix some typos in comments (#7169) 2024-01-31 16:21:33 -05:00
copilot WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00
copilot_ui WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00
db Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
diagnostics Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
editor Fix some typos in comments (#7169) 2024-01-31 16:21:33 -05:00
feature_flags Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
feedback app version to server (#7130) 2024-01-31 15:46:24 -07:00
file_finder Improve file finder by ignoring spaces in query (#7068) 2024-01-31 14:18:21 -05:00
fs Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
fsevent fix: isolate macos-specific dependencies (#6854) 2024-01-27 13:38:55 +01:00
fuzzy Fix panic in fuzzy-finder for unicode characters (#7080) 2024-01-30 16:10:35 +01:00
git Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
go_to_line Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
gpui app version to server (#7130) 2024-01-31 15:46:24 -07:00
gpui_macros Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
install_cli Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
journal Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
language Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
language_selector Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
language_tools Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
live_kit_client Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
live_kit_server Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
lsp Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
markdown_preview Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
media Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
menu Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
multi_buffer Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
node_runtime Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
notifications Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
outline Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
picker Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
plugin Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
plugin_macros Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
plugin_runtime Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
prettier Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
project disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
project_panel disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
project_symbols Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
quick_action_bar Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
recent_projects Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
refineable Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
release_channel app version to server (#7130) 2024-01-31 15:46:24 -07:00
rich_text Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
rope Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
rpc disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
search Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
semantic_index Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
settings app version to server (#7130) 2024-01-31 15:46:24 -07:00
snippet Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
sqlez Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
sqlez_macros Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
story Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
storybook Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
sum_tree Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
terminal Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
terminal_view Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
text Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
theme Watch the themes directory for changes (#7173) 2024-01-31 18:17:31 -05:00
theme_importer theme_importer: Add ability to print theme JSON schema (#7129) 2024-01-30 23:33:54 -05:00
theme_selector Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
ui Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
util Filter LSP github releases that have no assets to properly download LSP servers (#7189) 2024-02-01 10:59:35 +02:00
vcs_menu Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
vim vim: Support counts for H and L motions (#7149) 2024-01-31 11:50:08 -07:00
welcome Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
workspace Add ability to navigate to/from docks via keybindings (#7141) 2024-02-01 12:18:12 +01:00
zed Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
zed_actions Fix casing of OpenZedUrl action (#7045) 2024-01-29 23:50:31 -05:00