config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 6929f3c755b974265ae1b63a85a3c117a4884dce
parent 1573647a99a9a98a8b43e31b2c4bcc967c4196c1
Author: dwrz <dwrz@dwrz.net>
Date:   Fri,  9 Jun 2023 16:07:48 +0000

Update emacs init

Diffstat:
Memacs/init.el | 17+++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -3,10 +3,6 @@ delete-by-moving-to-trash t echo-keystrokes 0.1 enable-recursive-minibuffers t - exec-path (append exec-path '("/home/dwrz/.local/bin/" - "/home/dwrz/.local/share/go/bin/" - "/home/dwrz/.local/share/node_modules/bin/" - )) next-screen-context-lines 5 scroll-conservatively 10000 use-dialog-box nil @@ -19,7 +15,6 @@ (setq-default fill-column 80 indent-tabs-mode t require-final-newline t - shell-file-name (getenv "SHELL") tab-width 8 truncate-lines nil) @@ -31,8 +26,11 @@ initial-scratch-message nil user-mail-address "dwrz@dwrz.net") +(put 'downcase-region 'disabled nil) +(put 'upcase-region 'disabled nil) + ;; Custom -(setq custom-file "/home/dwrz/.cache/custom.el") +(setq custom-file "~/.cache/custom.el") ;; FUNCTIONS @@ -178,7 +176,7 @@ (with-eval-after-load 'go-playground (setq go-playground-ask-file-name nil - go-playground-basedir "/home/dwrz/.local/share/go/src/playground/" + go-playground-basedir "~/.local/share/go/src/playground/" go-playground-go-command "GO111MODULE=auto go" go-playground-init-command "go mod init")) @@ -341,7 +339,7 @@ "~/projects/src/src.org" "~/projects/wish/wish.org") org-archive-location - "/home/dwrz/org/archive.org::")))) + "~/org/archive.org::")))) (with-eval-after-load 'org-capture (setq org-capture-templates @@ -558,7 +556,7 @@ (global-set-key (kbd "C-c u") nil) (global-set-key (kbd "C-c v") nil) (global-set-key (kbd "C-c w") 'hydra-windows/body) -(global-set-key (kbd "C-c x") 'yas-expand) +(global-set-key (kbd "C-c x") nil) (global-set-key (kbd "C-c y") nil) (global-set-key (kbd "C-c z") 'counsel-fzf) (global-set-key (kbd "C-c #") 'display-line-numbers-mode) @@ -573,4 +571,3 @@ (global-set-key (kbd "C-x m") 'notmuch) (global-set-key (kbd "C-x t") 'dwrz-terminal) (global-set-key (kbd "M-x") 'counsel-M-x) -(put 'downcase-region 'disabled nil)