sponsor Vim development Vim logo Vim Book Ad

scd.vim : smart change of directory in Vim

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

created by
Pavol Juhas
 
script type
utility
 
description
Add commands :Scd and :Slcd for changing to any directory by matching its path fragments.  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
https://github.com/pavoljuhas/smart-change-directory#installation-as-vim-plugin.
 
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 and create symbolic link to its vim/plugin/scd.vim file in the Vim plugin directory:

ln -si $PWD/vim/plugin/scd.vim ~/.vim/plugin/

If you install the scd.vim plugin by copying, make sure to also add the bin/scd script to some directory in the PATH.  Another option is to set the g:scd_command variable in vimrc to specify the scd location.

(3) Optional - for best results activate scd also in system shell as described at
https://github.com/pavoljuhas/smart-change-directory.
 

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.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: 54.227.12.4

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.
   
SourceForge.net Logo