Skip to content

Instantly share code, notes, and snippets.

View jwhett's full-sized avatar
:shipit:
Enhance

Joshua Whetton jwhett

:shipit:
Enhance
View GitHub Profile
@jwhett
jwhett / tmux.conf
Last active September 7, 2021 16:10
TMUX config
unbind C-a
unbind C-b
set -g mouse on
set -g prefix C-a
set -s escape-time 1
set -g base-index 1
set -g default-terminal "screen-256color"
set -g status-left-length 40
set -g status-left "#h - [#S]"
set -g monitor-activity off
@jwhett
jwhett / kakrc
Last active November 14, 2022 14:59
Kakrc
colorscheme desertex
###########
# Plugins #
###########
source "%val{config}/plugins/plug.kak/rc/plug.kak"
plug "andreyorst/plug.kak" branch "master" noload
plug "andreyorst/fzf.kak"
plug "occivink/kakoune-sudo-write"
@jwhett
jwhett / .gitconfig
Created August 28, 2018 13:48
Git Config
[alias]
last = log -1 HEAD
st = status -s
co = checkout
br = branch --color=always --list -v --abbrev=8
#lg = log --decorate=short --pretty=oneline --abbrev-commit --graph --color
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
vis = !gitk
@jwhett
jwhett / redshift.conf
Created August 28, 2018 13:43
Redshift Config
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
;temp-day=5700
temp-day=4600
temp-night=3500
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
@jwhett
jwhett / sxhkdrc
Created August 28, 2018 13:42
SXHKD Config
F1
gdimmer -down
shift + F1
gdimmer -f -set 512
F2
gdimmer -up
shift + F2
@jwhett
jwhett / .vimrc
Created August 28, 2018 13:33
VIM Config
" PEP-8 Additions {{{
" PEP-8 Indentation {{{
" Number of spaces that a pre-existing tab is equal to.
" For the amount of space used for a new tab use shiftwidth.
au BufRead,BufNewFile *py,*pyw,*.c,*.h set tabstop=4
" This will affect Ctrl-T and 'autoindent'.
" Python: 4 spaces
" C: tabs (pre-existing files) or 4 spaces (new files)