gf-user : A framework to open a file by context
script karma |
Rating 0/0,
Downloaded by 1189 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Kana Natsuno |
|
script type |
utility |
|
description |
*gf-user* is a Vim plugin to provide a framwork to extend |gf|. Though |gf| is one of the most useful commands in Vim, it has the following problems:
- The file to be opened is based on the word under the cursor. - It's not possible to specify the cursor position for the opened file.
Sometimes you might wish |gf| used more text around the cursor to detect the file to be opened and the initial cursor position. For example,
- While reading output from diff(1), go to the hunk under the cursor. - While editing files for an MVC framework, go to the view file corresponding to an action of the controller under the cursor.
Though it's not hard to implement each extension, it's a bit troublesome to synthesize all extensions. |gf-user| provides a framework for the extensions.
Requirements: - Vim 7.3 or later
Latest version: http://github.com/kana/vim-gf-user
Document in HTML format: http://kana.github.com/config/vim/gf-user.html |
|
install details |
... |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|