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

Function killToLineStart

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

Source from the content-addressed store, hash-verified

184 }
185
186 function killToLineStart(): Cursor {
187 const { cursor: newCursor, killed } = cursor.deleteToLineStart()
188 pushToKillRing(killed, 'prepend')
189 return newCursor
190 }
191
192 function killWordBefore(): Cursor {
193 const { cursor: newCursor, killed } = cursor.deleteWordBefore()

Callers

nothing calls this directly

Calls 2

pushToKillRingFunction · 0.85
deleteToLineStartMethod · 0.80

Tested by

no test coverage detected