mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
d17d38fe70
Release Notes: - vim: Add v1 of command mode ([#279](https://github.com/zed-industries/community/issues/279)). The goal was to cover 90% of what most people actually do, but it is very incomplete. Known omissions are that ranges cannot be specified (except that `:%s//` must always specify the % range), commands cannot take arguments (you can `:w` but not `:w [file]`), and there is no history. Please file feature requests on https://github.com/zed-industries/community as you notice things that could be better. - `:` triggers zed's command palette. If you type a known vim command it will run it, otherwise you get zed's normal fuzzy search. For this release supported commands are limited to: - - `:w[rite][!]`, `:wq[!]`, `:q[uit][!]`, `:wa[ll][!]`, `:wqa[ll][!]`, `:qa[ll][!]`, `:[e]x[it][!]`, `:up[date]` to save/close tab(s) and pane(s). - - `:cq` to quit completely. - - `:vs[plit]`, `:sp[lit]` to split vertically/horizontally - - `:new`, `:vne[w]` to create a new file in a new pane above or to the left - - `:tabedit`, `:tabnew` to create a new file in a new tab. - - `:tabn[ext]`, `:tabp[rev]` to go to previous/next tabs - - `:tabc[lose]` to close tabs - - `:cn[ext]`, `:cp[rev]`, `:ln[ext]`, `:lp[rev]` to go to the next/prev diagnostics. - - `:cc`, `:ll` to open the errors page - - `:<number>` to jump to a line number. - - `:$` to jump to end of file - - `:%s/foo/bar/` (note that /g is always implied, the range must always be %, and zed uses different regex syntax to vim) - - `:/foo` and `:?foo` to jump to next/prev line matching foo - - `:j[oin]`, to join the current line (no range is yet supported) - - `:d[elete][l][p]`, to delete the current line (no range is yet supported) - - `:s[ort] [i]` to sort the current selection (case-insensitively) - vim: Add `ctrl-w o` (closes everything except the current item) and `ctrl-w n` (creates a new file in the pane above). ([#1884](https://github.com/zed-industries/community/issues/1884)) - all: Add a "Discard" option to prompt when saving a file with conflicts (previously this only appeared on close, not on save). Internal changes: - The Picker will now wait for pending queries before confirming (to handle people typing `: w enter` rapidly. - workspace::save_item and Pane::save_item are now merged together, and the behavior controlled by `workspace::SaveIntent`. - Many actions related to closing/saving items now take an optional `SaveIntent`. - |
||
---|---|---|
.. | ||
activity_indicator | ||
ai | ||
assistant | ||
audio | ||
auto_update | ||
breadcrumbs | ||
call | ||
channel | ||
cli | ||
client | ||
clock | ||
collab | ||
collab_ui | ||
collections | ||
command_palette | ||
component_test | ||
context_menu | ||
copilot | ||
copilot_button | ||
db | ||
diagnostics | ||
drag_and_drop | ||
editor | ||
feature_flags | ||
feedback | ||
file_finder | ||
fs | ||
fsevent | ||
fuzzy | ||
git | ||
go_to_line | ||
gpui | ||
gpui2 | ||
gpui2_macros | ||
gpui_macros | ||
install_cli | ||
journal | ||
language | ||
language_selector | ||
language_tools | ||
live_kit_client | ||
live_kit_server | ||
lsp | ||
media | ||
menu | ||
node_runtime | ||
outline | ||
picker | ||
plugin | ||
plugin_macros | ||
plugin_runtime | ||
project | ||
project_panel | ||
project_symbols | ||
quick_action_bar | ||
recent_projects | ||
refineable | ||
rope | ||
rpc | ||
search | ||
semantic_index | ||
settings | ||
snippet | ||
sqlez | ||
sqlez_macros | ||
storybook | ||
sum_tree | ||
terminal | ||
terminal_view | ||
text | ||
theme | ||
theme_selector | ||
ui | ||
util | ||
vcs_menu | ||
vim | ||
welcome | ||
workspace | ||
xtask | ||
zed | ||
zed-actions |