-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_editing_env.sh
More file actions
45 lines (34 loc) · 1.54 KB
/
Copy pathsetup_editing_env.sh
File metadata and controls
45 lines (34 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh -e
# https://github.com/gcarrillo/linux-env
echo "Cloning my linux-env repo"
git clone https://github.com/gcarrillo/linux-env.git /tmp/linux-env
# https://github.com/tpope/vim-pathogen
echo "\nInstalling pathogen"
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
# https://github.com/tpope/vim-fugitive
echo "\nInstalling vim-fugitive"
cd ~/.vim/bundle
git clone https://github.com/tpope/vim-fugitive.git
vim -u NONE -c "helptags vim-fugitive/doc" -c q
# https://github.com/scrooloose/nerdtree
echo "\nInstalling nerdtree"
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
vim -u NONE -c "helptags ~/.vim/bundle/nerdtree/doc" -c q
# https://github.com/vim-scripts/ZoomWin
echo "\nInstalling zoomwin"
git clone https://github.com/vim-scripts/ZoomWin.git ~/.vim/bundle/zoomwin
# https://github.com/t9md/vim-choosewin
echo "\nInstalling vim-choosewin"
git clone https://github.com/t9md/vim-choosewin.git ~/.vim/bundle/vim-choosewin
# http://cscope.sourceforge.net/cscope_vim_tutorial.html
#curl -LSso ~/.vim/plugin/cscope_maps.vim http://cscope.sourceforge.net/cscope_maps.vim
echo "\nCopying cscope_maps.vim file into place"
mkdir -p ~/.vim/plugin
cp /tmp/linux-env/cscope_maps.vim ~/.vim/plugin/cscope_maps.vim
echo "\nCopying vimrc file into place"
cp /tmp/linux-env/vimrc ~/.vimrc
echo "\nCopying tmux.conf file into place"
cp /tmp/linux-env/tmux.conf ~/.tmux.conf
echo "\nCopying gitconfig file into place"
cp /tmp/linux-env/gitconfig ~/.gitconfig
rm -rf /tmp/linux-env