Skip to content

Instantly share code, notes, and snippets.

set-option -g default-shell /usr/bin/fish
set -s escape-time 1
set -g prefix C-v
setw -g mode-keys vi
set-option -g base-index 1
setw -g pane-base-index 1
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
[user]
name = Rory Dungan
email =
[diff]
tool = winmerge
[difftool "winmerge"]
@RoryDungan
RoryDungan / .vimrc
Last active November 12, 2016 02:16
.vimrc
" Indentation
set smartindent
" set tabstop=2
" set shiftwidth=2
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
" Enable autocompletion for file paths
@RoryDungan
RoryDungan / Preferences.sublime-settings
Last active April 5, 2016 01:51
Sublime Text 3 settings
{
"added_words":
[
"favourite"
],
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"ignored_packages":
[
],
@RoryDungan
RoryDungan / mouse.sh
Created January 4, 2016 09:03
Fix crazy fast cursor movement with Razer DeathAdder mouse on Ubuntu
#!/bin/bash
xinput list |
grep -E 'DeathAdder.*pointer' |
awk -F"=" '{print $2}' |
awk '{print $1}' |
while read -r id
do
xinput --set-prop $id "Device Accel Constant Deceleration" 3
xinput --set-prop $id "Device Accel Velocity Scaling" 1
done