sponsor Vim development Vim logo Vim Book Ad

cd-hook : Provides a Cd command and associated autocmd calls

 script karma  Rating -1/1, Downloaded by 437  Comments, bugs, improvements  Vim wiki

created by
Rich Healey
 
script type
utility
 
description
This very simple plugin implements a wrapper around chdir that allows you to
bind arbitrary actions to it.

You call the new action with :Cd which completes the same way :chdir does.
 
install details
Simply install the plugin in plugin/ and then bind actions with something like

autocmd User chdir Rvm

(If you use vim-rvm) and that command will be executed when you change
directories. You can assign as many as you want!
 

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
cd-hook.tar.gz 0.1 2012-02-02 7.0 Rich Healey Initial upload
ip used for rating: 3.134.118.95

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.
   
Vim at Github