Created
July 7, 2012 05:51
FuzzyFinder for VIM install script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd | |
mkdir -p .vim/ | |
cd ~/.vim/ | |
mkdir -p autoload/ | |
mkdir -p doc/ | |
mkdir -p plugin/ | |
curl -OL https://bitbucket.org/ns9tks/vim-fuzzyfinder/get/4.2.2.tar.gz | |
tar zxvf 4.2.2.tar.gz | |
rm zxvf 4.2.2.tar.gz | |
mv ns9tks-vim-fuzzyfinder-8a46435f4532/autoload/* autoload/ | |
mv ns9tks-vim-fuzzyfinder-8a46435f4532/doc/* doc/ | |
mv ns9tks-vim-fuzzyfinder-8a46435f4532/plugin/* plugin/ | |
curl -OL https://bitbucket.org/ns9tks/vim-l9/get/tip.gz | |
tar zxvf tip.gz | |
rm tip.gz | |
mv ns9tks-vim-l9-3bb534a720fa/autoload/* autoload/ | |
mv ns9tks-vim-l9-3bb534a720fa/doc/* doc/ | |
mv ns9tks-vim-l9-3bb534a720fa/plugin/* plugin/ | |
cd | |
touch .vimrc | |
python -c "cmd='map ff <esc>:FufFile<cr>';cmd in open('.vimrc').read() or open('.vimrc', 'a').write('\n'+cmd)" | |
python -c "cmd='map fd <esc>:FufDir<cr>';cmd in open('.vimrc').read() or open('.vimrc', 'a').write('\n'+cmd)" | |
python -c "cmd='map fb <esc>:FufBuffer<cr>';cmd in open('.vimrc').read() or open('.vimrc', 'a').write('\n'+cmd)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install
Usage
Enter VIM by typing vim, try
To Open File
To Change Folder
To Switch between Buffers
Required VIM 7.2+, tested on OS X, ubuntu, debian