.emacs.d/init.el
This commit is contained in:
parent
73298c40cd
commit
c99d57dbf3
1 changed files with 9 additions and 4 deletions
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||||
(defalias 'list-buffers 'ibuffer)
|
(defalias 'list-buffers 'ibuffer)
|
||||||
|
(defalias 'dabbrev-expand 'hippie-expand)
|
||||||
|
|
||||||
(defface git-commit-summary-face
|
(defface git-commit-summary-face
|
||||||
'((t (:inherit org-level-1)))
|
'((t (:inherit org-level-1)))
|
||||||
|
@ -98,6 +99,9 @@
|
||||||
'flymake-allowed-file-name-masks ; flymaking 'easy'.
|
'flymake-allowed-file-name-masks ; flymaking 'easy'.
|
||||||
'("\\.go$" flymake-simple-make-init))))
|
'("\\.go$" flymake-simple-make-init))))
|
||||||
|
|
||||||
|
(eval-after-load "hippie-exp"
|
||||||
|
'(oni:load-hippie-exp 'yasnippet))
|
||||||
|
|
||||||
(eval-after-load "ido"
|
(eval-after-load "ido"
|
||||||
'(setq ido-ignore-buffers `(,@ido-ignore-buffers
|
'(setq ido-ignore-buffers `(,@ido-ignore-buffers
|
||||||
"^\\*.*\\*$" "^irc\\." "^\\#")))
|
"^\\*.*\\*$" "^irc\\." "^\\#")))
|
||||||
|
@ -119,6 +123,9 @@
|
||||||
(global-set-key (kbd "M-x") 'smex)
|
(global-set-key (kbd "M-x") 'smex)
|
||||||
(global-set-key (kbd "C-M-x") 'smex-major-mode-commands)))
|
(global-set-key (kbd "C-M-x") 'smex-major-mode-commands)))
|
||||||
|
|
||||||
|
(eval-after-load "yasnippet"
|
||||||
|
'(oni:load-hippie-exp 'hippie-exp))
|
||||||
|
|
||||||
(put 'upcase-region 'disabled nil)
|
(put 'upcase-region 'disabled nil)
|
||||||
(put 'downcase-region 'disabled nil)
|
(put 'downcase-region 'disabled nil)
|
||||||
(put 'narrow-to-region 'disabled nil)
|
(put 'narrow-to-region 'disabled nil)
|
||||||
|
@ -253,6 +260,7 @@
|
||||||
(setq magit-repo-dirs '("~/var/src/"))
|
(setq magit-repo-dirs '("~/var/src/"))
|
||||||
(setq message-log-max 1000)
|
(setq message-log-max 1000)
|
||||||
(setq message-send-mail-function 'message-send-mail-with-sendmail)
|
(setq message-send-mail-function 'message-send-mail-with-sendmail)
|
||||||
|
(setq message-sendmail-extra-arguments '("-a" "ryuslash"))
|
||||||
(setq mode-line-position nil)
|
(setq mode-line-position nil)
|
||||||
(setq package-archives
|
(setq package-archives
|
||||||
'(("melpa" . "http://melpa.milkbox.net/packages/")
|
'(("melpa" . "http://melpa.milkbox.net/packages/")
|
||||||
|
@ -278,6 +286,7 @@
|
||||||
(setq uniquify-buffer-name-style 'post-forward)
|
(setq uniquify-buffer-name-style 'post-forward)
|
||||||
(setq use-dialog-box nil)
|
(setq use-dialog-box nil)
|
||||||
(setq user-full-name "Tom Willemsen")
|
(setq user-full-name "Tom Willemsen")
|
||||||
|
(setq user-mail-address "tom@ryuslash.org")
|
||||||
(setq window-combination-resize t)
|
(setq window-combination-resize t)
|
||||||
(setq yas-prompt-functions '(yas-ido-prompt))
|
(setq yas-prompt-functions '(yas-ido-prompt))
|
||||||
|
|
||||||
|
@ -363,10 +372,6 @@
|
||||||
|
|
||||||
(add-to-list 'debug-ignored-errors "^Can't shift all lines enough")
|
(add-to-list 'debug-ignored-errors "^Can't shift all lines enough")
|
||||||
|
|
||||||
(add-to-list 'display-buffer-alist
|
|
||||||
'(".*" . ((bw-display-in-other-window . nil))))
|
|
||||||
(add-to-list 'display-buffer-alist
|
|
||||||
'("^\\*.*\\*$" . ((bw-display-in-bottom-window . nil))))
|
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
'("^\\*magit: .*\\*$" . ((display-buffer-same-window . nil))))
|
'("^\\*magit: .*\\*$" . ((display-buffer-same-window . nil))))
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
|
|
Loading…
Reference in a new issue