summaryrefslogtreecommitdiff
path: root/emacs/.emacs
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-10-11 11:19:42 +0200
committerJulian T <julian@jtle.dk>2022-10-11 11:19:42 +0200
commit9d958f167a62371107f9b83ded6031c9192eb242 (patch)
treecbd5ade4f479b560635ad986068268d6baaf3eac /emacs/.emacs
parent3e3f2a9123745a1b88f026ccb9fd176c18f60888 (diff)
Emacs changes
Diffstat (limited to 'emacs/.emacs')
-rw-r--r--emacs/.emacs19
1 files changed, 16 insertions, 3 deletions
diff --git a/emacs/.emacs b/emacs/.emacs
index b323e96..dc0ff08 100644
--- a/emacs/.emacs
+++ b/emacs/.emacs
@@ -16,12 +16,25 @@
(global-set-key (kbd "C-c a") #'org-agenda)
(global-set-key (kbd "C-c c") #'org-capture)
-(setq display-line-numbers 'relative)
(global-display-line-numbers-mode)
+(setq display-line-numbers-type 'relative)
+
+(show-paren-mode 1)
+(setq show-paren-when-point-inside-paren 1)
+
+(setq backup-directory-alist '(("." . "~/.emacs_savefiles")))
+(setq indent-tabs-mode nil)
+(tool-bar-mode -1)
+(toggle-scroll-bar -1)
+
+(setq org-agenda-files (list "~/Common/org/todo.org"))
(add-hook 'org-mode-hook
- (lambda ()
- (evil-local-set-key 'normal (kbd "<SPC>") 'org-cycle)))
+ (lambda ()
+ (evil-local-set-key 'normal (kbd "<SPC>") 'org-cycle)))
+
+(setq evil-want-C-u-scroll t)
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.