-
git clone https://github.com/lparsons/dotfiles.git ~/dotfiles
-
cd ~/dotfiles
-
./install.sh
-
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
-
Start tmux then
Prefix
-I
(capital I)
Install Miniforge
-
Install miniforge
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" bash Miniforge3-$(uname)-$(uname -m).sh
-
Configure bioconda channels
conda config --add channels nodefaults conda config --add channels bioconda conda config --add channels conda-forge conda config --set channel_priority strict
Install NeoVim and plugins
-
Install neovim
mkdir -p ~/.local/nvim/VERSION cd ~/.local/nvim/VERSION curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage chmod u+x nvim.appimage ./nvim.appimage cd ~/.local/nvim ln -s VERSION default cd ~/.local mkdir bin cd bin ln -s ~/.local/nvim/default/nvim.appimage nvim
-
Install vim-plug and plugins
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Reload the file or restart Vim, then you can,
:PlugInstall
to install the plugins:PlugUpdate
to install or update the plugins:PlugDiff
to review the changes from the last update -
Create python3 environment (set correct path in
.vimrc
)mamba create -n neovim3 pynvim
# Set nvim as default editor (replace vi/vim)
if type "nvim" &> /dev/null; then
alias vi="nvim"
alias vim="nvim"
alias vimdiff='nvim -d'
export EDITOR=nvim
fi
# Setup promptline
source "${HOME}/.shell_prompt.sh"
```