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)
(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
+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
(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."))
(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 140)
+ (set-face-attribute 'default nil :font sd/fixed-font-family :height 130)
(set-face-font 'default sd/fixed-font-family)))
#+END_SRC
#+END_SRC
*** Agenda Setup
-
+Setting agenda files and the agenda view
#+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")))
-#+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)
+ ;; Use current windows for agenda view
+ (setq org-agenda-window-setup 'current-window)
#+END_SRC
** Capture