~rlamacraft/dotfiles

My personal config files for a variety of programs that make up my development environment
a7e917c1 — Robert Lamacraft 12 days ago
Rebind tmux split pane
527522cf — Robert Lamacraft 15 days ago
Allow eslint script to specify any git revision
7450bd26 — Robert Lamacraft 15 days ago
Update npm-ding to support latest webpack output

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~rlamacraft/dotfiles
read/write
git@git.sr.ht:~rlamacraft/dotfiles

You can also use your local clone with git send-email.

#Dotfiles

My personal config files for a variety of programs that make up my development environment

#Setup

#Step 1: Clone this repo

  • Must be to $HOME/Documents

#Step 2: Tools to install

  1. Zsh, if not installed
  2. Tmux
  3. Vim
  4. Typefaces
  5. tldr
brew install tldr
  1. Universal Ctags
brew tap universal-ctags/universal-ctags
brew install --HEAD universal-ctags
  • On macOS, the built in ctags may remain higher on the PATH, because this should probably only be called from command aliases
  1. fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

#Step 3: Symlinking

zsh Zsh configuration files, simply symlink as follows

. $HOME/Documents/dotfiles/.zshenv
ln -s $dotfiles/.zshrc $HOME/.zshrc
ln -s $dotfiles/.zshenv $HOME/.zshenv
. ~/.zshrc

vim

ln -s $dotfiles/.vimrc $HOME/.vimrc
ln -s $dotfiles/.vim $HOME/.vim

tmux Tmux configure file, simply symlink as follows

ln -s $dotfiles/.tmux.conf $HOME/.tmux.conf

Then add one of the following depending upon the colour theme under Terminal > Settings > Profiles > Default > Shell > Startup > Run command

tmux new-session \; setenv dark_mode 0

or

tmux new-session \; setenv dark_mode 1

Then finally go to Terminal > Settings > Profiles > Default > Window and uncheck everything except dimensions in the top section and then unchecking everything but the "Active process name" and "Show activity indidicator" on the Tab tab

git Edit $HOME/.gitconfig so that there existss

[commit]
  template = <$dotfiles>/.gitmessage.txt

where <$dotfiles> is the full path as $dotfiles is defined above

#Step 4: Mac specific stuff

  • Follow the instructions in the "macSetup.org" file

#Step 5: Using the sounds files

Here is an example

echo 'done
[ERROR]' | awk '{print $0}; $0 ~ "done" {system("afplay $SOUNDS/done/1.mp3 &")}; $0 ~ "ERROR" {system("afplay $SOUNDS/error/1.mp3 &")}'

Sources of audio files

#Step 6: Additional Vim Setup

Here's some Vim plugins you may want to install

#Scripts

start.sh -- run when starting work on Monday, to get everything going