Skip to content

Instantly share code, notes, and snippets.

View Tmjohnst's full-sized avatar

TMJohnston Tmjohnst

View GitHub Profile
@Tmjohnst
Tmjohnst / CheatsheetList.markdown
Last active June 2, 2023 10:14
Because I forget everything, pretty much.
Cheatsheet Description
Gist Markdown cheatsheet for making prettier gists.
Markdown Markdown cheatsheet for markdown in general.
VIM Not the "best" cheatsheet, since it doesn't explain anything more than just commands, but it works better for me.
tmux Let Mohamed guide you through tmux.
Bash Collection of Bash shell commands.
Shell commands List of general Unix shell commands. For when I forget curl.
@Tmjohnst
Tmjohnst / .minttyrc
Last active January 22, 2020 16:45
My MinTTY rc file
ThemeFile=dracula
Transparency=off
CursorType=line
FontSmoothing=full
BoldAsFont=yes
Font=Courier
FontWeight=400
FontHeight=12
@Tmjohnst
Tmjohnst / .bashrc
Last active January 27, 2020 17:53
My Bashrc file
alias python='winpty python.exe'
# tmux config
curl https://gist.githubusercontent.com/Tmjohnst/c5800becfa0f0e11975af8cf0e7bdda6/raw/7fdaafa2d4d343cbcd071927ee45543fd341e6bf/.tmux.conf
# vimrc
curl https://gist.githubusercontent.com/Tmjohnst/1ae4ee0a97438cc4a75ae6e5ca1f65f0/raw/74cc37c3272b33679cb433b3bc1605482afccbb6/.vimrc
# minttyrc
curl https://gist.githubusercontent.com/Tmjohnst/e8ea49d5292c8e1b5cdb18b5242fe65c/raw/cb8c72a0a8db1bf1d021490cf0367f17e5c7b33b/.minttyrc
@Tmjohnst
Tmjohnst / .tmux.conf
Created January 22, 2020 15:28
My tmux config
set -g default-terminal "screen-256color"
set -g mouse on
@Tmjohnst
Tmjohnst / .vimrc
Last active January 22, 2020 15:27
My personal .vimrc aggregated from all over
"{{{Auto Commands
" Stole these from https://stackoverflow.com/a/171558
" Automatically cd into the directory that the file is in
autocmd BufEnter * execute "chdir ".escape(expand("%:p:h"), ' ')
" Remove any trailing whitespace that is in the file
autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
" Restore cursor position to where it was before