MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isVimModeEnabled

Function isVimModeEnabled

src/components/PromptInput/utils.ts:12–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 * @returns boolean indicating if vim mode is active
11 */
12export function isVimModeEnabled(): boolean {
13 const config = getGlobalConfig()
14 return config.editorMode === 'vim'
15}
16
17export function getNewlineInstructions(): string {
18 // Apple Terminal on macOS uses native modifier key detection for Shift+Enter

Callers 4

PromptInputFunction · 0.85
CancelRequestHandlerFunction · 0.85

Calls 1

getGlobalConfigFunction · 0.85

Tested by

no test coverage detected