Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d41cdde559
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 62 lines (45 sloc) 1.289 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
;; Hide toolbar, menubar and scrollbar, just because I don't like them
(tool-bar-mode 0)
;; (menu-bar-mode 0)
(scroll-bar-mode 0)

;; Display line numbers
;; (global-linum-mode t)

(setq inhibit-startup-screen t)

;; Behave sanely
(require 'cl)

(defvar modules-dir "~/.emacs.d/modules")
(defvar site-lisp-dir "~/.emacs.d/site-lisp")

;; load path
(add-to-list 'load-path modules-dir)
(add-to-list 'load-path site-lisp-dir)

(let ((default-directory site-lisp-dir))
      (normal-top-level-add-subdirs-to-load-path))

;;(mapc 'load (directory-files modules-dir nil "^[^#].*el$"))

(require 'package)
(require 'nico-modules)
(require 'google-translate)
(require 'ido)
(require 'icomplete)
(icomplete-mode 99)
(ido-mode)


;; Start server
(server-start)

;; Git
;(require 'git)
;(require 'git-blame)

;; tramp -- transparent remote file access
(require 'tramp)

;; enable some disabled commands
(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)

;; Cosmetics
(eval-after-load 'diff-mode
  '(progn
     (set-face-foreground 'diff-added "green4")
     (set-face-foreground 'diff-removed "red3")))

(eval-after-load 'magit
  '(progn
     (set-face-foreground 'magit-diff-add "green4")
     (set-face-foreground 'magit-diff-del "red3")))

;; Paren mode
(show-paren-mode t)
Something went wrong with that request. Please try again.