Enable mouse support
/mouse enable
# Detect empty enter, execute git status if in git dir | |
magic-enter () { | |
if [[ -z $BUFFER ]]; then | |
if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then | |
echo -ne '\n' | |
git status -sb | |
fi | |
zle accept-line | |
else | |
zle accept-line |
static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
/* | |
* Keymap: The Laye r in QWERTY | |
* | |
* | |
* ,--------------------------------------------------. ,--------------------------------------------------. | |
* | = | 1 | 2 | 3 | 4 | 5 | ESC | | - | 6 | 7 | 8 | 9 | 0 | - | | |
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | |
* | Tab | Q | W | E | R | T | FN1 | | FN2 | Y | U | I | O | P | \ | | |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| |
I hereby claim:
To claim this, I am signing this object:
# vim: set expandtab sw=4 tabstop=4: | |
# *color* 'area' 'fgcolor' 'bgcolor' '[attributes]' | |
# general | |
color default 15 235 | |
color cursor 15 241 | |
color title-focus 242 221 | |
color title-blur 242 221 | |
color delimiter 213 default | |
color author 156 default |
function extract { | |
echo Extracting $1 ... | |
if [ -f $1 ] ; then | |
case $1 in | |
*.tar.bz2) tar xjf $1 ;; | |
*.tar.gz) tar xzf $1 ;; | |
*.bz2) bunzip2 $1 ;; | |
*.rar) rar x $1 ;; | |
*.gz) gunzip $1 ;; | |
*.tar) tar xf $1 ;; |
# 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 |