Skip to content

Commit e99f326

Browse files
ggfevansclaude
andcommitted
feat: add hotkey commands for copy path actions
- Add "Copy Path: Copy vault path for current file" and "Copy Path: Copy full path for current file" commands - Implement getTargetFileForCommand() with priority logic (editor > explorer > vault root) - Commands respect existing settings (trailing slash for folders, etc.) - Enhanced notices with source indicators for vault root fallback - Use defensive programming for file explorer API access - Bump version to 0.3.0 with updated description This allows users to assign hotkeys for quick path copying without using context menus. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 878d644 commit e99f326

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"Bash(npm run format:*)",
99
"Bash(git add:*)",
1010
"WebFetch(domain:github.com)",
11-
"Bash(git commit:*)"
11+
"Bash(git commit:*)",
12+
"Bash(git tag:*)",
13+
"Bash(git push:*)"
1214
],
1315
"deny": []
1416
}

0 commit comments

Comments
 (0)