diff --git a/emacs_notes.org b/emacs_notes.org index ff126865..d47452b4 100644 --- a/emacs_notes.org +++ b/emacs_notes.org @@ -19,7 +19,14 @@ Emacs Notes -*- mode: org -*- ** C-M-f and C-M-b for movement by S-expression ** M-m for moving to current indentation -<2014-11-05 Wed> +* <2014-11-05 Wed> ** helm-show-kill-ring and helm-mark-ring and helm-global-mark-ring ** C-p s s to do helm-projectile-ag + +* <2014-11-10 Mon> + +** C-x c r to do helm-regex +** press tab in helm completion to get actions menu +** projectile-replace (basiclly find-name-dired, but will respect gitignores and automatically include appropriate files). +** M-r while in isearch-forward to toggle regexp mode diff --git a/init.el b/init.el index 068802ba..043f29c1 100644 --- a/init.el +++ b/init.el @@ -447,13 +447,13 @@ buffer is not visiting a file." (setq current-theme appropriate-theme))))) ;;(defvar fonts '("DejaVu Sans Mono-10" "monaco-11" "Inconsolata-12" "menlo-10")) -(defvar fonts '("Inconsolata-12" )) +(defvar fonts '("monaco-10")) (defun set-my-font-for-frame (frame) (condition-case exp (set-default-font (random-choice fonts) nil t) ('error (package-refresh-contents) - (set-default-font "monaco-11" nil t) nil))) + (set-default-font "monaco-10" nil t) nil))) (defun remove-fringe-and-hl-line-mode (&rest stuff) (scroll-bar-mode -1) @@ -468,4 +468,5 @@ buffer is not visiting a file." ;; enable to set theme based on time of day. (run-at-time "00:00" 3600 'set-theme) +;; This is needed because you can't set the font at daemon start-up. (add-hook 'after-make-frame-functions 'set-my-font-for-frame)