Dotfiles

Created: 2012-08-21 09:39
Updated: 2018-12-27 10:09

README.md

Dotfiles for my UNIX workstation(s)

This repo uses GNU Stow.

To symlink Neovim dotfiles, run:

stow -t ~ -d ~/Projects/Dotfiles -v neovim

To symlink other things, change that neovim part to something else. Extra setup may be required.

Neovim

My init.vim (.vimrc replacement for Neovim).

Move init.vim to ~/.config/nvim/init.vim with stow command.

If you're in a hurry, use curl like this:

curl -Lo ~/.config/nvim/init.vim --create-dirs http://dagrev.is/init.vim

After opening the Vim, required plugins will be installed automatically. Restart the editor to load them!

It's recommended to read init.vim line by line and copy paste what's relevant. The source is heavily documented just for that reason alone.

Neovim Preview

Zsh

Install oh-my-zsh by running:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

(Keep in mind that you're blindly running a random shell-script from the internet)

Then you'll want to remove ~/.zshrc that was created by oh-my-zsh. Instead run stow zsh to get my .zshrc.

My setup depends on sh scripts so run stow sh for that.

Zsh Preview

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more