Repository navigation
filecraft v0.1.0
filecraft.nvim turns file creation into a semantic, one-keypress operation: prompt once, then create the file, write the export, insert the import at cursor, jump to the new file, and refresh LSP.
Highlights
<leader>ifworkflow: path → export type → export name- Root resolution: nearest
.gitparent, fallback tocwd - JS/TS only (
.js,.ts), blocking and synchronous by design - Locked templates:
export default function Name()/export function Name() - Import insertion at cursor (insert line above cursor), relative path without extension
- Minimal atomicity: on failure, remove inserted import and delete created file
- Brute-force LSP sync via
:LspRestart(guarded)