claude-code
claude-code copied to clipboard
Cursor Movement Fails on Wrapped Lines in Vim Mode
Bug Description
We expect A to go to the end of the line even if it has wrapped to the next line in vim mode.
To reproduce, simply enter vim mode, type a prompt long enough to wrap to a new line, exit to NORMAL MODE, and then press A while on the first line. Note that the cursor jumps to the end of the current viewport line, but not to the end of the current logical line as expected (and how it works in real vim and in bash (readline?) vim support).
Environment Info
- Platform: macos
- Terminal: tmux
- Version: 1.0.17
- Feedback ID: cbe0924b-35a1-46f7-9fee-693acfae9f82
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at YZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:654:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11794\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n at cJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10940)\n at aP (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10021)\n at a6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:14133)","timestamp":"2025-06-09T16:46:02.370Z"},{"error":"Error: No logs found at /Users/cmerck/Library/Caches/claude-cli-nodejs/-Users-cmerck-src-olibra-bond-core/messages\n at eT4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:583:3738)\n at rQ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:583:3487)\n at SAA.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2339:2076)\n at async SAA.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:517:4184)\n at async xE5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2342:5983)\n at async yE5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2338:19257)","timestamp":"2025-06-09T16:46:02.778Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:481:14)\n at Socket.emit (node:events:507:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-06-09T16:46:03.022Z"},{"error":"Error: String not found in file. Failed to apply edit.\n at wO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1610:546)\n at Po1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1610:104)\n at Object.renderToolUseRejectedMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1620:3392)\n at XN2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1920:2841)\n at XE (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:19798)\n at JT (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:42555)\n at WT (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:38104)\n at e$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:38032)\n at _E (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:37886)\n at fW (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:34976)","timestamp":"2025-06-09T16:46:04.508Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1573:1326)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async iZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19166)\n at async WK1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:17752)\n at async cZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16794)\n at async uZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16423)\n at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:15452)\n at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16278)\n at async dZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2328:2123)","timestamp":"2025-06-09T16:48:24.861Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1573:1326)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async iZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19166)\n at async WK1 (file:///opt/ho
Note: Error logs were truncated.