periodic check-in
This commit is contained in:
25
.spacemacs
25
.spacemacs
@@ -33,6 +33,7 @@ This function should only modify configuration layer settings."
|
||||
;; List of configuration layers to load.
|
||||
dotspacemacs-configuration-layers
|
||||
'(swift
|
||||
multiple-cursors ;; https://www.spacemacs.org/layers/+misc/multiple-cursors/README.html#key-bindings
|
||||
shell
|
||||
yaml
|
||||
themes-megapack
|
||||
@@ -682,6 +683,18 @@ before packages are loaded."
|
||||
(global-set-key (kbd "<f9> s") 'jp/set-dotfiles-environment)
|
||||
(global-set-key (kbd "<f9> u") 'jp/unset-dotfiles-environment)
|
||||
|
||||
(defun jp/set-scm-git()
|
||||
(interactive)
|
||||
(setq magit-git-executable "/usr/local/bin/scm-git"))
|
||||
|
||||
;; for scm-git
|
||||
(defun jp/unset-scm-git()
|
||||
(interactive)
|
||||
(setq magit-git-executable "/usr/bin/git"))
|
||||
|
||||
(global-set-key (kbd "<f9> 1") 'jp/set-scm-git)
|
||||
(global-set-key (kbd "<f9> 2") 'jp/unset-scm-git)
|
||||
|
||||
|
||||
(defun magit-status-dotfiles ()
|
||||
"Open Magit with the dotfiles Git configuration."
|
||||
@@ -785,7 +798,7 @@ before packages are loaded."
|
||||
|
||||
(setq org-refile-targets '(("/Users/jetpac/Documents/org/projects.org" :maxlevel . 3)
|
||||
("/Users/jetpac/Documents/org/inbox.org" :maxlevel . 3)
|
||||
("/Users/jetpac/Documents/org/work/oracle.org" :maxlevel . 3)
|
||||
("/Users/jetpac/Documents/org/work/oracle.org" :maxlevel . 4)
|
||||
("/Users/jetpac/Documents/org/someday.org" :maxlevel . 3)
|
||||
("/Users/jetpac/Documents/org/inbox.org" :maxlevel . 3)
|
||||
("/Users/jetpac/Documents/org/calendar.org" :maxlevel . 2)))
|
||||
@@ -934,8 +947,18 @@ before packages are loaded."
|
||||
|
||||
(global-set-key (kbd "<f9> i") 'bh/punch-in)
|
||||
(global-set-key (kbd "<f9> o") 'bh/punch-out)
|
||||
(global-set-key (kbd "<f9> h") 'bh/hide-other)
|
||||
(global-set-key (kbd "<f11>") 'org-clock-goto)
|
||||
|
||||
(defun bh/hide-other ()
|
||||
(interactive)
|
||||
(save-excursion
|
||||
(org-back-to-heading 'invisible-ok)
|
||||
(hide-other)
|
||||
(org-cycle)
|
||||
(org-cycle)
|
||||
(org-cycle)))
|
||||
|
||||
;; Resume clocking task when emacs is restarted
|
||||
(org-clock-persistence-insinuate)
|
||||
;; Save the running clock and all clock history when exiting Emacs, load it on startup
|
||||
|
||||
Reference in New Issue
Block a user