These are my personal dot-files and configuration files.
- Clone this repo into
~/repos/dotfiles
. - Set up git. If necessary, generate new SSH keys and add them to your github account.
- Navigate to the
dotfiles
directory, and run. mac.sh
. - Run
:PlugInstall
in vim, to install all.vimrc
plugins.
I spend nearly 100% of my time on mac these days, so these instructions are no longer maintained.
- Install Ubuntu on Windows from the Microsoft Store.
- Clones this repo, move
.vimrc
and.tmux.conf
into~/
. If you want to use oh-my-zsh, also moveryi.zsh-theme
into the appropriate themes folder~/.oh-my-zsh/...
and copy the.zshrc
file over as well. - Add the contents of
.bashrc_partial
to.bashrc
, or whatever shell config file you're using. - Run a
sudo apt-get update
. - Install pip and pip3 with
sudo apt-get install python3-pip
andsudo apt-get install python-pip
(optional). sudo pip3 install virtualenv
.- Create a
./venvs
folder. - Run
virtualenv -p python3 default
within this folder. - Install jupyter-nb-extensions.
- Install jupyter-vim-binding.
Add the line:
export BROWSER='/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'
to your .zshrc
file in order to open links in chrome (or whatever browser you want to use). By default, I've already added it to my .zshrc
file within this repo, but you might want to change the path according to your default browser.
Unfortunately, however, this doesn't work out of the box for the reasons laid out here: microsoft/WSL#1766 (at least as of 2019-03-27). Basically, xdg-open
, which is used by vimwiki
by default, hates spaces. To fix this, you can go directly into the executable file for xdg-open
in /usr/bin/xdg-open
and quote instances of $browser$
, replacing them with "$browser"
(around line 840).
- If using WSL, don't save important non-git-associated files in
~/
-- this directory will be deleted upon uninstall of Ubuntu. Use the/mnt/c/Users/USERNAME
directory instead.