MCPcopy Create free account
hub / github.com/anus-dev/ANUS / useVimMode

Function useVimMode

packages/cli/src/ui/contexts/VimModeContext.tsx:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72};
73
74export const useVimMode = () => {
75 const context = useContext(VimModeContext);
76 if (context === undefined) {
77 throw new Error('useVimMode must be used within a VimModeProvider');
78 }
79 return context;
80};

Callers 3

AppFunction · 0.85
SettingsDialogFunction · 0.85
useVimFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected