-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhistory
59 lines (50 loc) · 1.98 KB
/
history
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
;; -*- mode: emacs-lisp; coding: utf-8-unix -*-
;; Minibuffer history file, automatically generated by `savehist'.
(setq savehist-minibuffer-history-variables '(minibuffer-history))
(setq minibuffer-history '("menu-mode" "org-" "org"))
(setq search-ring 'nil)
(setq regexp-search-ring 'nil)
(setq file-name-history 'nil)
(setq extended-command-history '("menu-bar-mode" "org-columns" "org-cycle" "eval-buffer"))
(setq kill-ring '("(require 'package)
;since we are using use-packag-don't autoload anythings
(setq package-enable-at-startup nil)
;sources for package.el
(dolist (source '((\"marmalade\" . \"http://marmalade-repo.org/packages/\")
(\"elpa\" . \"http://tromey.com/elpa/\")
;; TODO: Maybe, use this after emacs24 is released
;; (development versions of packages)
(\"melpa\" . \"http://melpa.milkbox.net/packages/\")
))
(add-to-list 'package-archives source t))
;; Initialize installed package
(package-initialize)
;; Bootstrap `use-package'
;(unless (package-installed-p 'use-package)
; (package-refresh-contents)
; (package-install 'use-package))
(require 'use-package)
" "(use-package helm
:ensure t
:config
(require 'helm-config)
(helm-mode 1)
(global-set-key (kbd \"M-x\") 'helm-M-x)
(setq helm-M-x-fuzzy-match t) ;; optional fuzzy matching for helm-M-x
)" ";If I reopen a file, I want to start at the line at which I was when I closed it.
; save the place in files
(require 'saveplace)
(setq-default save-place t)
; save minibuffer history
(require 'savehist)
(setq savehist-additional-variables '(search-ring
regexp-search-ring
file-name-history
extended-command-history
kill-ring))
;;autosave
;(setq auto-save-visited-file-name t)
;(setq auto-save-interval 20) ; twenty keystrokes
(setq auto-save-timeout 60) ; ten idle seconds
(savehist-mode t)
"))