aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.vimrc1
-rwxr-xr-xsetup.sh15
2 files changed, 12 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index a351702..9537571 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1272,6 +1272,7 @@ Autocmd FileType typescript ClangFormatAutoDisable
" ctrlp {{{2
+let g:ctrlp_map = '<Space>f'
let g:ctrlp_match_func = {'match': 'ctrlp_matchfuzzy#matcher'}
diff --git a/setup.sh b/setup.sh
index f2be5b5..6c82af6 100755
--- a/setup.sh
+++ b/setup.sh
@@ -1,17 +1,24 @@
#!/bin/bash
+echo "setup.sh"
+
for name in .gitconfig .tmux.conf .vim .vimrc .zshrc; do
- if [ ! -L ~/$name ]; then
- ln -s -f ~/dotfiles/$name ~/$name
+ if [ ! -L ~/"$name" ]; then
+ echo "* ln -s: ~/$name"
+ ln -s -f ~/dotfiles/"$name" ~/"$name"
fi
done
if [ ! -d ~/.config ]; then
+ echo "* mkdir: ~/.config"
mkdir ~/.config
fi
for name in alacritty bat git; do
- if [ ! -L ~/.config/$name ]; then
- ln -s -f ~/dotfiles/.config/$name ~/.config/$name
+ if [ ! -L ~/.config/"$name" ]; then
+ echo "* ln -s: ~/.config/$name"
+ ln -s -f ~/dotfiles/.config/"$name" ~/.config/"$name"
fi
done
+
+echo "done"