commit 9bdfd9509693b018d4087974ce56423dcf04e114
parent 9299d62785a70c92f6610fc031e2def74b4fc90d
Author: Ethan Long <Ethan.Long@anu.edu.au>
Date: Sat, 10 Jun 2023 13:12:10 +1000
Some minor changes to fix undos and such
Diffstat:
| M | init.el | | | 103 | ++++--------------------------------------------------------------------------- |
1 file changed, 5 insertions(+), 98 deletions(-)
diff --git a/init.el b/init.el
@@ -31,6 +31,9 @@
(line-number-mode 1)
(column-number-mode 1)
+;; Indentation
+(setq-default indent-tabs-mode nil)
+
;; SILENCE
(setq ring-bell-function 'ignore)
@@ -101,9 +104,6 @@
(use-package doom-modeline
:ensure t
:hook (after-init . doom-modeline-mode))
-;; Tweak these when bored or if pissed off at the modeline
-;;(setq all-the-icons-scale-factor 1.2)
-;;(setq doom-modeline-height 40) ;; The default (40) causes it to change size with saving >:(
;; Which key (this is the thing responsible for coming up with the minibuffer of keys that you can pick):
@@ -123,6 +123,7 @@
(setq evil-want-C-d-scroll t)
(setq evil-want-C-u-scroll t)
(setq evil-want-C-i-jump nil)
+ (setq evil-undo-system 'undo-redo)
:config
(evil-mode 1)
;; Enabling C-g to exit from normal mode, and C-h to do what it normally does in emacs
@@ -135,8 +136,7 @@
;; Set initial states to be in normal mode for some buffers
(evil-set-initial-state 'messages-buffer-mode 'normal)
- (evil-set-initial-state 'dashboard-mode 'normal)
- (setq evil-undo-system 'undo-redo))
+ (evil-set-initial-state 'dashboard-mode 'normal))
;; Extra modes for evil, if evil is playing up this would be the first thing to check
(use-package evil-collection
@@ -237,96 +237,3 @@
;; Emacs crap that it does automatically:
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; 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.
- '(connection-local-criteria-alist
- '(((:application tramp :protocol "flatpak")
- tramp-container-connection-local-default-flatpak-profile)
- ((:application tramp)
- tramp-connection-local-default-system-profile tramp-connection-local-default-shell-profile)))
- '(connection-local-profile-alist
- '((tramp-container-connection-local-default-flatpak-profile
- (tramp-remote-path "/app/bin" tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin"))
- (tramp-connection-local-darwin-ps-profile
- (tramp-process-attributes-ps-args "-acxww" "-o" "pid,uid,user,gid,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state=abcde" "-o" "ppid,pgid,sess,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etime,pcpu,pmem,args")
- (tramp-process-attributes-ps-format
- (pid . number)
- (euid . number)
- (user . string)
- (egid . number)
- (comm . 52)
- (state . 5)
- (ppid . number)
- (pgrp . number)
- (sess . number)
- (ttname . string)
- (tpgid . number)
- (minflt . number)
- (majflt . number)
- (time . tramp-ps-time)
- (pri . number)
- (nice . number)
- (vsize . number)
- (rss . number)
- (etime . tramp-ps-time)
- (pcpu . number)
- (pmem . number)
- (args)))
- (tramp-connection-local-busybox-ps-profile
- (tramp-process-attributes-ps-args "-o" "pid,user,group,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "stat=abcde" "-o" "ppid,pgid,tty,time,nice,etime,args")
- (tramp-process-attributes-ps-format
- (pid . number)
- (user . string)
- (group . string)
- (comm . 52)
- (state . 5)
- (ppid . number)
- (pgrp . number)
- (ttname . string)
- (time . tramp-ps-time)
- (nice . number)
- (etime . tramp-ps-time)
- (args)))
- (tramp-connection-local-bsd-ps-profile
- (tramp-process-attributes-ps-args "-acxww" "-o" "pid,euid,user,egid,egroup,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state,ppid,pgid,sid,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etimes,pcpu,pmem,args")
- (tramp-process-attributes-ps-format
- (pid . number)
- (euid . number)
- (user . string)
- (egid . number)
- (group . string)
- (comm . 52)
- (state . string)
- (ppid . number)
- (pgrp . number)
- (sess . number)
- (ttname . string)
- (tpgid . number)
- (minflt . number)
- (majflt . number)
- (time . tramp-ps-time)
- (pri . number)
- (nice . number)
- (vsize . number)
- (rss . number)
- (etime . number)
- (pcpu . number)
- (pmem . number)
- (args)))
- (tramp-connection-local-default-shell-profile
- (shell-file-name . "/bin/sh")
- (shell-command-switch . "-c"))
- (tramp-connection-local-default-system-profile
- (path-separator . ":")
- (null-device . "/dev/null"))))
- '(package-selected-packages
- '(cape which-key use-package rust-mode rainbow-delimiters lsp-haskell ligature evil-collection doom-modeline counsel fast-scroll lsp-java corfu lsp-pyright)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; 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.
- )