diff options
author | Joe <rrbo@proton.me> | 2023-07-17 12:06:11 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-07-17 12:06:11 +0200 |
commit | 48845d9f803678b8660574f91cc5f703392e153f (patch) | |
tree | 31848fc57f9e06de17a17067a8a22e1abde3d213 /.config/emacs/org | |
parent | up (diff) | |
download | dotfiles-bsd-48845d9f803678b8660574f91cc5f703392e153f.tar.gz dotfiles-bsd-48845d9f803678b8660574f91cc5f703392e153f.tar.bz2 dotfiles-bsd-48845d9f803678b8660574f91cc5f703392e153f.tar.xz dotfiles-bsd-48845d9f803678b8660574f91cc5f703392e153f.tar.zst dotfiles-bsd-48845d9f803678b8660574f91cc5f703392e153f.zip |
up
Diffstat (limited to '.config/emacs/org')
-rw-r--r-- | .config/emacs/org/config.org | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org index 652af6a..f041eb9 100644 --- a/.config/emacs/org/config.org +++ b/.config/emacs/org/config.org @@ -379,8 +379,8 @@ (setq helm-quick-update t helm-bookmark-show-location t helm-buffers-fuzzy-matching t - helm-make-executable "/usr/local/bin/gmake" - helm-make-nproc 5 + helm-make-executable "/usr/bin/make" + helm-make-nproc 12 helm-split-window-in-side-p t) (defun helm-my-buffers () @@ -573,7 +573,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (lambda nil (ansi-term shell-pop-term-shell))))) -(setq shell-pop-term-shell "/usr/local/bin/zsh") +(setq shell-pop-term-shell "/usr/bin/zsh") (add-to-list 'evil-emacs-state-modes 'term-mode) #+END_SRC @@ -868,10 +868,13 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." ** Custom funcs #+BEGIN_SRC emacs-lisp -(defadvice text-scale-increase (around all-buffers (arg) activate) - (dolist (buffer (buffer-list)) - (with-current-buffer buffer - ad-do-it))) + (defadvice text-scale-increase (around all-buffers (arg) activate) + (dolist (buffer (buffer-list)) + (with-current-buffer buffer + ad-do-it))) + + (defun my/insert-current-date () (interactive) + (insert (shell-command-to-string "echo ' *' $(date -R)"))) #+END_SRC ** Compilation @@ -905,7 +908,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (global-set-key [f4] 'helm-make-projectile) (global-set-key [f5] 'undo-tree-visualize) (global-set-key (kbd "C-x d") 'dired) + (global-set-key (kbd "C-x d") 'dired) (global-set-key (kbd "C-x b") 'ibuffer) + (global-set-key (kbd "C-c d") 'my/insert-current-date) (global-set-key (kbd "M-9") 'shell-command) (global-set-key (kbd "M-0") 'async-shell-command) (global-set-key (kbd "M-j") 'next-buffer) |