sponsor Vim development Vim logo Vim Book Ad

ctx : Describes your cursor's current scope or context when editing a C file.

 script karma  Rating 41/13, Downloaded by 1148  Comments, bugs, improvements  Vim wiki

created by
Chris Houser
script type
CTX is an attempt to help Vim users navigate in C
program files with very large function definitions. Such
files should generally not exist, but alas they do, and
sometimes we need to make changes to them.

This script helps by opening a small window in your Vim
session and keeping up-to-date with a few lines of text
describing your cursor's current scope or context in a C

install details
To use, source the ctx.vim file in your ~/.vimrc.  You may also
want to reduce your updatetime to 1000 or so.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ctx-1.17.vim 1.17 2002-06-17 6.0 Chris Houser - Added support for last switch case or label; less consistant than other structures.
- Added autoupdate setting and "\c" toggle key mapping
- Revamped context window finding/hiding/auto-closing
- Added support for line continuations
- Properly ignore strings
- Automatically skip reloads to avoid error messages
ctx-1.16.vim 1.16 2002-02-08 6.0 Chris Houser Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.