mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-22 01:02:16 +00:00
feat(tui): improve editor Ctrl/Alt word and line deletion shortcuts
- Add Ctrl+W for word deletion (stops at whitespace/punctuation) - Add Ctrl+U for delete to start of line (merges with previous line at col 0) - Change Ctrl+K from delete entire line to delete to end of line (merges with next line at EOL) - Add Option+Backspace support in Ghostty (maps to Ctrl+W via ESC+DEL sequence) - Cmd+Backspace in Ghostty works as Ctrl+U (terminal sends same control code) - Update README and CHANGELOG with new keyboard shortcuts Fixes #2, Fixes #3
This commit is contained in:
parent
508d1bb2d6
commit
a686f61c1d
6 changed files with 215 additions and 36 deletions
|
|
@ -10,4 +10,5 @@
|
|||
- If you are working with an external API, check node_modules for the type definitions as needed instead of assuming things.
|
||||
- Always run `npm run check` in the project's root directory after making code changes.
|
||||
- You must NEVER run `npm run dev` yourself. Doing is means you failed the user hard.
|
||||
- Do NOT commit unless asked to by the user
|
||||
- Do NOT commit unless asked to by the user
|
||||
- Keep you answers short and concise and to the point.
|
||||
Loading…
Add table
Add a link
Reference in a new issue