Skip to content

Instantly share code, notes, and snippets.

@luken00
luken00 / tmux.conf
Created May 3, 2018 07:22 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@luken00
luken00 / snippets
Created March 27, 2017 15:32
useful regex find/replace snippets
// remove trailing whitespaces (end of line)
[ \t]+$
// remove trailing whitespaces (beginning of line)
^[ \t]+
// remove empty space, whenever there are more than one
[ ]{2,}
// empty lines
@luken00
luken00 / .myBashrc
Last active March 27, 2017 15:32
.bashrc extension
#!/usr/bin/env bash
# Define Colors
COL_BLUE="\[\e[38;5;111m\]"
COL_RED="\[\e[38;5;203m\]"
COL_CYAN="\[\e[38;5;45m\]"
COL_GREEN="\[\e[38;5;84m\]"
COL_YELLOW="\[\e[38;5;220m\]"
COL_PINK="\[\e[38;5;204m\]"
@luken00
luken00 / .gitconfig
Last active April 19, 2018 06:41
My personal gitconfig, some snippets, shortcuts, colored outputs etc..
[push]
default = current
[core]
trustctime = false
editor = nano
filemode = false
autocrlf = input
[credential]
helper = cache --timeout=3600
[merge]
_atom sync settings_