Rom Grk
f67abd2943
vim: smartcase find option ( #9033 )
...
Release Notes:
- Added option `use_smartcase_find` to the vim-mode
2024-03-07 19:44:20 -07:00
Rom Grk
d247086b21
vim: subword motions ( #8725 )
...
Add subword motions to vim, inspired by
[nvim-spider](https://github.com/chrisgrieser/nvim-spider ),
[CamelCaseMotion](https://github.com/bkad/CamelCaseMotion ).
Release Notes:
- Added subword motions to vim
2024-03-07 19:36:12 -07:00
Rom Grk
2d83580df4
linux: enable test TextSystem ( #9037 )
...
Make text tests work on linux.
2024-03-07 15:51:52 -08:00
Rom Grk
9068911eb4
wayland: don't dispatch modifier key events ( #9027 )
...
Modifier keys are dispatched as events on wayland, unlike macos. This
prevents pending bindings from matching, because something like e.g. `g
shift-e` is received by the key matcher as `g shift shift-e`.
2024-03-07 12:42:48 -08:00
Rom Grk
996f1036fc
linux: clipboard ( #8822 )
...
Linux clipboard implementation with `copypasta`.
Release Notes:
- Added linux clipboard support
2024-03-04 08:00:24 -08:00
Rom Grk
c91969d828
linux/wayland: prevent possible panic ( #8824 )
...
Prevent a panic from arising from this case:
https://github.com/zed-industries/zed/pull/8632#discussion_r1510015928
It's not really safe to dispatch any action before dropping the state
borrow, because it may need to be modified.
2024-03-04 05:57:47 -08:00
Rom Grk
7f954cbbb8
linux: improve key translation ( #8560 )
...
This PR brings linux XKB key translation more in line with the macOS
logic, which fixes quite a few key bindings.
2024-02-28 15:13:02 -08:00
Rom Grk
9a7a267203
vim: f and t multiline option ( #8448 )
...
I'm not sure how compliant you're aiming to be with vim, but the `f`
behavior is more useful when it can search on multiple lines instead of
a single one, so I'd like to propose this change.
This change is quite frequent in vim/neovim as a plugin (e.g.
[clever-f](https://github.com/VSCodeVim/Vim ),
[improved-ft](https://github.com/backdround/improved-ft.nvim ), etc), and
in other vim emulations (e.g.
[vscode-vim](https://github.com/VSCodeVim/Vim )).
2024-02-27 19:34:19 -07:00
Rom Grk
008d99d206
Wayland: implement key repeat ( #8038 )
...
Wayland requires the client to implement key repetition. This PR
implements the functionality as it's supposed to, but I don't see the
`repeat_info` event come in so the feature uses the default values (but
my system is configured for a much smaller `delay` and a much faster
`rate`). But this is good enough for now.
https://wayland-book.com/seat/keyboard.html#key-repeat
[Kooha-2024-02-20-20-42-12.webm](https://github.com/zed-industries/zed/assets/1423607/fb9fc327-efb7-43d1-9b53-1f8a3d9ba608 )
2024-02-23 12:48:27 -05:00
Rom Grk
50dd38bd02
Linux: adjust docs for building ( #8246 )
...
Improve docs & remove `vulkan-validation-layers` from the dependencies.
2024-02-22 22:56:18 -08:00
Rom Grk
bd94a0e921
Wayland: implement focus events ( #8170 )
...
Implements keyboard focus in/out events.
This also enables vim mode to work on wayland, which is only activated
when an editor gains focus.
2024-02-22 09:51:09 -08:00
Rom Grk
946f4a312a
Wayland: avoid replacing text with empty string ( #8103 )
...
Fix an issue where the `ime_key` is sometimes an empty string, and
pressing a keystroke replaces the selected text.
E.g. select some text, press `Escape`: selected text is deleted.
2024-02-22 09:48:15 -08:00
Rom Grk and Mikayla Maki
bea36918f4
Linux: file dialogs ( #7852 )
...
This PR implements linux file dialogs and open/reveal actions.
| Open folder | Reveal path |
| --- | --- |
| 
| 
|
---------
Co-authored-by: Mikayla Maki <mikayla@zed.dev >
2024-02-16 10:34:54 -08:00