ZIm/docs/src
Osvaldo a09e5d255b
vim: Create anyquotes, anybrackets, miniquotes, and minibrackets text objects (#26748)
## Why?
Some users expressed a preference for the AnyQuotes and AnyBrackets text
objects to align more closely with traditional Vim behavior, rather than
the mini.ai plugin's approach. To address this, I’ve introduced two new
text objects: MiniQuotes and MiniBrackets. These retain the mini.ai
plugin behavior, while the updated AnyQuotes and AnyBrackets now follow
the logic described in [this bug
report](https://github.com/zed-industries/zed/issues/25563) and [this
bug report](https://github.com/zed-industries/zed/issues/25562).

## Behavior Overview:
### AnyQuotes and AnyBrackets:
These now prioritize the innermost range first (e.g., the closest quotes
or brackets). If none are found, they fall back to searching the current
line. This aligns with the behavior requested in the issue.

### MiniQuotes and MiniBrackets:
These maintain the mini.ai plugin behavior, prioritizing the current
line before expanding the search outward.

### Usage Examples:
AnyQuotes: Works like ```ci', ci", ci` , ca', ca", ca` , etc.```

AnyBrackets: Works like ```ci(, ci[, ci{, ci<, ca(, ca[, ca{, ca<,
etc.```

Please give these changes a try and let me know your thoughts!

### Release Notes:

- vim: Add AnyQuotes, AnyBrackets, MiniQuotes and MiniBrackets text
objects

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
2025-04-29 22:09:27 +00:00
..
assistant docs: Add more examples of existing MCP extensions (#29090) 2025-04-19 12:09:57 -03:00
development docs: Fix linux crash logs location (#29444) 2025-04-28 15:33:19 +00:00
extensions docs: Fix rendering of keybind in languages.md (#27217) 2025-03-20 20:25:54 +00:00
languages docs: TOML LSP (Taplo) requires a manual restart to apply changes (#29504) 2025-04-27 11:53:55 -04:00
accounts.md docs: Add documentation about signing in to Zed (#29054) 2025-04-18 17:09:23 +00:00
additional-learning-materials.md update docs content (#11374) 2024-05-03 16:24:04 -06:00
channels.md Docs Party 2024 (#15876) 2024-08-09 13:37:54 -04:00
collaboration.md Clarify guests vs collaborators in project sharing docs (#22945) 2025-01-10 15:42:52 +00:00
completions.md docs: Add improvements to the Completions page (#27612) 2025-03-27 14:18:29 -03:00
configuring-languages.md docs: Update "checkOnSave" to "check" (#29212) 2025-04-22 16:27:47 +00:00
configuring-zed.md editor: Add setting for snippet sorting behavior for code completion (#29429) 2025-04-25 22:35:12 +05:30
development.md Use the development credentials provider in development by default (#25273) 2025-02-20 19:07:16 +00:00
environment.md docs: Fix typo in environment documentation (#19164) 2024-10-13 16:47:09 -04:00
extensions.md docs: Add docs for icon theme extensions (#24155) 2025-02-04 00:23:33 +00:00
fonts.md Fix casing of "macOS" (#17040) 2024-08-28 19:10:49 -04:00
getting-started.md docs: Improve the Getting Started page (#22545) 2025-01-01 17:19:10 +00:00
git.md docs: Fix broken links (#29042) 2025-04-18 09:38:40 -04:00
globs.md Glob documentation (#18789) 2024-10-15 17:21:04 -04:00
icon-themes.md icon_theme_selector: Add footer and related docs (#25042) 2025-02-20 00:02:24 +00:00
key-bindings.md docs: Use inline code for action (#28907) 2025-04-17 02:02:15 +05:30
languages.md docs: Add Yara language extension (#28693) 2025-04-14 12:40:13 -04:00
linux.md docs: Add troubleshooting guide for Linux audio issues (#28803) 2025-04-15 18:45:25 +00:00
model-improvement.md Debugger implementation (#13433) 2025-03-18 12:55:25 -04:00
multibuffers.md Fix a typo in the multi buffers documentation (#18535) 2024-09-30 15:28:46 +03:00
outline-panel.md docs: Add tweaks to the outline panel page (#18697) 2024-10-03 12:27:42 -03:00
remote-development.md docs: Fix mistake in Initializing the remote server section (#28641) 2025-04-22 13:15:59 -04:00
repl.md docs: Add tweaks to the REPL page (#18000) 2024-09-18 07:34:39 -03:00
snippets.md docs: Add better snippets documentation (#26853) 2025-03-19 18:05:05 +01:00
SUMMARY.md docs: Add documentation about signing in to Zed (#29054) 2025-04-18 17:09:23 +00:00
system-requirements.md Use proper codenames for macOS versions (#28766) 2025-04-15 14:18:40 +00:00
tasks.md docs: Fix name for zed: open project tasks command (#28578) 2025-04-11 09:31:58 -06:00
telemetry.md Stop sending data to Clickhouse (#21763) 2024-12-10 08:47:29 -07:00
themes.md docs: Example theme_overrides for docstrings as italic (#19694) 2024-10-24 14:37:57 -04:00
vim.md vim: Create anyquotes, anybrackets, miniquotes, and minibrackets text objects (#26748) 2025-04-29 22:09:27 +00:00
windows.md docs: Fix #windows Discord channel name (#27659) 2025-03-28 08:41:07 -04:00
workspace-persistence.md feedback: Update issue template URL (#28790) 2025-04-15 21:36:30 -04:00