Declined
5
Commands from command palette should be captured when recording vim macro
Source: zed-industries/zed#20364 · opened by @IlyushaZ
Check for existing issues
• Completed
Describe the bug / provide steps to reproduce it
In vim mode, when recording a macro, commands run via command palette are not included in it.
Steps to reproduce:
1) Open file/buffer
2) Type some some phrase in camelCase (e.g. FooBarFooBar)
3) Start recording macro using q<register> (e.g. qa)
4) Start typing :s/\([A-Z]\)/_\1 to add _ before each capitalized letter
5) Press q again to stop recording
6) Add another line with camelCase phrase (e.g. anotherCamelCasePhrase)
7) Try to run macro using @<register> (e.g. @a)
Expected result:
anotherCamelCasePhrase -> another_Camel_Case_Phrase
Actual result:
line is not changed
Environment
Zed: v0.159.10
OS: macOS 14.4.1
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
_No response_
If applicable, attach your Zed.log file to this issue.
_No response_
• Completed
Describe the bug / provide steps to reproduce it
In vim mode, when recording a macro, commands run via command palette are not included in it.
Steps to reproduce:
1) Open file/buffer
2) Type some some phrase in camelCase (e.g. FooBarFooBar)
3) Start recording macro using q<register> (e.g. qa)
4) Start typing :s/\([A-Z]\)/_\1 to add _ before each capitalized letter
5) Press q again to stop recording
6) Add another line with camelCase phrase (e.g. anotherCamelCasePhrase)
7) Try to run macro using @<register> (e.g. @a)
Expected result:
anotherCamelCasePhrase -> another_Camel_Case_Phrase
Actual result:
line is not changed
Environment
Zed: v0.159.10
OS: macOS 14.4.1
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
_No response_
If applicable, attach your Zed.log file to this issue.
_No response_
No pledges yet. Be the first to back this.
Comments
Similar requests
vim: Support ctrl-r in command palette, search, etc.
0 votes · 0 comments
Command palette/projects/text buffer extension API
37 votes · 0 comments
command palette entries should be sorted by recency not usage
20 votes · 0 comments
Add LSP code actions to Command Palette
20 votes · 0 comments
Agent: Support timeout for terminal tool calls
4 votes · 0 comments
No comments yet.