mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-06-26 05:34:38 +08:00
`,F` in normal mode mapped `gg=G\`\`` — reindent the entire file with no confirmation. A muscle-typo of `,F` instead of `,f` (LSP format) rewrites the whole buffer, and `=` does not always produce sensible indentation for languages where Vim's internal indent expression is poor. Gate the normal-mode binding behind `g:chopsticks_enable_reindent_file` (default off). The visual-mode binding (`vnoremap <leader>F =`) is bounded by the user's selection and stays as default. README's all-keybindings table now marks `,F re-indent (v)` to reflect the visual-only default. Closes #68 |
||
|---|---|---|
| .. | ||
| test.sh | ||