adding some tweaks to emacs setup

Fixed so emacs runs appropriate system reconfigure
This commit is contained in:
Chris Cochrun 2023-06-30 10:22:14 -05:00
parent 9ecfa4e389
commit e933755d10
2 changed files with 14 additions and 4 deletions

View file

@ -82,6 +82,9 @@
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
(recentf-mode +1)
(savehist-mode +1)
(add-to-list savehist-additional-variables 'register-alist)
(add-to-list savehist-additional-variables kill-ring)
(add-to-list 'exec-path "/home/chris/bin")
@ -289,6 +292,7 @@
"oP" '(proced :which-key "proced")
"ov" '(vterm :which-key "vterm")
"wo" '(other-window :which-key "other window")
"wn" '(evil-window-next :which-key "other window")
"wd" '(delete-window :which-key "other window")
"wv" '(evil-window-vsplit :which-key "split window vertically")
"ws" '(evil-window-split :which-key "split window horizontally")
@ -353,7 +357,7 @@
(setq lpr-command "lpr -o sides=two-sided-long-edge -# ")
(defun chris/org-mode-setup ()
(interactive)
(org-indent-mode +1)
;; (org-indent-mode +1)
(toc-org-mode +1)
(visual-fill-column-mode +1)
(display-line-numbers-mode -1)
@ -2790,7 +2794,8 @@ targets."
"oe" 'chris/eshell-new
"be" 'eshell)
(general-def '(normal insert) eshell-mode-map
"C-d" 'kill-buffer-and-window))
"C-d" 'kill-buffer-and-window
"<up>" 'eshell-previous-input))
(add-hook 'eshell-load-hook #'eat-eshell-mode)