-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (34 loc) · 1.4 KB
/
Makefile
File metadata and controls
40 lines (34 loc) · 1.4 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
DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
# order is important
init: symlinks brew nvim tmux general
symlinks:
ln -sf ${DIR}/.bash_profile ~/.bash_profile
ln -sf ${DIR}/.bashrc ~/.bashrc
ln -sf ${DIR}/.zshrc ~/.zshrc
ln -sf ${DIR}/.zprofile ~/.profile
ln -sf ${DIR}/.zshenv ~/.zshenv
ln -sf ${DIR}/.tmux.conf ~/.tmux.conf
ln -sf ${DIR}/.gitignore_global ~/.gitignore_global
ln -sf ${DIR}/.gitconfig ~/.gitconfig
ln -sf ${DIR}/tmux/.tmux.conf ~/.tmux.conf
ln -sf ${DIR}/cursor/settings.json ~/Library/Application\ Support/Cursor/User/settings.json
brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew tap homebrew/bundle || echo ''
brew upgrade
brew bundle
nvim:
ln -sf ${DIR}/lazyvim ~/.config/nvim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
pip3 install neovim
nvim +PlugInstall +UpdateRemotePlugins +qall
tmux:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# If the below doesn't work <tmux-prefix>+I will do it.
~/.tmux/plugins/tpm/bin/install_plugins
general:
# definitely worked on Sierra, required a logout
defaults write -g InitialKeyRepeat -int 12 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)
defaults write -g ApplePressAndHoldEnabled -bool false