(indent-region (point-min) (point-max) nil)
(untabify (point-min) (point-max)))
-(when (>= emacs-major-version 23)
- (global-linum-mode 1)
- (setq linum-format "%3d")
- (modify-all-frames-parameters
- '((font . "DejaVu Sans Mono-9"))))
-
-;; Django template mode
-(when (locate-library "django-html-mode")
- (require 'django-html-mode)
- (message "Django HTML Mode available"))
+(global-linum-mode 1)
+(setq linum-format "%3d")
;; Some file extensions autoloading
(add-to-list 'auto-mode-alist '("\\.mdn$" . markdown-mode))
-(add-to-list 'auto-mode-alist '("\\.dtpl$" . django-html-mode))
-(setq browse-url-generic-program (executable-find "midori")
+(setq browse-url-generic-program (executable-find "conkeror")
browse-url-browser-function 'browse-url-generic)
(global-set-key (kbd "C-x d") 'dired)
(set-input-method "german-postfix")
-(load-file "/home/christoph/.emacs.d/rudel/rudel-loaddefs.el")
-
(winner-mode)
(defun paste-x-selection ()
(yank)))
(global-set-key (kbd "<XF86Paste>") 'paste-x-selection)
(global-set-key (kbd "C-S-<insert>") 'paste-x-selection)
-
-
-(defun paste-x-selection ()
- (interactive)
- (let ((x-select-enable-primary t)
- (x-select-enable-clipboard nil))
- (yank)))
-(global-set-key (kbd "<XF86Paste>") 'paste-x-selection)
-(global-set-key (kbd "C-S-<insert>") 'paste-x-selection)
(setq custom-file "~/.emacs.d/emacs-custom.el")
(load custom-file)
-(dolist (file-to-load '("yas.el"
+(dolist (file-to-load '("fonts.el"
+ "yas.el"
"python.el"
"c.el"
"irony.el"
"org.el"
- "vamos.el"
"slime.el"
"whitespace.el"
"general.el"
"jabber.el"
"erc.el"
- "identica.el"
"pastebin.el"))
(load-file (concat emacs-private-config file-to-load)))