MCPcopy
hub / github.com/codeaashu/claude-code / killWordBefore

Function killWordBefore

src/hooks/useTextInput.ts:192–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 }
191
192 function killWordBefore(): Cursor {
193 const { cursor: newCursor, killed } = cursor.deleteWordBefore()
194 pushToKillRing(killed, 'prepend')
195 return newCursor
196 }
197
198 function yank(): Cursor {
199 const text = getLastKill()

Callers

nothing calls this directly

Calls 2

pushToKillRingFunction · 0.85
deleteWordBeforeMethod · 0.80

Tested by

no test coverage detected