MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / isLinewiseMotion

Function isLinewiseMotion

restored-src/src/vim/motions.ts:80–82  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

78 * Note: gj/gk are characterwise exclusive per `:help gj`, not linewise.
79 */
80export function isLinewiseMotion(key: string): boolean {
81 return 'jkG'.includes(key) || key === 'gg'
82}

Callers 1

getOperatorRangeFunction · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected