From dc44229a9db54fa6dea54e576fd75d68d937c54d Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Thu, 18 Mar 2021 21:08:44 -0400 Subject: [PATCH] Cleanup module --- modules/terminal.org | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/modules/terminal.org b/modules/terminal.org index 621cfea..0de90d5 100644 --- a/modules/terminal.org +++ b/modules/terminal.org @@ -22,8 +22,7 @@ Performing terminal interactions is a must-have for any modern editor. This modu (setq eshell-highlight-prompt nil eshell-prefer-lisp-functions nil) -(dotfiles/leader - "e" '(eshell :which-key "Shell")) +(dotfiles/leader "e" '(eshell :which-key "Shell")) #+end_src ** Prompt extras @@ -43,30 +42,23 @@ Here's an example of what that looks like: * Interactive Terminal -*EShell*[fn:1] isn't enough when needing interactivity from the terminal. Going through [[file:../docs/notes/thinking-in-cpp.org.gpg][Thinking in C++]] for one of my courses required lots of terminal interaction which *Eshell*[fn:1] was unable to handle. *VTerm's*[fn:2] based on an external C library which is blazing fast, and fully interactive. +*EShell*[fn:1] isn't enough when needing interactivity from the terminal. Going through [[file:../docs/notes/thinking-in-cpp.org.gpg][Thinking in C++]][fn:4] for one of my courses required lots of terminal interaction which *Eshell*[fn:1] was unable to handle. *VTerm's*[fn:2] based on an external C library which is blazing fast, and fully interactive. + Always compile the module + Open in the current buffer with =SPC v= ++ Install the required packages on *Debian/Ubuntu* #+begin_src emacs-lisp (use-package vterm :commands (vterm) :custom (vterm-always-compile-module t) + :init (dotfiles/install "cmake libtool libtool-bin") :config (dotfiles/leader "v" '(vterm :which-key "Terminal"))) #+end_src -** Requirements - -Install the required packages on *Debian/Ubuntu* based systems. - -#+begin_src shell -sudo apt install -y cmake \ - libtool \ - libtool-bin -#+end_src - * Resources [fn:1] https://gnu.org/software/emacs/manual/html_node/eshell/index.html [fn:2] https://github.com/akermu/emacs-libvterm [fn:3] https://github.com/zwild/eshell-prompt-extras +[fn:4] https://chrishayward.xyz/posts/immutable-emacs/