Skip to content

Instantly share code, notes, and snippets.

Avatar

Jamal Youssefi jamyouss

  • Paris, France
View GitHub Profile
@jamyouss
jamyouss / vimrc
Created Sep 25, 2016
Configuration vim
View vimrc
" Authors: Jamal Yousefi (jamal.youssefi@gmail.com)
" Description: vim configuration
set nocompatible " Disable compatiblity with vi
set title " Update windows title
set number " Affiche le numero des lignes
set ruler " Affiche la position actuelle du curseur
set wrap " Affiche les lignes trop longues sur plusieurs lignes
set scrolloff=3 " Affiche un minimum de 3 lignes autour du curseur (pour le scroll)
@jamyouss
jamyouss / bash_prompt
Created Jul 20, 2016
Custom bash prompt with git and syntax coloration
View bash_prompt
source /usr/local/etc/bash_completion.d/git-prompt.sh
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[0;37m\]"
You can’t perform that action at this time.