Skip to content

fix(terminal): prevent mappings from triggering during paste (#24)#27

Merged
rishi-opensource merged 1 commit intomainfrom
fix/clipboard-paste-issue-24
Apr 11, 2026
Merged

fix(terminal): prevent mappings from triggering during paste (#24)#27
rishi-opensource merged 1 commit intomainfrom
fix/clipboard-paste-issue-24

Conversation

@rishi-opensource
Copy link
Copy Markdown
Owner

This PR fixes issue #24 where pasting text into the Claude terminal would trigger Vim mappings (like window navigation).

Changes:

  • Added a dedicated mapping-free paste function using term_sendkeys().
  • Added support for bracketed paste mode (<Esc>[200~) to reliably handle pastes from terminal emulators.
  • Added a new <C-v> mapping in terminal mode for system clipboard paste.
  • Updated documentation and configuration defaults.

@rishi-opensource rishi-opensource merged commit 0883b9f into main Apr 11, 2026
2 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 11, 2026
## [1.4.1](v1.4.0...v1.4.1) (2026-04-11)

### Bug Fixes

* **terminal:** prevent mappings from triggering during paste ([#24](#24)) ([#27](#27)) ([0883b9f](0883b9f))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.4.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant