-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_vim_config.sh
More file actions
136 lines (107 loc) · 4.61 KB
/
install_vim_config.sh
File metadata and controls
136 lines (107 loc) · 4.61 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#!/bin/sh
os=$(uname -o)
# init and update submodules
git submodule init
git submodule update
# make directory ~/.config/bat
#mkdir -p ~/.config/bat
# copy .config/bat/config to ~/.config/bat
#cp .config/bat/config ~/.config/bat
# make directory ~/.config/bat/themes
#mkdir -p ~/.config/bat/themes
# copy .config/bat/themes/Rose-Pine.tmTheme to ~/.config/bat/themes
#cp .config/bat/themes/Rose-Pine.tmTheme ~/.config/bat/themes
# update bat cache
#bat cache --clean
#bat cache --build
# copy ~/.gitconfig to ~/.gitconfig-backup
#cp ~/.gitconfig ~/.gitconfig-backup
# copy .gitconfig-delta to ~/.gitconfig
#cp .gitconfig-delta ~/.gitconfig
#source ~/.gitconfig
# copy .bashrc to ~/.bashrc
#cp .bashrc ~/.bashrc
#source ~/.bashrc
# copy .zshrc to ~/.zshrc
#cp .zshrc ~/.zshrc
#source ~/.zshrc
# if [ "$os" = 'Msys' ]; then
# mkdir -p (dirname "$PROFILE")
# cp .config/powershell/Microsoft.PowerShell_profile.ps1 "$PROFILE"
# else
# mkdir -p ~/.config/powershell
# cp .config/powershell/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1
# fi
# if [ "$os" = 'Msys' ]; then
# else
# make directory ~/.config/ghostty
#mkdir -p ~/.config/ghostty
# copy .config/ghostty/config to ~/.config/ghostty/config
#cp .config/ghostty/config ~/.config/ghostty/config
#source ~/.config/ghostty/config
# make directory ~/.config/ghostty/themes
#mkdir -p ~/.config/ghostty/themes
# copy ghostty-themes/ghostty-night-owl/NightOwlDark to ~.config/ghostty/themes/NightOwlDark
#cp ghostty-themes/ghostty-night-owl/NightOwlDark to ~/.config/ghostty/themes/NightOwlDark
# copy ghostty-themes/rose-pine/dist/rose-pine-moon to ~.config/ghostty/themes/RosePineMoon
#cp ghostty-themes/rose-pine/dist/rose-pine-moon to ~/.config/ghostty/themes/RosePineMoon
# fi
# copy .wezterm.lua to ~/.wezterm.lua
#cp .wezterm.lua ~/.wezterm.lua
#source ~/.wezterm.lua
# copy .vimrc to ~/.vimrc
cp .vimrc ~/.vimrc
#source ~/.vimrc
# copy .clang-format to ~/.clang-format
#cp .clang-format ~/.clang-format
#source ~/.clang-format
# make directory ~/.tmux/plugins/tpm
#mkdir -p ~/.tmux/plugins/tpm
# copy .tmux/plugins/tpm/* to ~/.tmux/plugins/tpm
#cp -rp .tmux/plugins/tpm/* ~/.tmux/plugins/tpm
# copy .tmux.conf to ~/.tmux.conf
#cp .tmux.conf ~/.tmux.conf
#source ~/.tmux.conf
# copy .config/starship.toml to ~/.config/starship.toml
#cp .config/starship.toml ~/.config/starship.toml
#source ~/.config/starship.toml
# copy .kube/color.yaml to ~/.kube/color.yaml
#cp .kube/color.yaml ~/.kube/color.yaml
#source ~/.kube/color.yaml
# make directory ~/.vim
mkdir -p ~/.vim
# make directory ~/.vim/autoload
mkdir -p ~/.vim/autoload
# make directory ~/.vim/bundle
mkdir -p ~/.vim/bundle
# make directory ~/.vim/colors
mkdir -p ~/.vim/colors
# make directory ~/.vim/plugged
mkdir -p ~/.vim/plugged
# make directory ~/.vim/undodir
mkdir -p ~/.vim/undodir
# copy .vim/coc-settings.json to ~/.vim/coc-settings.json
cp .vim/coc-settings.json ~/.vim/coc-settings.json
# copy vim-plug/plug.vim to ~/.vim/autoload/plug.vim
cp vim-plug/plug.vim ~/.vim/autoload/plug.vim
# copy colorschemes/candle-grey/colors/candle-grey.vim to ~.vim/colors/candle-grey.vim
cp -rp colorschemes/candle-grey/colors/candle-grey.vim ~/.vim/colors/candle-grey.vim
# copy colorschemes/darcula/colors/darcula.vim to ~.vim/colors/darcula.vim
cp -rp colorschemes/darcula/colors/darcula.vim ~/.vim/colors/darcula.vim
# copy colorschemes/oceanic-next-vim/colors/oceanicnext.vim to ~.vim/colors/oceanicnext.vim
cp -rp colorschemes/oceanic-next-vim/colors/oceanicnext.vim ~/.vim/colors/oceanicnext.vim
# copy colorschemes/nightshade.vim/colors/nightshade.vim to ~.vim/colors/nightshade.vim
cp -rp colorschemes/nightshade.vim/colors/nightshade.vim ~/.vim/colors/nightshade.vim
# copy colorschemes/vim-gruvbox8/colors/gruvbox8.vim to ~.vim/colors/gruvbox8.vim
cp -rp colorschemes/vim-gruvbox8/colors/gruvbox8.vim ~/.vim/colors/gruvbox8.vim
# copy colorschemes/vim-yin-yang/colors/yang.vim to ~.vim/colors/yang.vim
cp -rp colorschemes/vim-yin-yang/colors/yang.vim ~/.vim/colors/yang.vim
# copy colorschemes/vim-yin-yang/colors/yin.vim to ~.vim/colors/yin.vim
cp -rp colorschemes/vim-yin-yang/colors/yin.vim ~/.vim/colors/yin.vim
# copy colorschemes/Zenburn/colors/zenburn.vim to ~.vim/colors/zenburn.vim
cp -rp colorschemes/Zenburn/colors/zenburn.vim ~/.vim/colors/zenburn.vim
# copy colorschemes/papercolor-theme/colors/PaperColor.vim to ~.vim/colors/PaperColor.vim
cp -rp colorschemes/papercolor-theme/colors/PaperColor.vim ~/.vim/colors/PaperColor.vim
# NOTE: Doesn't seem to work properly with Vim
# # copy colorschemes/dmg/colors/dmg.vim to ~.vim/colors/dmg.vim
# cp -rp colorschemes/dmg/colors/dmg.vim ~/.vim/colors/dmg.vim