commit 588aa82cde229231b8184256e56643b06f33b827
parent 38295feed25b6e8ae548249afca0eefc7581393a
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 8 Jul 2021 19:15:00 +0200
emacs: indentation
Diffstat:
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -123,12 +123,12 @@
(helm-buffer-file ((t (:inherit default))))
:bind
(("M-x" . helm-M-x)
- ("C-x C-f" . helm-find-files)
- ("C-x C-b" . helm-buffers-list)
- ("C-x b" . helm-buffers-list)
- ("C-x C-r" . helm-recentf)
- ("C-x C-i" . helm-imenu)
- ("M-y" . helm-show-kill-ring))
+ ("C-x C-f" . helm-find-files)
+ ("C-x C-b" . helm-buffers-list)
+ ("C-x b" . helm-buffers-list)
+ ("C-x C-r" . helm-recentf)
+ ("C-x C-i" . helm-imenu)
+ ("M-y" . helm-show-kill-ring))
:config
(helm-mode)
(savehist-mode))
@@ -178,18 +178,20 @@
#+end_src
** vterm
- Emacs has a bunch of built-in terminal emulators.
- And they all suck.
- (OK not really, eshell is alright, but not for interactive terminal programs like newsboat/neomutt)
+Emacs has a bunch of built-in terminal emulators.
+And they all suck.
+(OK not really, eshell is alright, but not for interactive terminal programs like newsboat/neomutt)
- Also use emacsclient inside vterm as an editor, because that'll open documents in the existing Emacs session.
- And I'm not gonna be a heretic and open Vim inside of Emacs.
+Also use emacsclient inside vterm as an editor, because that'll open documents in the existing Emacs session.
+And I'm not gonna be a heretic and open Vim inside of Emacs.
- #+begin_src emacs-lisp
- (use-package vterm
- :config
- (setq vterm-environment '("EDITOR=emacsclient")))
- #+end_src
+#+begin_src emacs-lisp
+ (use-package vterm
+ :config
+ (setq vterm-environment '("EDITOR=emacsclient"))
+ :hook
+ (vterm-mode . (lambda () (unless server-process (server-start)))))
+#+end_src
* Interface
** GUI elements