-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminiconf-2.el
64 lines (49 loc) · 1.92 KB
/
miniconf-2.el
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
62
63
64
;;;
;;; code:
(require 'cl)
(blink-cursor-mode -1)
(show-paren-mode 1)
(setq inhibit-startup-message t)
(add-to-list 'load-path "~/elisp/")
(add-to-list 'load-path "~/elisp/emacs-async") ; required by tv-utils.
(add-to-list 'load-path "~/elisp/helm")
(add-to-list 'load-path "~/elisp/helm-extensions/")
(add-to-list 'load-path "~/.emacs.d/emacs-config-laptop")
(setq default-frame-alist '((foreground-color . "Wheat")
(background-color . "Black")
(menu-bar-lines . 0)
(tool-bar-lines . 0)
(vertical-scroll-bars . nil)
(cursor-color . "red")
(font . "-unknown-DejaVu Sans Mono-bold-normal-normal-*-14-*-*-*-m-0-iso10646-1")))
;; Don't-fucking-split-this-windows-horizontally
(setq split-width-threshold nil)
;; Enable recursive buffers
(require 'mb-depth)
(setq enable-recursive-minibuffers t)
(minibuffer-depth-indicate-mode 1)
;;; Helm minimal config
(require 'helm-config) ; Contain all autoloads
(global-set-key (kbd "C-x C-f") 'helm-find-files)
(global-set-key (kbd "M-x") 'helm-M-x)
(global-set-key (kbd "C-x C-b") 'helm-buffers-list)
;; (require 'descbinds-helm)
;; (descbinds-helm-install) ; C-h b, C-x C-h
(fset 'yes-or-no-p 'y-or-n-p)
;; Tv-utils
(require 'tv-utils)
;; Ioccur
(require 'ioccur)
(global-set-key (kbd "C-c o") 'ioccur)
(global-set-key [remap occur] 'ioccur)
(global-set-key [remap isearch-forward] 'ioccur)
(global-set-key (kbd "C-c C-o") 'ioccur-find-buffer-matching)
;(load "~/.emacs.d/elisp-objects/ioccur-history.elc")
;; Eldoc
(require 'eldoc-eval)
(add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
(add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
(with-current-buffer "*scratch*" (lisp-interaction-mode))
(add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)
(add-hook 'eshell-mode-hook 'turn-on-eldoc-mode)
;;; miniconf-2.el ends here