MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / killToLineStart

Function killToLineStart

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

Source from the content-addressed store, hash-verified

185 }
186
187 function killToLineStart(): Cursor {
188 const { cursor: newCursor, killed } = cursor.deleteToLineStart()
189 pushToKillRing(killed, 'prepend')
190 return newCursor
191 }
192
193 function killWordBefore(): Cursor {
194 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