]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Add project-compile tp project-switch-commands
authorEshel Yaron <eshel@areionsec.com>
Thu, 26 May 2022 19:32:22 +0000 (22:32 +0300)
committerEshel Yaron <eshel@areionsec.com>
Thu, 26 May 2022 19:32:22 +0000 (22:32 +0300)
.emacs.d/esy.org

index 0a251c14b5f4264343cef40de0e9fe73c83d954e..5273de1519b655792e0793196576a068c4b4e31a 100644 (file)
@@ -21,6 +21,9 @@ SourceHut]]. An [[https://eshelyaron.com/esy.html][online HTML version]] is also
 exporting and publishing]] below for more information regarding [[https://eshelyaron.com][my website]].
 
 ** Last modification time
+:PROPERTIES:
+:CUSTOM_ID: last-modification-time
+:END:
 
 This file was last updated at:
 
@@ -30,6 +33,9 @@ This file was last updated at:
 #+end_src
 
 ** Current source control revision
+:PROPERTIES:
+:CUSTOM_ID: current-git-revision
+:END:
 
 Git revision of this file:
 
@@ -164,6 +170,9 @@ For further information about Elisp headers, see [[info:elisp#Library
 #+end_src
 
 * Add local Elisp directory to load-path
+:PROPERTIES:
+:CUSTOM_ID: add-to-load-path
+:END:
 
 #+begin_src emacs-lisp
   (add-to-list 'load-path (expand-file-name  "lisp/" user-emacs-directory))
@@ -850,6 +859,8 @@ refiling directly into deeper headings as well.
     (keymap-set ctl-x-map "c" #'org-capture)
     (keymap-set ctl-x-map "o" #'ace-window)
     (keymap-set ctl-x-map "w" #'esy/eww)
+    (keymap-set ctl-x-map "G" #'gnus)
+    (keymap-set ctl-x-map "E" #'elfeed)
     (keymap-set ctl-x-map "j" #'org-agenda))
 
   (add-hook 'after-init-hook #'esy/customize-ctl-x-map)
@@ -1271,6 +1282,16 @@ include =emacs-lisp-mode= and =lisp-interaction-mode=.
               #'TeX-revert-document-buffer))
 #+end_src
 
+* Project switch commands
+:PROPERTIES:
+:CUSTOM_ID: project-switch-commands
+:END:
+
+#+begin_src emacs-lisp
+  (with-eval-after-load 'project
+    (add-to-list 'project-switch-commands '(project-compile "Compile")))
+#+end_src
+
 * Misc. settings
 :PROPERTIES:
 :CUSTOM_ID: misc