This is my dotfiles directory.
mac
-
Clone the repository into your
${HOME}
folder. Then, go into the dotfiles folder, and run the install script. Before running the script, edit the top of the install script to uncomment the correct chip type (m1 or intel). Then run the script:git clone https://github.com/sanp/dotfiles.git ~/dotfiles ~/dotfiles/install.sh
-
Restart your terminal and vim.
-
Tmux should automatically launch when you open a terminal. If it doesn't, launch tmux (by typing
tmux
). Install tmux plugins by pressingprefix
+I
(capital i, as in Install) to fetch the plugins. -
vim
is aliased to neovim. Open neovim by typingvim
. Plugins will automagically install. -
Install the language servers for the vim Coc plugin:
:CocInstall coc-python
:CocInstall coc-tsserver
-
Tell iterm2 to load profile: Preferences > Preferences > Load preferences from a custom folder or URL > ~/dotfiles/iterm2. Then restart iTerm2. Make sure that iTerm2 didn't overwrite the
plist
file in the iterm2 folder. If it did:git checkout -- ~/dotfiles/iterm2
And then restart iTerm2.
-
Follow all instructions in
manual.md
to run manual installation steps.
If all went well, you should now have access to all of the settings.
When creating a new python virtualenv using pyenv
, install the packages in the
global_python_requirements
file in the new virtualenv so that all neovim
packages will work:
pip install -r ~/.global_python_requirements
This command is aliased to pyri
. So, to create a virtualenv using python
version 3.8.0
named foobar
, execute:
pyenv virtualenv 3.8.0 foobar
pyenv activate foobar
pyri
Go into the ~/dotfiles
folder and run the uninstall script.
cd ~/dotfiles
./uninstall.sh