From 81ba56789b5f14ef5527749a1af10bd0020b0d3c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 14 Apr 2014 19:30:22 +0200 Subject: emacs: move .emacs to .emacs.d/init.el --- emacs | 493 ------------------------------------------------------------------ 1 file changed, 493 deletions(-) delete mode 100644 emacs (limited to 'emacs') diff --git a/emacs b/emacs deleted file mode 100644 index 58bb2ab..0000000 --- a/emacs +++ /dev/null @@ -1,493 +0,0 @@ -;; -*- self-compile-mode: t; foldingo-close: t -*- - -(setq custom-file "~/.emacs.d/emacs-custom.el") -(load custom-file) -(setq warning-suppress-types nil) - -;;{{{ load-path anpassen - -(let* ((my-lisp-dir "~/.emacs.d/lisp") - (default-directory my-lisp-dir) - (orig-load-path load-path)) - (setq load-path (cons my-lisp-dir nil)) - (normal-top-level-add-subdirs-to-load-path) - (nconc load-path orig-load-path)) - -;;}}} - -;;{{{ fix scroll bug with emacs 24.1 - -(when (boundp 'bidi-paragraph-direction) - (setq-default bidi-paragraph-direction 'left-to-right)) - -;;}}} - -;;{{{ load own color theme -(when (require 'color-theme nil 'noerror) - (color-theme-initialize) - (if (not window-system) - (color-theme-alex-console) - (color-theme-alex))) -;;}}} - -;;{{{ user settings -(setq user-full-name "Alexander Sulfrian" - user-mail-address "alexander@sulfrian.net") -;;}}} - -;; define F1 to display man page of the current word -(global-set-key [(f1)] (lambda () (interactive) (manual-entry (current-word)))) - -(load "/usr/share/emacs/site-lisp/site-gentoo" 'noerror) - -(setq text-mode-hook 'turn-on-auto-fill) -(setq fill-column 72) - -(setq semanticdb-default-save-directory "~/.emacs.d/semantic") - -(setq locale-coding-system 'latin-1) -(set-terminal-coding-system 'latin-1) -(set-keyboard-coding-system 'latin-1) -(set-selection-coding-system 'latin-1) -(prefer-coding-system 'latin-1) - -(global-set-key [mouse-3] 'imenu) - -;;{{{ fix keys for urxvt -(if (not window-system) - (mapc (lambda (map) - (define-key function-key-map - (read-kbd-macro (cadr map)) - (read-kbd-macro (car map)))) - '(("" "M-[ Z") - ("" "