reimin : Add an #include without jumping
script karma |
Rating 6/3,
Downloaded by 392 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Matan Nassau |
|
script type |
utility |
|
description |
Usually adding an #include to a C or C++ source file means jumping the cursor to a line near the top of the file, adding the include, and jumping back. I consider jumping away from where the cursor is right now a distracting act, and thus the raison d'ĂȘtre of this plugin.
In normal mode enter :IncludeLocal or :IncludeSystem. You will be prompted for an include: enter the header name with no double quotes or angle-brackets.
The latest code is at http://github.com/wilhelmtell/reimin, but I will do my best to sync Vim Scripts when I make any significant release. |
|
install details |
Unpack the tarball in your Vim directory -- e.g. $HOME/.vim and the start a new session of Vim. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.140.185.147
|