2012-09-07 15:21:59 +02:00
|
|
|
;;; init.el --- ryuslash's emacs init
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;; Does so much and changes so often
|
|
|
|
|
2012-08-26 21:50:26 +02:00
|
|
|
|
2012-09-07 15:21:59 +02:00
|
|
|
;;; Code:
|
|
|
|
|
2013-01-03 23:55:57 +01:00
|
|
|
(load (concat user-emacs-directory "init2"))
|
2012-08-26 21:50:26 +02:00
|
|
|
|
2013-01-25 00:32:30 +01:00
|
|
|
(defface git-commit-summary-face
|
|
|
|
'((t (:inherit org-level-1)))
|
|
|
|
"Face for the git title line."
|
|
|
|
:group 'local)
|
|
|
|
|
|
|
|
(defface git-commit-overlong-summary-face
|
|
|
|
'((t (:background "#873732")))
|
|
|
|
"Face for commit titles that are too long."
|
|
|
|
:group 'local)
|
|
|
|
|
|
|
|
(defface git-commit-nonempty-second-line-face
|
|
|
|
'((t (:inherit git-commit-overlong-summary-face)))
|
|
|
|
"Face for the supposedly empty line in commit messages."
|
|
|
|
:group 'local)
|
|
|
|
|
2013-01-16 01:30:00 +01:00
|
|
|
(eval-after-load "ido" '(oni:ido-init))
|
|
|
|
(eval-after-load "jabber" '(oni:jabber-init))
|
|
|
|
(eval-after-load "newst-treeview" '(require 'newsticker-init))
|
|
|
|
(eval-after-load "org" '(require 'org-init))
|
|
|
|
(eval-after-load "rainbow-mode" '(oni:rainbow-mode-init))
|
|
|
|
(eval-after-load "smex" '(oni:smex-init))
|
|
|
|
(eval-after-load "yasnippet" '(oni:yasnippet-init))
|
2012-12-20 00:01:55 +01:00
|
|
|
|
2013-01-25 00:32:30 +01:00
|
|
|
(autoload 'define-slime-contrib "slime")
|
|
|
|
(autoload 'gtags-mode "gtags" nil t)
|
|
|
|
(autoload 'jabber-connect "jabber" nil t)
|
|
|
|
(autoload 'php-mode "php-mode" nil t)
|
|
|
|
(autoload 'po-mode "po-mode" nil t)
|
|
|
|
(autoload 'pony-mode "pony-mode" nil t)
|
|
|
|
(autoload 'sawfish-mode "sawfish" nil t)
|
|
|
|
(autoload 'server-running-p "server")
|
|
|
|
(autoload 'slime-js-minor-mode "slime-js" nil t)
|
|
|
|
(autoload 'xmodmap-mode "xmodmap-mode" nil t)
|
|
|
|
(autoload 'w3m-bookmark-view "w3m" nil t)
|
|
|
|
(autoload 'w3m-goto-url "w3m" nil t)
|
|
|
|
|
|
|
|
(require 'geiser-install)
|
|
|
|
(require 'uniquify)
|
|
|
|
(require 'ext)
|
|
|
|
(require 'oni)
|
|
|
|
|
2012-08-26 21:50:26 +02:00
|
|
|
(put 'upcase-region 'disabled nil)
|
|
|
|
(put 'downcase-region 'disabled nil)
|
|
|
|
(put 'narrow-to-region 'disabled nil)
|
2012-09-02 11:34:56 +02:00
|
|
|
(put 'scroll-left 'disabled nil)
|
2012-08-26 21:50:26 +02:00
|
|
|
|
|
|
|
(setq-default bidi-paragraph-direction 'left-to-right)
|
2012-08-18 13:57:56 +02:00
|
|
|
(setq-default c-basic-offset 4)
|
|
|
|
(setq-default fci-rule-column 73)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq-default gac-automatically-push-p t)
|
|
|
|
(setq-default indent-tabs-mode nil)
|
|
|
|
(setq-default php-mode-warn-if-mumamo-off nil)
|
|
|
|
(setq-default require-final-newline t)
|
|
|
|
(setq-default tab-width 4)
|
|
|
|
(setq-default truncate-lines t)
|
2012-08-18 13:57:56 +02:00
|
|
|
|
2012-12-06 22:40:43 +01:00
|
|
|
(setq appt-disp-window-function #'oni:appt-display-window-and-jabber)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq appt-display-diary nil)
|
|
|
|
(setq auto-mode-case-fold nil)
|
2013-01-25 00:32:30 +01:00
|
|
|
(setq auto-save-file-name-transforms oni:auto-save-name-transforms)
|
2012-08-24 10:51:47 +02:00
|
|
|
(setq avandu-article-render-function #'avandu-view-w3m)
|
2013-01-25 00:32:30 +01:00
|
|
|
(setq backup-directory-alist oni:backup-directory-alist)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq browse-url-browser-function 'browse-url-generic)
|
|
|
|
(setq browse-url-generic-program (getenv "BROWSER"))
|
2012-10-26 00:54:23 +02:00
|
|
|
(setq c-offsets-alist '((statement-block-intro . +)
|
|
|
|
(knr-argdecl-intro . 5)
|
|
|
|
(substatement-open . +)
|
|
|
|
(substatement-label . 0)
|
|
|
|
(label . 0)
|
|
|
|
(statement-case-open . +)
|
|
|
|
(statement-cont . +)
|
|
|
|
(arglist-intro . +)
|
|
|
|
(arglist-close . 0)
|
|
|
|
(inline-open . 0)
|
|
|
|
(brace-list-open . +)
|
2012-11-27 11:12:17 +01:00
|
|
|
(topmost-intro-cont first c-lineup-topmost-intro-cont
|
|
|
|
c-lineup-gnu-DEFUN-intro-cont)))
|
2012-10-22 23:59:38 +02:00
|
|
|
(setq comment-auto-fill-only-comments t)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq custom-file "~/.emacs.d/custom.el")
|
|
|
|
(setq custom-theme-directory "~/.emacs.d/themes")
|
|
|
|
(setq default-frame-alist
|
|
|
|
`((border-width . 0)
|
|
|
|
(internal-border-width . 0)
|
|
|
|
(vertical-scroll-bars . nil)
|
|
|
|
(menu-bar-lines . nil)
|
|
|
|
(tool-bar-lines . nil)
|
2013-02-15 00:34:54 +01:00
|
|
|
(font . "Envy Code R:pixelsize=18")
|
|
|
|
(alpha 90 90)))
|
2013-01-25 00:32:30 +01:00
|
|
|
(setq elnode-do-init nil)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq erc-autojoin-channels-alist
|
2013-01-15 12:11:41 +01:00
|
|
|
'(("freenode.net" "#ninthfloor" "#emacs")))
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq erc-hide-list '("JOIN" "PART" "QUIT"))
|
|
|
|
(setq erc-insert-timestamp-function 'erc-insert-timestamp-left)
|
|
|
|
(setq erc-nick "ryuslash")
|
|
|
|
(setq erc-timestamp-format "[%H:%M] ")
|
|
|
|
(setq erc-timestamp-only-if-changed-flag nil)
|
2012-08-18 13:57:56 +02:00
|
|
|
(setq fci-rule-color "darkred")
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq frame-title-format '(:eval (concat "emacs: " (buffer-name))))
|
|
|
|
(setq geiser-repl-history-filename "~/.emacs.d/geiser-history")
|
2012-11-07 18:53:32 +01:00
|
|
|
(setq gnus-init-file "~/.emacs.d/gnus")
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq gtags-auto-update t)
|
|
|
|
(setq help-at-pt-display-when-idle t)
|
2013-01-15 12:11:41 +01:00
|
|
|
(setq highlight-80+-columns 72)
|
|
|
|
(setq identica-enable-striping t)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq ido-auto-merge-delay-time 1000000)
|
2012-09-11 10:32:30 +02:00
|
|
|
(setq ido-default-buffer-method 'selected-window)
|
2012-09-07 15:21:59 +02:00
|
|
|
(setq ido-max-window-height 1)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq ido-save-directory-list-file nil)
|
2013-01-15 12:11:41 +01:00
|
|
|
(setq ido-ubiquitous-command-exceptions
|
|
|
|
'(org-refile org-capture-refile))
|
2012-08-18 13:57:56 +02:00
|
|
|
(setq inferior-lisp-program "sbcl")
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq inhibit-default-init t)
|
|
|
|
(setq inhibit-local-menu-bar-menus t)
|
|
|
|
(setq inhibit-startup-message t)
|
|
|
|
(setq initial-major-mode 'emacs-lisp-mode)
|
|
|
|
(setq initial-scratch-message nil)
|
2012-10-19 13:29:34 +02:00
|
|
|
(setq jabber-account-list '(("ryuslash@jabber.org")
|
2013-02-01 12:23:16 +01:00
|
|
|
("tom@ryuslash.org/Emacs"
|
2012-10-19 13:29:34 +02:00
|
|
|
(:connection-type . ssl))))
|
2013-02-01 12:23:16 +01:00
|
|
|
(setq jabber-chat-buffer-format "*jab:%n*")
|
2012-08-18 13:57:56 +02:00
|
|
|
(setq jabber-chat-buffer-show-avatar nil)
|
|
|
|
(setq jabber-chat-fill-long-lines nil)
|
2013-02-01 12:23:16 +01:00
|
|
|
(setq jabber-chat-foreign-prompt-format "%t %u/%r <\n")
|
|
|
|
(setq jabber-chat-local-prompt-format "%t %u/%r >\n")
|
2012-08-18 13:57:56 +02:00
|
|
|
(setq jabber-chatstates-confirm nil)
|
|
|
|
(setq jabber-history-dir "~/.emacs.d/jabber")
|
2013-01-25 00:32:30 +01:00
|
|
|
(setq jabber-muc-autojoin '("aethon@muc.ryuslash.org"))
|
2012-08-18 13:57:56 +02:00
|
|
|
(setq jabber-roster-show-bindings nil)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq jit-lock-defer-time 0.2)
|
2012-12-14 00:16:57 +01:00
|
|
|
(setq magit-repo-dirs '("~/projects/" "~/var/src/"))
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq message-log-max 1000)
|
|
|
|
(setq message-send-mail-function 'message-send-mail-with-sendmail)
|
2012-11-19 23:22:51 +01:00
|
|
|
(setq message-sendmail-extra-arguments '("-a" "ryuslash"))
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq package-archives
|
|
|
|
'(("melpa" . "http://melpa.milkbox.net/packages/")
|
2013-01-15 12:11:41 +01:00
|
|
|
("marmalade" . "http://marmalade-repo.org/packages/")
|
|
|
|
("gnu" . "http://elpa.gnu.org/packages/")))
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq package-load-list '((htmlize "1.39")
|
2012-09-14 01:55:41 +02:00
|
|
|
(lua-mode "20111107")
|
2012-08-26 21:50:26 +02:00
|
|
|
all))
|
|
|
|
(setq php-function-call-face 'font-lock-function-name-face)
|
|
|
|
(setq php-mode-force-pear t)
|
2012-09-11 23:27:45 +02:00
|
|
|
(setq pony-tpl-indent-moves t)
|
2012-11-20 18:53:28 +01:00
|
|
|
(setq pp^L-^L-string-function 'oni:pretty-control-l-function)
|
|
|
|
(setq pp^L-^L-string-pre nil)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq rainbow-delimiters-max-face-count 12)
|
|
|
|
(setq redisplay-dont-pause t)
|
|
|
|
(setq send-mail-function 'smtpmail-send-it)
|
|
|
|
(setq sendmail-program "/usr/bin/msmtp")
|
2013-01-16 01:30:00 +01:00
|
|
|
(setq sentence-end-double-space nil)
|
2012-09-14 01:55:41 +02:00
|
|
|
(setq smex-key-advice-ignore-menu-bar t)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq smex-save-file "~/.emacs.d/smex-items")
|
2012-09-07 15:21:59 +02:00
|
|
|
(setq split-height-threshold 40)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq time-stamp-active t)
|
|
|
|
(setq time-stamp-format "%04y-%02m-%02d %02H:%02M:%02S (%u)")
|
2012-12-14 00:16:57 +01:00
|
|
|
(setq type-break-good-rest-interval (* 60 10))
|
|
|
|
(setq type-break-interval (* 60 50))
|
|
|
|
(setq type-break-keystroke-threshold '(nil . nil))
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq uniquify-buffer-name-style 'post-forward)
|
|
|
|
(setq use-dialog-box nil)
|
|
|
|
(setq user-full-name "Tom Willemsen")
|
2012-11-19 23:22:51 +01:00
|
|
|
(setq user-mail-address "tom@ryuslash.org")
|
2012-11-27 11:12:17 +01:00
|
|
|
(setq w3m-fill-column 72)
|
2012-09-07 15:21:59 +02:00
|
|
|
(setq window-combination-resize t)
|
2012-12-17 12:11:03 +01:00
|
|
|
(setq yas-fallback-behavior nil)
|
2012-08-26 21:50:26 +02:00
|
|
|
(setq yas-prompt-functions '(yas-ido-prompt))
|
2012-08-18 13:57:56 +02:00
|
|
|
|
2012-12-04 17:41:57 +01:00
|
|
|
(add-hook 'after-change-major-mode-hook 'set-current-mode-icon)
|
2012-09-02 11:29:02 +02:00
|
|
|
(add-hook 'after-save-hook 'oni:after-save-func t)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'before-save-hook 'oni:before-save-func)
|
|
|
|
(add-hook 'c-mode-hook 'oni:c-mode-func)
|
|
|
|
(add-hook 'css-mode-hook 'oni:css-mode-func)
|
2012-08-18 13:57:56 +02:00
|
|
|
(add-hook 'diary-display-hook 'oni:diary-display-func)
|
2013-02-15 00:33:57 +01:00
|
|
|
(add-hook 'emacs-startup-hook 'oni:emacs-startup-func)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'emacs-lisp-mode-hook 'oni:emacs-lisp-mode-func)
|
|
|
|
(add-hook 'erc-mode-hook 'oni:erc-mode-func)
|
|
|
|
(add-hook 'go-mode-hook 'oni:go-mode-func)
|
|
|
|
(add-hook 'gtags-mode-hook 'oni:gtags-mode-func)
|
2013-02-15 00:32:41 +01:00
|
|
|
(add-hook 'haskell-mode-hook 'oni:haskell-mode-func)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'html-mode-hook 'oni:html-mode-func)
|
2012-10-17 00:38:29 +02:00
|
|
|
(add-hook 'jabber-alert-message-hooks 'oni:jabber-alert-message-func)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'jabber-chat-mode-hook 'oni:jabber-chat-mode-func)
|
2012-09-16 23:41:22 +02:00
|
|
|
(add-hook 'jabber-roster-mode-hook 'oni:jabber-roster-mode-func)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'java-mode-hook 'oni:java-mode-func)
|
|
|
|
(add-hook 'js-mode-hook 'oni:js-mode-func)
|
2012-09-11 21:03:50 +02:00
|
|
|
(add-hook 'js2-mode-hook 'oni:js2-mode-func)
|
2012-09-13 10:38:37 +02:00
|
|
|
(add-hook 'lua-mode-hook 'oni:lua-mode-func)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'magit-log-edit-mode-hook 'oni:magit-log-edit-mode-func)
|
|
|
|
(add-hook 'markdown-mode-hook 'oni:markdown-mode-func)
|
|
|
|
(add-hook 'message-mode-hook 'oni:message-mode-func)
|
|
|
|
(add-hook 'org-mode-hook 'oni:org-mode-func)
|
|
|
|
(add-hook 'php-mode-hook 'oni:php-mode-func)
|
|
|
|
(add-hook 'prog-mode-hook 'oni:prog-mode-func)
|
|
|
|
(add-hook 'python-mode-hook 'oni:python-mode-func)
|
2012-10-11 21:23:32 +02:00
|
|
|
(add-hook 'rst-mode-hook 'oni:rst-mode-func)
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-hook 'term-mode-hook 'oni:term-mode-func)
|
|
|
|
(add-hook 'texinfo-mode-hook 'oni:texinfo-mode-func)
|
|
|
|
(add-hook 'write-file-hooks 'oni:write-file-func)
|
2012-11-27 11:12:17 +01:00
|
|
|
(add-hook 'yas-minor-mode-hook 'oni:yas-minor-mode-func)
|
2012-08-18 13:57:56 +02:00
|
|
|
|
2013-01-25 00:32:30 +01:00
|
|
|
(define-key key-translation-map (kbd "C-j") (kbd "C-l"))
|
|
|
|
(define-key key-translation-map (kbd "C-l") (kbd "C-j"))
|
|
|
|
|
2012-08-26 21:50:26 +02:00
|
|
|
(global-set-key (kbd "'") 'oni:self-insert-dwim)
|
|
|
|
(global-set-key (kbd "<XF86HomePage>") 'oni:raise-scratch)
|
|
|
|
(global-set-key (kbd "<XF86Mail>") 'oni:view-mail)
|
2012-10-17 00:38:29 +02:00
|
|
|
(global-set-key (kbd "<f10>") 'git-project-show-files)
|
2012-10-11 21:23:32 +02:00
|
|
|
(global-set-key (kbd "<f5>") 'ext:reload-buffer)
|
2012-08-26 21:50:26 +02:00
|
|
|
(global-set-key (kbd "<f6>") 'jabber-switch-to-roster-buffer)
|
|
|
|
(global-set-key (kbd "<f7>") 'magit-status)
|
2013-02-15 00:36:22 +01:00
|
|
|
(global-set-key (kbd "<hiragana>") 'oni:show-org-index)
|
2012-10-22 23:59:38 +02:00
|
|
|
(global-set-key (kbd "C-<") 'oni:indent-shift-left)
|
|
|
|
(global-set-key (kbd "C->") 'oni:indent-shift-right)
|
2012-10-07 22:13:55 +02:00
|
|
|
(global-set-key (kbd "C-M-4") 'split-window-vertically)
|
2012-09-25 09:58:26 +02:00
|
|
|
(global-set-key (kbd "C-M-SPC") 'er/expand-region)
|
2012-08-26 21:50:26 +02:00
|
|
|
(global-set-key (kbd "C-M-d") 'kill-word)
|
|
|
|
(global-set-key (kbd "C-M-w") 'backward-kill-word)
|
|
|
|
(global-set-key (kbd "C-S-k") 'kill-whole-line)
|
|
|
|
(global-set-key (kbd "C-a") 'oni:move-beginning-of-dwim)
|
|
|
|
(global-set-key (kbd "C-c a") 'org-agenda)
|
|
|
|
(global-set-key (kbd "C-c c") 'org-capture)
|
|
|
|
(global-set-key (kbd "C-c i p") 'identica-update-status-interactive)
|
2012-10-07 22:13:55 +02:00
|
|
|
(global-set-key (kbd "C-c p") 'oni:show-buffer-position)
|
2012-10-17 09:04:54 +02:00
|
|
|
(global-set-key (kbd "C-c t") 'oni:raise-ansi-term)
|
2012-08-26 21:50:26 +02:00
|
|
|
(global-set-key (kbd "C-d") 'oni:kill-region-or-forward-char)
|
|
|
|
(global-set-key (kbd "C-e") 'oni:move-end-of-dwim)
|
|
|
|
(global-set-key (kbd "C-k") 'oni:kill-region-or-line)
|
|
|
|
(global-set-key (kbd "C-w") 'oni:kill-region-or-backward-char)
|
2013-02-01 12:25:18 +01:00
|
|
|
(global-set-key (kbd "M-0") 'delete-window)
|
2012-12-11 01:46:16 +01:00
|
|
|
(global-set-key (kbd "M-1") 'delete-other-windows)
|
|
|
|
(global-set-key (kbd "M-2") 'split-window-below)
|
|
|
|
(global-set-key (kbd "M-3") 'split-window-right)
|
2013-02-01 12:25:18 +01:00
|
|
|
(global-set-key (kbd "M-4") 'split-window-horizontally)
|
|
|
|
(global-set-key (kbd "M-n") 'idomenu)
|
|
|
|
(global-set-key (kbd "M-o") 'other-window)
|
|
|
|
(global-set-key (kbd "\"") 'oni:self-insert-dwim)
|
2012-08-18 13:57:56 +02:00
|
|
|
|
2012-09-14 09:56:35 +02:00
|
|
|
(if (daemonp)
|
2012-10-23 00:23:36 +02:00
|
|
|
(global-set-key "\C-x\C-c" 'oni:close-client-window))
|
2012-08-18 13:57:56 +02:00
|
|
|
|
2012-08-26 21:50:26 +02:00
|
|
|
(when (or window-system (daemonp))
|
|
|
|
(global-unset-key "\C-z"))
|
2012-08-18 13:57:56 +02:00
|
|
|
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-to-list 'auto-mode-alist '("\\.jl$" . sawfish-mode))
|
2012-09-11 21:03:50 +02:00
|
|
|
(add-to-list 'auto-mode-alist '("\\.js\\(on\\)?$" . js2-mode))
|
2012-11-27 11:12:17 +01:00
|
|
|
(add-to-list 'auto-mode-alist
|
|
|
|
'("\\.m\\(ark\\)?d\\(?:o?wn\\)?$" . markdown-mode))
|
2012-08-26 21:50:26 +02:00
|
|
|
(add-to-list 'auto-mode-alist '("\\.php[345]?$" . php-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.po\\'\\|\\.po\\." . po-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.tpl$" . html-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("^PKGBUILD$" . shell-script-mode))
|
2012-08-18 13:57:56 +02:00
|
|
|
(add-to-list 'auto-mode-alist '("^\\.Xmodmap$" . xmodmap-mode))
|
|
|
|
|
|
|
|
(add-to-list 'debug-ignored-errors "^Can't shift all lines enough")
|
|
|
|
|
2013-01-04 00:01:08 +01:00
|
|
|
(add-to-list
|
|
|
|
'display-buffer-alist
|
|
|
|
'("^\\*\\(?:.+-\\)?scratch\\*$" . ((display-buffer-same-window . nil))))
|
2012-11-27 11:12:17 +01:00
|
|
|
(add-to-list
|
|
|
|
'display-buffer-alist
|
|
|
|
'("^\\*git-project-list\\*$" . ((git-project-show-window . nil))))
|
2012-12-28 11:24:28 +01:00
|
|
|
(add-to-list
|
|
|
|
'display-buffer-alist
|
|
|
|
'("^\\*magit: .*\\*$" . ((display-buffer-same-window . nil))))
|
2012-09-17 20:01:41 +02:00
|
|
|
|
2012-08-18 13:57:56 +02:00
|
|
|
(blink-cursor-mode -1)
|
2013-01-03 23:59:26 +01:00
|
|
|
(column-number-mode -1)
|
|
|
|
(line-number-mode -1)
|
2012-08-18 13:57:56 +02:00
|
|
|
(tooltip-mode -1)
|
|
|
|
|
2013-01-25 00:32:30 +01:00
|
|
|
(package-initialize)
|
|
|
|
|
2012-09-25 09:58:26 +02:00
|
|
|
(auto-insert-mode)
|
2013-01-25 00:32:30 +01:00
|
|
|
(cua-selection-mode t)
|
2012-08-26 21:50:26 +02:00
|
|
|
(electric-indent-mode)
|
|
|
|
(electric-pair-mode)
|
2012-08-18 13:57:56 +02:00
|
|
|
(ido-mode)
|
2013-01-03 23:59:26 +01:00
|
|
|
(ido-ubiquitous-mode)
|
2012-08-26 21:50:26 +02:00
|
|
|
(savehist-mode)
|
|
|
|
(show-paren-mode)
|
2013-01-03 23:59:26 +01:00
|
|
|
(winner-mode)
|
2012-08-18 13:57:56 +02:00
|
|
|
|
|
|
|
(smex-initialize)
|
|
|
|
(help-at-pt-set-timer)
|
2013-01-25 00:32:30 +01:00
|
|
|
(windmove-default-keybindings)
|
|
|
|
(global-diff-hl-mode)
|
2012-08-18 13:57:56 +02:00
|
|
|
|
|
|
|
(load custom-file)
|
2013-01-04 00:01:29 +01:00
|
|
|
;; (load "rudel-loaddefs.el")
|
2012-08-18 13:57:56 +02:00
|
|
|
(load (expand-file-name "~/quicklisp/slime-helper.el"))
|
2012-09-07 15:21:59 +02:00
|
|
|
|
2012-10-22 23:59:38 +02:00
|
|
|
(unless (server-running-p)
|
2012-11-05 21:04:22 +01:00
|
|
|
(server-start))
|
2012-10-22 23:59:38 +02:00
|
|
|
|
2012-12-19 23:55:48 +01:00
|
|
|
(diminish 'auto-fill-function "_")
|
|
|
|
|
2012-09-07 15:21:59 +02:00
|
|
|
(provide 'init)
|
|
|
|
|
|
|
|
;;; init.el ends here
|