~rlamacraft/dotfiles

My personal config files for a variety of programs that make up my development environment
Adust 81st column styling
0a888b70 — Robert Lamacraft 19 days ago
Add rs_cypress env variable
Add difftastic as git's external diff tool

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. Bash, if not installed
  2. Tmux
  3. NeoVim
  4. 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
  1. difftastic To setup for all git repos run:
git config --global diff.external difft

#Step 3: Symlinking

bash Bash configuration files, simply symlink as follows

. $HOME/Documents/dotfiles/.bash_profile
ln -s $dotfiles/.bashrc $HOME/.bashrc
ln -s $dotfiles/.bash_profile $HOME/.bash_profile
. ~/.bashrc

nvim

ln -s $dotfiles/nvim $HOME/.config/nvim

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 exists

[diff]
  colorMoved = zebra
  algorithm = histogram
[commit]
  template = <$dotfiles>/.gitmessage.txt
  gpgsign = true
  verbose = true
[rebase]
  abbreviateCommands = true
[status]
  showStash = true
[merge]
  conflictStyle = diff3

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

  • Run :VundleInstall to get all those specified with Vundle
    • Probably need to manually install Vundle first

#Scripts

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