diff --git a/README.org b/README.org index 4ea97fe4..a40562f0 100644 --- a/README.org +++ b/README.org @@ -135,7 +135,7 @@ In order to have this config work on both my desktop with regular joe-schmoe mon Then let's make sure line-numbers are relative and on. And let's turn on visual-line-mode globally. #+begin_src emacs-lisp -(setq display-line-numbers-type 'relative) +(setq display-line-numbers-type t) (global-display-line-numbers-mode +1) (add-hook 'prog-mode-hook (display-line-numbers-mode +1)) (global-visual-line-mode +1) @@ -501,6 +501,7 @@ This evil-collection package includes a lot of other evil based things. "sr" '(consult-ripgrep :which-key "consult ripgrep") "sd" '(dictionary-search :which-key "search the dictionary") "oP" '(proced :which-key "proced") + "ov" '(vterm :which-key "vterm") "wo" '(other-window :which-key "other window") "wd" '(delete-window :which-key "other window") "wv" '(evil-window-vsplit :which-key "split window vertically") @@ -2996,14 +2997,18 @@ Let's add our own eshell prompt. and set the password cache to a significantly h #+end_src *** Esh-autosuggest #+begin_src emacs-lisp -(use-package esh-autosuggest - :hook (eshell-mode . esh-autosuggest-mode) - :ensure t) +;; (use-package esh-autosuggest +;; ;; :hook (eshell-mode . esh-autosuggest-mode) +;; :ensure nil) #+end_src ** Vterm #+begin_src emacs-lisp (setq vterm-buffer-name-string "vterm %s") +(defun chris/vterm-setup () + "Setup vterm with my preferred settings" + (display-line-numbers-mode -1)) +(add-hook 'vterm-mode-hook 'chris/vterm-setup) #+end_src ** Sly diff --git a/init.el b/init.el index bda4d9e2..53735a83 100644 --- a/init.el +++ b/init.el @@ -52,7 +52,7 @@ (tool-bar-mode -1))) (chris/set-font-faces))) -(setq display-line-numbers-type 'relative) +(setq display-line-numbers-type t) (global-display-line-numbers-mode +1) (add-hook 'prog-mode-hook (display-line-numbers-mode +1)) (global-visual-line-mode +1) @@ -243,6 +243,7 @@ "sr" '(consult-ripgrep :which-key "consult ripgrep") "sd" '(dictionary-search :which-key "search the dictionary") "oP" '(proced :which-key "proced") + "ov" '(vterm :which-key "vterm") "wo" '(other-window :which-key "other window") "wd" '(delete-window :which-key "other window") "wv" '(evil-window-vsplit :which-key "split window vertically") @@ -2097,11 +2098,15 @@ targets." (general-def '(normal insert) eshell-mode-map "C-d" 'kill-buffer-and-window)) -(use-package esh-autosuggest - :hook (eshell-mode . esh-autosuggest-mode) - :ensure t) +;; (use-package esh-autosuggest +;; ;; :hook (eshell-mode . esh-autosuggest-mode) +;; :ensure nil) (setq vterm-buffer-name-string "vterm %s") +(defun chris/vterm-setup () + "Setup vterm with my preferred settings" + (display-line-numbers-mode -1)) +(add-hook 'vterm-mode-hook 'chris/vterm-setup) (use-package sly :mode diff --git a/recentf b/recentf index 982b2dba..62b12074 100644 --- a/recentf +++ b/recentf @@ -1,4 +1,4 @@ -;;; Automatically generated by ‘recentf’ on Fri Jan 13 09:12:04 2023. +;;; Automatically generated by ‘recentf’ on Fri Jan 20 09:38:48 2023. (setq recentf-list 'nil)