Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
80
export
function
isLinewiseMotion(key: string): boolean {
81
return
'jkG'
.includes(key) || key ===
'gg'
82
}
Callers
1
getOperatorRange
Function · 0.85
Calls
1
includes
Method · 0.80
Tested by
no test coverage detected