RootIgnore : Set 'wildignore' from git repo root
script karma |
Rating 0/0,
Downloaded by 1241 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Pine Wu |
|
script type |
utility |
|
description |
Set 'wildignore' from git repo root.
See github https://github.com/octref/rootignore.
Adapted from gitignore <http://www.vim.org/scripts/script.php?script_id=2557> by Adam Bellaire.
This plugin is designed to complement CtrlP.
There is no easy way to:
1. Restrict search results to files under current directory
2. Honor .gitignore in repo root
at the same time.
Adam Bellaire's script honors .gitignore when Vim is opened at repo root, but not when Vim is opened in subfolders under repo root.
If this plugin is present, when you cd foo/bar/ and open Vim, and suppose foo/.gitingore ignores _*, CtrlP ignores foo/bar/_build and all results are under foo/bar/. |
|
install details |
Vundle installation is recommended.
Add this to your .vimrc:
plugin 'octref/RootIgnore' |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.168
|