Commit Graph
101 Commits
Author SHA1 Message Date
Mikayla Maki 1cbe0990e4 Merge pull request #2207 from zed-industries/project-panel-actions
Fix project panel actions
2023-02-23 14:31:29 -08:00
Mikayla Maki 70f0950c9a Fix broken dock command 2023-02-23 14:15:29 -08:00
Mikayla Maki 730ea83ee0 Convert keymap context to use generics and Cow<'static> so we don't have to add .to_string() and .into() for each usage 2023-02-23 14:10:55 -08:00
Kay Simmons 62e09b83a2 Merge pull request #2211 from zed-industries/hover-binding
add hover binding from vscode
2023-02-23 14:05:28 -08:00
Kay Simmons cbe703a44b add hover binding from vscode 2023-02-23 13:50:43 -08:00
Mikayla Maki 4a94bb187d Added editor-in-project-panel overrides to the default keymap 2023-02-23 09:36:30 -08:00
Max BrunsfeldandJoseph Lyons f95c7a1a06 Fix ToggleContactsMenu action name in keymap
Co-authored-by: Joseph Lyons <joseph@zed.dev>
2023-02-22 14:17:59 -08:00
Kay Simmons 4788743abb Iterate over keymap then dispatch path when matching keybindings to make precedence more intuitive
Rename action which adds the active tab to the dock to be more intuitive
Add action which moves the active tab out of the dock and bind it to the same keybinding
2023-02-18 13:10:01 -08:00
Joseph T. Lyons 6ba03034af Merge pull request #2171 from zed-industries/add-option-to-advance-cursor-downward-when-toggling-comment
Add option to advance cursor downward when toggling comment
2023-02-16 15:03:38 -05:00
Max Brunsfeld 453653a937 Put back shift-escape binding for FocusDock action 2023-02-15 13:57:07 -08:00
Joseph LyonsandJulia 02e4494fea Add option to advance cursor downward when toggling comment
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-02-15 14:00:49 -05:00
Antonio Scandurra 7377fd86d9 Use alt-z to toggle soft wrap in active editor
When there isn't a default soft-wrapping for the active editor, we
will soft wrap at the editor width. This is consistent with Visual
Studio Code.
2023-02-14 15:16:06 +01:00
Joseph Lyons d27505337b Remove toggle right sidebar command 2023-02-11 21:53:10 -05:00
Mikayla Maki e38c8c7d4f Renamed open recent action to match menu 2023-01-27 15:38:48 -08:00
Max Brunsfeld 3bb49785f8 Move focus back from buffer search using tab, not cmd-f 2023-01-16 16:01:15 -08:00
Joseph Lyons 1a53d673c9 Add close clean items command 2022-12-29 13:28:52 -05:00
Joseph Lyons adc5d4f2c8 Add close all items command 2022-12-29 01:43:49 -05:00
Joseph Lyons 57f9743afd Add home and end key support 2022-12-26 00:24:26 -05:00
Kay Simmons 399c32157d Add keybinding 2022-12-14 16:14:16 -08:00
Mikayla Maki 5f4857284f Added alt-left: move word left and alt-right: move word right in the terminal for for antonio 2022-11-16 09:59:23 -08:00
Mikayla Maki d4d763bde6 Added more autoscroll behaviors 2022-11-08 11:35:12 -08:00
JuliaandKay Simmons 412c77460e Add action to go to next/previous git diff in editor
Co-Authored-By: Kay Simmons <kay@zed.dev>
2022-10-28 15:08:13 -04:00
JuliaandKay Simmons 8413fdf14f Add action to move active item into the dock
Co-Authored-By: Kay Simmons <kay@zed.dev>
2022-10-24 23:30:35 -07:00
Mikayla Maki 7ae0ac843a Finished implementing vscode, emacs, and mac style pageup/down. Added keybindings ctrl-v, alt-v for emacs up/down and shift-pageup, shift-pagedown for vscode style. Also improved incorporated pageup/down into context menus 2022-10-14 13:52:30 -07:00
Max Brunsfeld 3c75538be9 Allow toggling collaboration menu from the keyboard 2022-10-12 14:14:03 -07:00
Antonio Scandurra f3b459ede5 Move contacts panel features into collab_ui 2022-10-06 14:00:14 +02:00
Mikayla Maki 77ffcad7d1 Merge pull request #1659 from zed-industries/terminal-selections
Terminal Touch ups
2022-09-26 20:58:36 -07:00
Mikayla Maki 29576fd57e Added a SendKeystroke action and rewrote terminal actions to remove duplication 2022-09-26 20:39:40 -07:00
Julia 018a737961 Add editor action to manually invoke buffer format 2022-09-22 18:21:05 -04:00
K Simmons 0cc77e87ff Fix dock keybindings 2022-09-16 16:41:57 -07:00
K Simmons 2a0828de6f Minor improvements to dock visuals, rework dock keybindings, and fix panic on split when dock is active 2022-09-16 12:55:36 -07:00
K SimmonsandMikayla Maki 996c32f045 Fix incorrect rendering of toolbar in right anchored dock
Make dock keybinding activate the dock if it wasn't hidden, and hide it if it was already active
Make clicking the expanded dock wash, hide the dock
Fix some issues with programmatically activating other panes, not hiding the dock
Tweak dock anchor menu text
Swap dock hide button for thin variant
Fix dock sidebar interactions
Add clicked state to search button and fix presenter issue sending clicked events when mouse not overlapping MouseRegion

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-13 15:17:27 -07:00
K Simmons cf46cd4b62 Swapped keyboard binding and did some minor tweaks to style and focus 2022-09-11 15:31:44 -07:00
Mikayla Maki 1f4cc69927 restore modal terminal 2022-08-31 13:06:15 -07:00
Mikayla Maki 926269e26f Added experimental keymaps support 2022-08-22 14:49:01 -07:00
Mikayla Maki 2b630ec771 Revert "Basic feature flag implementation" 2022-08-22 13:54:18 -07:00
Mikayla Maki 9b8ed19ede Basic feature flag implementation 2022-08-22 13:11:23 -07:00
Mikayla Maki ea521e7936 Added show character palette. Need to position correctly. 2022-08-16 23:10:05 -07:00
Antonio Scandurra 052ddcd4e0 Rename {project_panel,contacts_panel}::Toggle to ToggleFocus 2022-08-15 14:53:42 +02:00
Antonio Scandurra 1158264f24 Add zed::ToggleFullScreen bound to ctrl-cmd-f 2022-08-15 11:53:37 +02:00
Mikayla Maki eb4be2e11d Removed icons 2022-08-04 08:42:42 -07:00
Mikayla Maki 4e4d390783 New button 2022-08-03 15:59:25 -07:00
Julia d4d327a597 Merge pull request #1460 from zed-industries/insert-newline-below
Add `newline_below` action
2022-08-03 14:56:01 -04:00
Mikayla Maki 00410dbaa3 Merge pull request #1461 from zed-industries/touch-ups
Touch ups
2022-08-03 10:20:04 -07:00
ForLoveOfCats 0098a573c9 Add newline_below action 2022-08-03 11:34:40 -04:00
Antonio Scandurra 0d5f9f7378 Implement default macOS menu items
- `Zed -> Hide`, bound to `cmd-h`
- `Zed -> Hide Others`, bound to `alt-cmd-h`
- `Zed -> Show All`
- `Window -> Minimize`, bound to `cmd-m`
- `Window -> Zoom`
2022-08-03 15:13:30 +02:00
Mikayla Maki f76e70d89a Added key binding 2022-08-02 16:37:14 -07:00
ForLoveOfCats ef6efc9590 Add "go to type definition" action 2022-07-29 11:41:08 -04:00
Antonio Scandurra 47fce17ff8 Merge branch 'main' into ime-support-2 2022-07-25 10:47:49 +02:00
Antonio Scandurra bffe391a34 Discard shift when it causes keyboard to output a different character 2022-07-22 08:15:44 +02:00