aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-16 20:51:06 +0000
committerYann Herklotz <git@yannherklotz.com>2020-03-16 20:51:06 +0000
commita9bb367d8117fb92d966eca6d5aefe1c70036a4b (patch)
treeb104f4ff23943f63353487ed2e5b89b11ed03df1 /emacs
parentf763fb20585973b1c7cd5691607fdfd984ce27f9 (diff)
downloaddotfiles-a9bb367d8117fb92d966eca6d5aefe1c70036a4b.tar.gz
dotfiles-a9bb367d8117fb92d966eca6d5aefe1c70036a4b.zip
Add temp files, need to work on integrating
Diffstat (limited to 'emacs')
-rw-r--r--emacs/loader.org20
1 files changed, 18 insertions, 2 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index 1183215..b66488b 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -109,7 +109,7 @@ yes or no. Also stop the start up message from popping up and enter the scratch
buffer instead.
#+BEGIN_SRC emacs-lisp
- ;;(setq warning-minimum-level :emergency)
+ (setq warning-minimum-level :emergency)
(setq inhibit-startup-message t
confirm-nonexistent-file-or-buffer nil
default-directory "~/")
@@ -121,11 +121,18 @@ buffer instead.
(fset 'yes-or-no-p 'y-or-n-p)
(global-hl-line-mode 1)
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
- (when (string= system-type "darwin")
+ (when (eq system-type 'darwin)
(setq dired-use-ls-dired nil))
#+END_SRC
#+BEGIN_SRC emacs-lisp
+ (when (eq system-type 'darwin)
+ (setq mac-right-option-modifier 'none
+ mac-option-key-is-meta nil
+ mac-command-key-is-meta t
+ mac-command-modifier 'meta
+ mac-option-modifier nil))
+
(global-set-key (kbd "M-u") #'upcase-dwim)
(global-set-key (kbd "M-l") #'downcase-dwim)
(global-set-key (kbd "M-c") #'capitalize-dwim)
@@ -447,6 +454,15 @@ Define utility functions to make the reader work.
#+END_SRC
* Utility
+** Zettelkasten
+
+#+begin_src emacs-lisp
+ (when (file-directory-p "~/Projects/emacs-zettelkasten")
+ (add-to-list 'load-path "~/Projects/emacs-zettelkasten")
+ (require 'zettelkasten)
+ (zettelkasten-mode t))
+#+end_src
+
** Navigation
Set navigation commands in all the buffers