Conrad Irwin
d5d2c2785a
vim counts ( #2958 )
...
Release Notes:
- vim: Fix counts with operators (`2yy`, `d3d`, etc.)
([#1496 ](https://github.com/zed-industries/community/issues/1496 ))
([#970 ](https://github.com/zed-industries/community/issues/970 )).
- vim: Add support for counts with insert actions (`2i`, `2o`, `2a`,
etc.)
- vim: add `_` and `g_`
2023-09-12 14:32:00 -06:00
Piotr Osiewicz and Max
b21d8ecf19
Replace in buffer adjustments ( #2960 )
...
This PR addresses feedback from @maxbrunsfeld on new replace in buffer.
It fixes:
- missing padding surrounding replace input.
- missing padding around replace buttons.
- missing `.notify` call which made the replace fields not show up
immediately sometimes.
Release Notes:
- N/A
---------
Co-authored-by: Max <max@zed.dev >
2023-09-12 22:08:39 +02:00
Conrad Irwin
b850e0b8a6
vim: ALlow counts on insert actions
...
This re-uses the existing repeat infrastructure.
2023-09-11 18:09:47 -06:00
Conrad Irwin
ea19a9e284
Split ContextMenu actions
...
This should have no user-visible impact.
For vim `.` to repeat it's important that actions are replayable.
Currently editor::MoveDown *sometimes* moves the cursor down, and
*sometimes* selects the next completion.
For replay we need to be able to separate the two.
2023-09-02 21:04:19 -06:00
Kirill Bulatov
ce7c0d3426
Use ctrl-: instead of ctrl-shift-: for inlay hints toggling
...
The latter is not posible to press in Zed, since `:` is typed as
`shift-;` with typical US keyboard layouts.
In the end, it's the same buttons you have to press to toggle the inlay
hints, but working this time.
2023-08-31 10:43:29 +03:00
Antonio Scandurra
8f85b1a536
Introduce code generation ( #2901 )
...

Release Notes:
- Added a new "Inline Assist" feature that lets you transform a
selection or generate new code at the cursor location by hitting
`ctrl-enter`.
2023-08-30 14:58:22 +02:00
Kirill Bulatov
e4caf451c3
Add a default binding for toggling inlay hints
2023-08-29 20:56:26 +03:00
Antonio Scandurra
6eb450178e
Merge remote-tracking branch 'origin/main' into ai-refactoring
2023-08-25 13:37:32 +02:00
Antonio Scandurra
c549cdb9b2
Rework inline assistant
2023-08-25 11:39:27 +02:00
Joseph T. Lyons
07a815a3bc
Add default bindings for new file and directory
2023-08-22 11:33:40 -04:00
Conrad Irwin
b855d248bd
vim visual block ( #2849 )
...
Release notes:
- vim: add Visual Block mode
([#984 ](https://github.com/zed-industries/community/issues/984 )),
([#1415 ](https://github.com/zed-industries/community/issues/1415 )).
- vim: add support for `a<object>` and `i<object>` in visual modes
- vim: fix scroll shortcuts (`ctrl-{f,b,d,u,e,y}`) in visual modes
- allow `shift-enter` to type a newline.
2023-08-18 09:55:40 -06:00
Conrad Irwin
ec0934dac1
shift-enter should also give a newline
...
(reported as vim feedback, but really true of the editor too)
2023-08-17 16:01:19 -06:00
Mikayla
a37da1b636
Merge branch 'main' into project_search_design
2023-08-17 01:56:05 -07:00
KCaverly
4e3526b616
Merge branch 'main' of github.com:zed-industries/zed into project_search_design
2023-08-16 12:43:04 +01:00
Piotr Osiewicz
d131cc0324
Add cycle mode command for buffer search
2023-08-09 18:02:21 +02:00
Mikayla
647f724c30
Position and style the channel editor correctly
...
Fix a bug where some channel updates would be lost
Add channel name sanitization before storing in the database
2023-08-08 14:06:29 -07:00
Piotr Osiewicz
3c71113730
Update keybinds to use new names
2023-08-08 14:33:51 +02:00
Mikayla
247d6c9dc5
Push focus and fix keybindings
2023-08-07 13:31:58 -07:00
Max Brunsfeld and Mikayla
acce8aba4a
Flesh out channel member management
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-04 14:12:08 -07:00
Piotr Osiewicz and Kyle
c23dbfe986
Remove reference to pane from a toolbar.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-03 16:09:26 +02:00
KCaverly
599c7e814c
catch up with main
2023-08-02 16:48:11 -04:00
KCaverly
ef34de3b11
update keymaps for cycle search mode and toggle filters
2023-08-02 15:08:54 -04:00
Max Brunsfeld
076649aae1
Merge branch 'main' into collab-panel
2023-08-02 09:08:50 -07:00
Kirill Bulatov
97bea79029
Add project search history
2023-08-01 01:31:28 +03:00
Kirill Bulatov
a4f69b5b45
Add buffer search history
2023-08-01 01:31:28 +03:00
Mikayla Maki
a5868e7658
Move channels panel into collab and rename to collab panel
...
remove contacts popover and add to collab panel
2023-07-28 13:24:42 -07:00
Mikayla Maki
783832d41d
feat(workspace): add action for closing inactive editors on all panes ( #2771 )
...
using zed more and more to develop zed itself I'm finding some small qol
features missing, this is one of them
I'm very used to open two or three splits, and sometimes I want to close
everything except for the active editor, but that wasn't supported, as
the `pane::CloseInactiveItems` action only closes inactive items on the
active pane
so I've implemented it really quick, although I'm not sure it's the
right way to do this
note: I really don't like the default keybinding I've set it to, I have
this action bound to `cmd-shift-w` on all editors, but in zed is taken,
so I chose something that's free but without thinking too much about it
Release Notes:
- Added action for closing inactive editors from all panes
2023-07-27 18:11:11 -07:00
Mikayla Maki
ec042e0c14
Rework close_inactive_items to await all tasks
...
Update action name to be more accurate
2023-07-27 17:58:48 -07:00
KCaverly
ccb967c295
remove default keymap for semantic search modal
2023-07-26 16:59:19 -04:00
Joseph T. Lyons
e7724c8621
Add open file in project finder via space ( #2785 )
...
@mikayla-maki for 👀
[This PR added in the ability to rename a file via
`enter`](https://github.com/zed-industries/zed/pull/2784 ). Previously,
`enter` was used to both open a file and confirm a rename, so this PR
changes the opening of a file to use `space`, which is what VS Code
uses. It also makes a bit more sense because now `enter` is just used to
start a rename and confirm the rename, vs being used for 2 different
actions.
N/A on the release notes, as I adjusted the release note in the
previously-tagged PR.
Release Notes:
- N/A
2023-07-24 16:35:01 -04:00
Mikayla Maki
ebb923a1c1
Add MacOS standard key binding for file renames
2023-07-24 10:20:10 -07:00
Kirill Bulatov
aae5cf61e1
Add search in directory action in the project panel
2023-07-21 22:47:57 +03:00
Conrad Irwin
e6a9730bfa
Fix shift-enter in search ( #2772 )
...
Fixes shift-enter to go to previous result.
Release Notes:
- To type a newline in search use `ctrl-enter` (or `ctrl-shift-enter`
for a newline below).
2023-07-21 09:23:04 -06:00
Conrad Irwin
06405e4e19
Fix shift-enter in search
...
If you want to type a newline in an auto_height editor, ctrl and
ctrl-shift are your friends.
2023-07-21 09:10:12 -06:00
Alex Viscreanu
9a31609357
feat(workspace): add action for closing inactive editors on all panes
2023-07-21 13:16:00 +02:00
Joseph T. Lyons
cd9caa8011
Add key binding to close all docks
2023-07-21 02:44:44 -04:00
Conrad Irwin
7a098c5c48
Default keybindings for activating pane by direction
...
Breaking change: previously cmd-k cmd-{left,right} moved to the
{previous,next} pane; now they will move in the specified direction.
2023-07-19 18:33:08 -06:00
Alex Viscreanu and Mikayla Maki
ef7952c045
feat(workspace): allow alternative actions to open files and symbols in split
...
Co-authored-by: Mikayla Maki <mikayla@zed.dev >
2023-07-14 21:49:15 +02:00
Kirill Bulatov
f7ac191988
Use a better name
2023-07-14 14:47:12 +03:00
Kirill Bulatov
335069750d
Use VSCode-like shortcuts by default
2023-07-14 14:47:12 +03:00
Kirill Bulatov
a050e82102
Allow selecting all search matches in buffer
2023-07-14 14:47:12 +03:00
Max Brunsfeld and Kyle
0f09fec510
Use cmd-ctrl-t for semantic search key binding
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-07-11 14:29:06 -07:00
KCaverly and maxbrunsfeld
d67d7c8c72
added initial keymap for toggle semantic search
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-11 17:13:58 -04:00
Piotr Osiewicz
37eb264926
branches: Add a modal branch list.
...
Extract branch list into a separate vcs_menu crate akin to recent_projects.
Add current bind for a modal branch to branch popover's tooltip.
Z-2555
2023-07-10 17:18:12 +02:00
Nathan Sobo and Antonio Scandurra
02102c90f4
Bind cmd-? to assistant::toggle_focus
...
Bypass system help menu shortcut at the app delegate level to achieve this.
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-06-28 11:43:24 +02:00
Nathan Sobo and Antonio Scandurra
88a9908309
Clean up tooltips, create conversation on cmd-n
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-06-28 10:27:29 +02:00
Antonio Scandurra
9f14f04f18
Re-enable buffer search in assistant
2023-06-23 09:57:31 +02:00
Antonio Scandurra
6883910a1f
Merge remote-tracking branch 'origin/main' into save-conversations
2023-06-23 09:09:42 +02:00
Nathan Sobo and Conrad Irwin
4bea8aa424
Don't use test-only method; add ctrl-j binding
...
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com >
2023-06-21 11:53:11 -06:00
Antonio Scandurra
12da134a1d
Finish renaming AssistantEditor to ConversationEditor
2023-06-21 09:00:26 +02:00