adding some tweaks to emacs setup
Fixed so emacs runs appropriate system reconfigure
This commit is contained in:
parent
9ecfa4e389
commit
e933755d10
2 changed files with 14 additions and 4 deletions
|
@ -184,6 +184,9 @@ Also, real quick let's make sure that ~<escape>~ works as the same as ~<C-g>~
|
|||
Let's also turn on =recentf-mode=.
|
||||
#+begin_src emacs-lisp
|
||||
(recentf-mode +1)
|
||||
(savehist-mode +1)
|
||||
(add-to-list savehist-additional-variables 'register-alist)
|
||||
(add-to-list savehist-additional-variables kill-ring)
|
||||
#+end_src
|
||||
|
||||
Finally this is not part of the UI but let's do this early and start the server so I can use emacsclient from my WM.
|
||||
|
@ -537,6 +540,7 @@ This evil-collection package includes a lot of other evil based things.
|
|||
"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")
|
||||
|
@ -611,7 +615,7 @@ Let's start by creating a self contained function of what I'd like started on ev
|
|||
(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)
|
||||
|
@ -3814,7 +3818,8 @@ Let's add our own eshell prompt. and set the password cache to a significantly h
|
|||
"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))
|
||||
#+end_src
|
||||
|
||||
*** EAT
|
||||
|
|
9
init.el
9
init.el
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue