summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-11-10 22:39:12 +0100
committerJulian T <julian@jtle.dk>2022-11-10 22:43:29 +0100
commit8c1c665b5fafc001e4d37b53016daaecfce45118 (patch)
treecce52b1765c84ccdfb10b8a4bed4551f325730dc
parent1403763de308a234c8fd7b225f3ecb399b09ddc3 (diff)
Emacs and default editor to nvim
-rw-r--r--emacs/.emacs8
-rw-r--r--fish/.config/fish/config.fish4
2 files changed, 8 insertions, 4 deletions
diff --git a/emacs/.emacs b/emacs/.emacs
index c15ff3d..c68899e 100644
--- a/emacs/.emacs
+++ b/emacs/.emacs
@@ -7,7 +7,7 @@
(mapcar (lambda (p)
(unless (package-installed-p p)
(package-install p))
- ) (list 'magit 'undo-tree 'haskell-mode 'evil 'bbdb 'company))
+ ) (list 'auctex 'magit 'undo-tree 'haskell-mode 'evil 'bbdb 'company))
(setq evil-want-C-u-scroll t)
(require 'evil)
@@ -16,6 +16,8 @@
; (require 'evil-collection)
; (evil-collection-init)
+(require 'tex-site)
+
(evil-set-initial-state 'haskell-interactive-mode 'emacs)
(evil-set-initial-state 'haskell-error-mode 'emacs)
@@ -75,6 +77,7 @@
'(("l" "Linked todo" entry (file+headline "~/Common/org/todo.org" "Captures")
"* TODO %?\n %i \n %a")
("t" "Todo" entry (file+headline "~/Common/org/todo.org" "Captures"))
+ ("k" "Kalender" entry (file+headline "~/Common/org/kalender.org" "Captures"))
))
;; Contact book
@@ -99,11 +102,12 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
+ '(canlock-password "8455a572e70665b512a068f64b19716b79a0ead6")
'(custom-enabled-themes '(modus-vivendi))
'(display-line-numbers-type 'relative)
'(global-display-line-numbers-mode t)
'(package-selected-packages
- '(go-mode magit undo-tree 'flycheck 'flycheck bbdb haskell-mode evil))
+ '(auctex go-mode magit undo-tree 'flycheck 'flycheck bbdb haskell-mode evil))
'(tool-bar-mode nil)
'(warning-suppress-types '((org))))
(custom-set-faces
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index bf25e2a..9031b65 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -1,7 +1,7 @@
# Vim stuff
alias vim "nvim"
-set -x EDITOR kak
-set -x SUDO_EDITOR kak
+set -x EDITOR nvim
+set -x SUDO_EDITOR nvim
# Other things
set -x TERM xterm-256color