Skip to content

Instantly share code, notes, and snippets.

execute pathogen#infect()
syntax on
filetype plugin indent on
set hlsearch
set number
set showmatch
set incsearch
set hidden
set textwidth=0 tabstop=2 shiftwidth=2 softtabstop=2 expandtab
@MarcosX
MarcosX / .tmux.conf
Last active December 20, 2015 08:59
tmux.conf file
#Set prefix command to Control-\
unbind-key C-b
set-option -g prefix 'C-\'
#jump to last open window
bind-key 'C-\' last-window
#count windows from 1
set -g base-index 1
@MarcosX
MarcosX / makefile
Last active July 15, 2023 22:02
Simple SDL makefile
# Directories
S_DIR=source
B_DIR=build
# Files
S_FILES=$(S_DIR)/sdl_test.cpp
# Output
EXEC=$(B_DIR)/sdl_app
@MarcosX
MarcosX / .gitconfig
Last active October 12, 2015 04:18
Alias and configurations to help using git
[alias]
st = status -s -b
co = checkout
ci = commit -m
lg = log --graph --pretty=oneline --abbrev-commit --decorate
timeline = log --graph --branches --pretty=oneline --decorate --abbrev-commit
[color]
status = auto
diff = auto
branch = auto
@MarcosX
MarcosX / git_meld_install.sh
Created June 27, 2012 14:03
Install Meld as the default git diff tool. Must be executed as sudo
#!/bin/bash
echo "Installing meld..."
apt-get install meld -y -qq
echo "Meld [OK]"
echo "Creating meld custom script..."
rm ~/.config/git_meld_diff.sh
touch ~/.config/git_meld_diff.sh
echo "#!/bin/bash" >> ~/.config/git_meld_diff.sh