Created
September 17, 2010 22:14
-
-
Save pelletier/585047 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Coloration syntaxique (global-font-lock-mode t) | |
;; Afficher numéro de ligne et de colone | |
(column-number-mode t) (line-number-mode t) | |
;; Selection PC (avec Shift) | |
(custom-set-variables '(pc-selection-mode t nil (pc-select))) | |
;; Mollette pour le defilement | |
(custom-set-variables '(mouse-wheel-mode t nil (mwheel))) | |
;; Afficher l'heure et la date | |
(setq display-time-24hr-format t) | |
(setq display-time-day-and-date t) | |
(display-time) | |
;; Bips Visuels | |
(setq visible-bell t) | |
;; Afficher la parenthese correspondante | |
(require 'paren) | |
(show-paren-mode) | |
;; Couleur de fond | |
(set-background-color "Black") | |
;; Couleur du texte | |
(set-foreground-color "White") | |
;; Couleur du curseur | |
(set-cursor-color "Green") | |
(set-mouse-color "Green") | |
;; Enlever le message au démarrage | |
(setq inhibit-startup-message t) | |
;; Enlever la toolbar | |
(tool-bar-mode -1) | |
;; Remplacer le texte selectionné si on tape | |
(delete-selection-mode t) | |
;; Changer le titre de la fenetre | |
(setq frame-title-format "K's Emacs %b" | |
;; Wordwrap | |
(add-hook 'text-mode-hook 'turn-on-auto-fill)</code> | |
;; --------------RACCOURCIS CLAVIER | |
;; ** F9 -> Compiler | |
(global-set-key [f9] 'compile) | |
;; ** F2 -> Enregistrer | |
(global-set-key [f2] 'save-buffer) | |
;; ** F3 -> Charger | |
(global-set-key [f3] 'find-file) | |
;; ** F12 -> Goto | |
(global-set-key [f12] 'goto-line) | |
;; ** CtrlZ -> Annuler | |
(global-set-key [(control z)] 'undo) | |
;; ** CtrlOrigine -> Debut du buffer | |
(global-set-key [(control home)] 'beginning-of-buffer) | |
;; ** CtrlFin -> Fin du buffer | |
(global-set-key [(control end)] 'end-of-buffer) | |
;; ** Origine -> Debut de la ligne | |
(global-set-key [home] 'beginning-of-line) | |
;; ** Fin -> Fin de la ligne | |
(global-set-key [end] 'end-of-line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment