Linux Kernel Development VIM Environment Configuration V1.1
This document outlines the basic configuration for a VIM development environment tailored for Linux kernel development. Key components include:
**VIM Plugins**
- `winmanager.vim`: Provides sidebar functionality (F9 to open); modified version displays on the right.
- `taglist.vim`: Displays function and variable lists integrated into the sidebar.
- `winfileexplorer.vim`: Modified version that does not show hidden directories and only displays .c and .h files in the sidebar.
- `bufexplorer.vim`: Enables buffer navigation for file and buffer switching.
- `molokai.vim`: A stylish color scheme.
- `code_complete.vim`: Modified version for function hints triggered on 'func'; other features not used.
- `ctags_highlighting.vim`: Code coloring based on tags file; trigger with `:UpdateFileOnly`.
- `acp.vim`: Keyword autocompletion with popup menu.
- `supertab.vim`: Enhances tab key functionality.
- `snipMate.vim`: Auto-generates code snippets; use 'for' to experience.
- `autoload_cscope.vim`: Automatically loads cscope index, bound to F3 and F2 keys.
- `lookupfile.vim`: Quickly finds files; bound to F5.
- `genutils.vim`: Required by `lookupfile` plugin.
- `mru.vim`: Tracks recently opened files.
- `sessionman.vim`: Saves sessions with automatic saving as 'last_session', opened with 'Open Last'.
- `omnicppcomplete`: The most effective autocomplete plugin.
- `vcs*.vim`: Version control plugins.
**Index Generation and Configuration Files**
- `.vimrc`: Configuration file.
- `system-tags`: Generates library directory tags index for VIM search and autocomplete; modify as needed.
- `makefiles_tags`: Generates project directory index; copy to the current directory, required by `lookupfile`.
**Usage Instructions**
1. Install gvim.
2. Copy the `.vim` directory and `.vimrc` to the `$HOME` directory.
3. Modify the `.vimrc` for tags and path configuration.
4. Adjust `system-tags` for library directories and execute (root permissions may be required).
5. Update `lookupfile` with project directory index and run `makefiles_tags`.
6. Launch VIM and open a C file for editing.
**VCS Plugin Usage**
1. Check out the project with `svn co xxx ./checkout`.
2. Open files with VIM.
3. View file changes with `:VCSLog` and execute version changes with `:VCSDiff`.
4. For additional commands, refer to `doc/vcscommand.txt`.
**VIM Plugins**
- `winmanager.vim`: Provides sidebar functionality (F9 to open); modified version displays on the right.
- `taglist.vim`: Displays function and variable lists integrated into the sidebar.
- `winfileexplorer.vim`: Modified version that does not show hidden directories and only displays .c and .h files in the sidebar.
- `bufexplorer.vim`: Enables buffer navigation for file and buffer switching.
- `molokai.vim`: A stylish color scheme.
- `code_complete.vim`: Modified version for function hints triggered on 'func'; other features not used.
- `ctags_highlighting.vim`: Code coloring based on tags file; trigger with `:UpdateFileOnly`.
- `acp.vim`: Keyword autocompletion with popup menu.
- `supertab.vim`: Enhances tab key functionality.
- `snipMate.vim`: Auto-generates code snippets; use 'for' to experience.
- `autoload_cscope.vim`: Automatically loads cscope index, bound to F3 and F2 keys.
- `lookupfile.vim`: Quickly finds files; bound to F5.
- `genutils.vim`: Required by `lookupfile` plugin.
- `mru.vim`: Tracks recently opened files.
- `sessionman.vim`: Saves sessions with automatic saving as 'last_session', opened with 'Open Last'.
- `omnicppcomplete`: The most effective autocomplete plugin.
- `vcs*.vim`: Version control plugins.
**Index Generation and Configuration Files**
- `.vimrc`: Configuration file.
- `system-tags`: Generates library directory tags index for VIM search and autocomplete; modify as needed.
- `makefiles_tags`: Generates project directory index; copy to the current directory, required by `lookupfile`.
**Usage Instructions**
1. Install gvim.
2. Copy the `.vim` directory and `.vimrc` to the `$HOME` directory.
3. Modify the `.vimrc` for tags and path configuration.
4. Adjust `system-tags` for library directories and execute (root permissions may be required).
5. Update `lookupfile` with project directory index and run `makefiles_tags`.
6. Launch VIM and open a C file for editing.
**VCS Plugin Usage**
1. Check out the project with `svn co xxx ./checkout`.
2. Open files with VIM.
3. View file changes with `:VCSLog` and execute version changes with `:VCSDiff
4. For additional commands, refer to `doc/vcscommand.txt`.
vim_dev_v1.1.zip
预估大小:92个文件
vim_dev_v1.1
文件夹
.vim
文件夹
indent
文件夹
snippet.vim
2KB
sessions
文件夹
last_session
8KB
syntax
文件夹
hgannotate.vim
2KB
vcscommit.vim
1KB
gitannotate.vim
2KB
...
538.33KB
文件大小:
评论区