added clocking defaults and ansi-term hotkey

This commit is contained in:
petrucci4prez 2018-08-21 22:45:02 -04:00
parent 24982e2dc1
commit f4f00da83a
1 changed files with 8 additions and 2 deletions

View File

@ -791,7 +791,10 @@ No need to file under DONE or CANC states
#+END_SRC
*** clocking
#+BEGIN_SRC emacs-lisp
(setq org-clock-history-length 23
org-clock-out-when-done t
org-clock-persist t
org-clock-report-include-clocking-task t)
#+END_SRC
*** agenda
**** general config
@ -1792,7 +1795,8 @@ Dired makes new buffers by default. Use =find-alternate-file= to avoid this.
"a" 'dired-find-file
(kbd "<return>") 'dired-find-alternate-file
"^" (lambda () (interactive) (find-alternate-file ".."))
(kbd "C-<return>") 'nd/dired-xdg-open)
(kbd "C-<return>") 'nd/dired-xdg-open
"q" 'nd/kill-current-buffer)
#+END_SRC
**** helm
I like tab completion...regardless of what the helm zealots say. This is actually easier and faster because I can just scroll through the source list with j/k and mash TAB when I find the right directory.
@ -1830,6 +1834,8 @@ These are for mode-specific bindings that can/should be outside of the evil maps
(global-set-key (kbd "<f1>") 'org-agenda)
(global-set-key (kbd "<f2>") 'org-capture)
(global-set-key (kbd "<f3>") 'cfw:open-org-calendar)
(global-set-key (kbd "<f4>") 'org-clock-goto)
(global-set-key (kbd "<f5>") 'ansi-term)
(global-set-key (kbd "<f12>") 'mu4e)
(global-set-key (kbd "C-<f12>") 'global-hl-line-mode)
(global-set-key (kbd "S-<f12>") 'display-line-numbers-mode)