projects
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs - disable backup
[dotfiles.git]
/
emacs.d
/
config.org
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
1ab323a
..
5a5582d
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-49,7
+49,6
@@
Set the emacs load path
Disable scroll bar, tool-bar and menu-bar
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
Disable scroll bar, tool-bar and menu-bar
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-
(scroll-bar-mode 0)
(tool-bar-mode 0)
(menu-bar-mode 1)
(scroll-bar-mode 0)
(tool-bar-mode 0)
(menu-bar-mode 1)
@@
-59,9
+58,8
@@
Disable scroll bar, tool-bar and menu-bar
(defalias 'yes-or-no-p 'y-or-n-p)
(show-paren-mode 1)
(defalias 'yes-or-no-p 'y-or-n-p)
(show-paren-mode 1)
-
-
-
+ ;; don't backupf
+ (setq make-backup-files nil)
#+END_SRC
set custom file
#+END_SRC
set custom file
@@
-82,6
+80,12
@@
Switch the focus to help window when it appears
#+END_SRC
#+END_SRC
+Setting scroll right/left
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+ ; (global-set-key (kbd "C-,") 'scoll-left)
+ ; (global-set-key (kbd "C-.") 'scoll-right)
+#+END_SRC
+
* Package Management Tools
** Use-package
* Package Management Tools
** Use-package
@@
-151,7
+155,7
@@
syntax highlighting
(if window-system
(defvar sd/fixed-font-family
(cond ((x-list-fonts "Hasklig") "Hasklig")
(if window-system
(defvar sd/fixed-font-family
(cond ((x-list-fonts "Hasklig") "Hasklig")
- ((x-list-fonts "Source Code Pro") "Source Code Pro")
+ ((x-list-fonts "Source Code Pro") "Source Code Pro
:weight:light
")
((x-list-fonts "Anonymous Pro") "Anonymous Pro")
((x-list-fonts "M+ 1mn") "M+ 1mn"))
"The fixed width font based on what is installed, `nil' if not defined."))
((x-list-fonts "Anonymous Pro") "Anonymous Pro")
((x-list-fonts "M+ 1mn") "M+ 1mn"))
"The fixed width font based on what is installed, `nil' if not defined."))
@@
-165,7
+169,7
@@
Setting the fonts
(if window-system
(when sd/fixed-font-family
(set-frame-font sd/fixed-font-family)
(if window-system
(when sd/fixed-font-family
(set-frame-font sd/fixed-font-family)
- (set-face-attribute 'default nil :font sd/fixed-font-family :height 1
4
0)
+ (set-face-attribute 'default nil :font sd/fixed-font-family :height 1
3
0)
(set-face-font 'default sd/fixed-font-family)))
#+END_SRC
(set-face-font 'default sd/fixed-font-family)))
#+END_SRC
@@
-674,17
+678,15
@@
All captured file which need next actions are stored in =refile.org=,
#+END_SRC
*** Agenda Setup
#+END_SRC
*** Agenda Setup
-
+Setting agenda files and the agenda view
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
- (setq org-agenda-files (quote ("~/org/plan.org"
- "~/org/gtd.org"
+ (setq org-agenda-files (quote ("~/org/gtd.org"
"~/org/work.org")))
"~/org/work.org")))
-#+END_SRC
-Only show today's view in agenda view by default
-
-#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+ ;; only show today's tasks in agenda view
(setq org-agenda-span 'day)
(setq org-agenda-span 'day)
+ ;; Use current windows for agenda view
+ (setq org-agenda-window-setup 'current-window)
#+END_SRC
** Capture
#+END_SRC
** Capture