This is a collection of files and configurations that I use on a day-to-day basis:
.zshrc
- zsh and Oh My Zsh configuration..emacs
- Emacs configuration..gitconfig
- Git aliases and configuration..vim
- Vim plugins, syntax files and colour schemes..vimrc
- Vim configuration.
Template files are also included. These are intended to be copied across to new projects where needed and serve as a reference:
.editorconfig.template
- EditorConfig configuration template..gitignore.template
- gitignore template for commonly ignored files..stylelintrc.json.template
- stylelint v13.13.1 configuration template, which uses thestylelint-order
v4.1.0 plugin.
Clone the repository to ~/.dotfiles
and run the installation script:
cd ~
git clone git@github.com:dfranklinau/dotfiles.git .dotfiles
cd .dotfiles
bash install.sh
The installation script creates symbolic links for a list of files and folders
within ~/.dotfiles
.
It is recommended to create a back up of any existing dotfiles that are important prior to running, in the off-chance something goes awry.
Create a new file:
~/.zshrc-local
This file is ignored by Git so any changes will not be tracked.
Create a new Vim plugin:
~/.vim/pack/local/start/local/plugin/local.vim
The ~/.vim/pack/local/
directory is ignored by Git so any changes will not be
tracked.
I use zsh coupled with Oh My Zsh. Install it to ensure the
configuration within .zshrc
works.
git-prompt.sh
adds functionality for displaying the currently checked out Git branch and
status (e.g. if a merge or rebase is in progress) in the prompt.
- ale 3.3.0 - linting and fixing.
- ctrlp.vim 1.80 - fuzzy file finding.
- editorconfig-vim master - EditorConfig support.
- emmet-vim master - HTML and CSS Emmet
- gruvbox master - syntax theme.
- html5.vim master - HTML5 syntax.
- vim-commentary 1.3 - commenting shortcuts.
- vim-fugitive 3.7 - assorted
convenience commands, e.g.
blame
anddiff
. - vim-gitgutter master - inline Git diff tool.
- vim-javascript 1.2.5 - JavaScript syntax.
- vim-matchup 0.7.3 - provides
extended matching for the
%
operator. - vim-repeat 1.2 - enables the
.
repeat command with supported plugins. - vim-surround 2.2 - quoting and parenthesising shortcuts.
- vim-unimpaired 2.0 - all purpose shortcuts.
- ack is used for searching through files; I find it
easiest to install the single-file version under
~/bin/ack
. - nodenv is used for managing multiple versions of Node.js.
tidy-html5
is for use with Ale in Vim.pandoc
is a neat document conversion tool.