sponsor Vim development Vim logo Vim Book Ad

scd.vim : smart change of directory in Vim

 script karma  Rating 0/0, Downloaded by 1563  Comments, bugs, improvements  Vim wiki

created by
Pavol Juhas
script type
Add commands :Scd and :Slcd for changing to any directory with a few keystrokes.  Record the Vim-visited directories in the scd directory index.  This plugin is an interface to the scd shell script that provides the same functionality in a terminal.

For details see
install details
Linux, Mac OS X or other Unix-like system only.

(1) Make sure zsh (Z shell) is available or install it with "sudo apt-get install zsh".

(2) Expand the archive in the ~/.vim directory

tar xzf scd-1.3.tar.gz -C ~/.vim/

Or if you use pathogen.vim, add scd.vim repository to your bundles:

cd ~/.vim/bundle
git clone https://github.com/pavoljuhas/scd.vim

(3) Optional - for best results activate scd also in system shell as described at

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
scd-1.3.tar.gz 1.3 2015-04-16 7.0 Pavol Juhas - Check for a directory change also in insert mode.
- Improve operation of :Scd --unalias.
- Remove non-existent paths when trimming the index.
- Add tip on using directory aliases in Vim paths.
scd-1.2.tar.gz 1.2 2014-09-01 7.0 Pavol Juhas * reorder files for standard plugin installation and for pathogen support.
* add end-of-path matching with $.
* Add option -A,--all for all matches.
* Compress index duplicates to an equivalent timestamp.
* Simplify directory matching.
scd-1.1.tar.gz 1.1 2014-03-17 7.0 Pavol Juhas avoid duplicate entries after 'cd .', improve documentation and code clarity.
scd-1.0.tar.gz 1.0 2014-02-04 7.0 Pavol Juhas 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.
Vim at Github