# a.vim **Repository Path**: vim_runtime_plugins/a.vim ## Basic Information - **Project Name**: a.vim - **Description**: 快速替换文件(.c --> .h 等)。一些快速命令可以在源文件和头文件之间快速切换。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-20 - **Last Updated**: 2025-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This is a mirror of http://www.vim.org/scripts/script.php?script_id=31 A few of quick commands to swtich between source files and header files quickly. :A switches to the header file corresponding to the current file being edited (or vise versa) :AS splits and switches :AV vertical splits and switches :AT new tab and switches :AN cycles through matches :IH switches to file under cursor :IHS splits and switches :IHV vertical splits and switches :IHT new tab and switches :IHN cycles through matches ih switches to file under cursor is switches to the alternate file of file under cursor (e.g. on switches to foo.cpp) ihn cycles through matches E.g. if you are editing foo.c and need to edit foo.h simply execute :A and you will be editting foo.h, to switch back to foo.c execute :A again. Can be configured to support a variety of languages. Builtin support for C, C++ and ADA95