From 8c1c665b5fafc001e4d37b53016daaecfce45118 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 10 Nov 2022 22:39:12 +0100 Subject: Emacs and default editor to nvim --- emacs/.emacs | 8 ++++++-- fish/.config/fish/config.fish | 4 ++-- 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 -- cgit v1.2.3