Conrad Irwin
|
f327118e06
|
vim: Allow search with operators & visual mode (#10226)
Fixes: #4346
Release Notes:
- vim: Add search motions (`/,?,n,N,*,#`) in visual modes and as targets
for operators like `d`,`c`,`y`
([#4346](https://github.com/zed-industries/zed/issues/4346)).
|
2024-04-08 15:20:14 -06:00 |
|
 Thorsten BallandConrad
|
87be105af7
|
When searching in visual mode switch to normal mode
This matches Neovim behaviour by setting the mode to `Normal` when using
search while in visual mode.
Co-authored-by: Conrad <conrad@zed.dev>
|
2024-01-20 16:33:07 +01:00 |
|
Conrad Irwin
|
0479ebc26d
|
Don't toggle WHOLE_WORD in vim search
Fixes */# in visual mode, and avoids setting up irritating state.
|
2024-01-19 10:58:55 -07:00 |
|
Mikayla
|
57400e9687
|
Fix typos detected by crate-ci/typos
|
2024-01-17 14:31:21 -08:00 |
|
 Max BrunsfeldandMikayla
|
252694390a
|
Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder
Co-authored-by: Mikayla <mikayla@zed.dev>
|
2024-01-03 10:42:49 -08:00 |
|
Conrad Irwin
|
32f8733313
|
Code review changes
|
2023-09-20 21:29:45 -06:00 |
|
Conrad Irwin
|
a59da3634b
|
Fix backward search from command
|
2023-09-20 20:44:42 -06:00 |
|
Conrad Irwin
|
a25fcfdfa7
|
Iron out some edge-cases
|
2023-09-20 20:44:42 -06:00 |
|
Conrad Irwin
|
2d9db0fed1
|
Flesh out v1.0 of vim :
|
2023-09-20 20:44:41 -06:00 |
|
Kirill Bulatov
|
890a587254
|
Use standalone inlay background highlights
|
2023-09-14 22:08:12 +03:00 |
|
Conrad Irwin
|
7daed1b2c3
|
Fix 0 used in a count
|
2023-09-12 09:56:23 -06:00 |
|
Conrad Irwin
|
cee549e1ef
|
vim: Fix count handling to allow pre/post counts
Fixes 2yy, d3d, etc.
For zed-industries/community#970
For zed-industries/community#1496
|
2023-09-11 14:35:47 -06:00 |
|
Conrad Irwin
|
d1aa82bb48
|
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
|
3514816ece
|
Store some vim state per-editor
This fixes a bug where opening and closing command would reset your
selection incorrectly.
|
2023-08-17 14:09:47 -06:00 |
|
Piotr Osiewicz
|
343e9d080e
|
Finish migration to modes for buffer search
|
2023-08-08 15:57:07 +02:00 |
|
Piotr Osiewicz
|
c53554ead3
|
Remove SearchOptions::REGEX.
A bit WIP as it awaits migration of buffer search to modes
|
2023-08-08 14:42:11 +02:00 |
|
Max Brunsfeld
|
a127b0d3e6
|
Fix warnings surfaced in Rust 1.71
|
2023-08-02 09:19:23 -07:00 |
|
Kirill Bulatov
|
646dabe113
|
Add buffer search history
|
2023-08-01 01:31:28 +03:00 |
|
Conrad Irwin
|
807279208d
|
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 |
|
Conrad Irwin
|
7337910034
|
Fix enter in search
|
2023-07-20 20:48:36 -06:00 |
|
Conrad Irwin
|
c9bf407431
|
Avoid optional on select_match
|
2023-07-17 12:49:59 -06:00 |
|
Conrad Irwin
|
b4b0f622de
|
Rebuild vim search experience on refactored code
|
2023-07-07 15:57:54 -06:00 |
|
 Conrad IrwinandAntonio
|
232d14a3ae
|
Make search less magic
Co-Authored-By: Antonio <antonio@zed.dev>
|
2023-07-07 15:57:54 -06:00 |
|
Conrad Irwin
|
dea728a7e5
|
Better waiting in tests
|
2023-07-07 15:57:54 -06:00 |
|
Conrad Irwin
|
6cf13c62d1
|
vim: ? to search backwards, and /<enter> to repeat search
|
2023-07-07 15:57:52 -06:00 |
|
Conrad Irwin
|
dbec2ed1f1
|
vim: add */#/g*/g# for jumping to next word
As in vim, this toggles the normal search experience.
|
2023-07-07 15:57:35 -06:00 |
|