sponsor Vim development Vim logo Vim Book Ad

locator : Shows where is your cursor, including folds, classes, functions, and more.

 script karma  Rating 13/4, Downloaded by 1424  Comments, bugs, improvements  Vim wiki

created by
Dmitry Frank
script type
Plugin that shows you full "path" to the cursor, including folds, classes, functions, and more.

There are already several plugins on http://www.vim.org that show you name of the
function that cursor is currently in, but I want to see full "path" to the
cursor, including folds, classes, and maybe comment sections.

   http://goo.gl/nFW8S (test C file with folds and functions)
   http://goo.gl/GRMAB (test C file with comment sections, folds and functions)
   http://goo.gl/9rVfJ (Java file with sections, functions and nested classes)
   http://goo.gl/fTjpF (C file with folds, sections and functions)
   http://goo.gl/lbgSh (C++ class declaration, i.e. header file)
   http://goo.gl/G7O7U (C++ source file)

Read the docs in HTML format there: http://goo.gl/8EqCI


Autogenerated git repository: https://github.com/vim-scripts/locator (Note that this repository is auto-generated by http://vim-scripts.org as a mirror of http://www.vim.org)
install details
There is an optional dependency: plugin matchit ( vimscript #39 ), it is needed for *.vim files (Locator doesn't work with *.vim files without matchit), and also needed for better handling of c/cpp/java files.

Use pathogen.

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
locator-1.3.zip 1.3 2012-11-25 7.0 Dmitry Frank Added C++ support. Screenshots:
http://goo.gl/lbgSh (C++ header file)
http://goo.gl/G7O7U (C++ source file)
locator.zip 1.2 2012-08-17 7.0 Dmitry Frank Resolved issues with folded buffers (you can read about these issues in previous versions of locator, :help locator-known-issues)
locator.zip 1.01 2012-08-11 7.0 Dmitry Frank Little bugfixes.
locator.zip 1.0 2012-08-11 7.0 Dmitry Frank 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.