Update README.md
This commit is contained in:
17
README.md
17
README.md
@@ -252,6 +252,23 @@ The `evil-surround` package simplifies handling surrounding characters, such as
|
|||||||
:hook (after-init . global-evil-surround-mode))
|
:hook (after-init . global-evil-surround-mode))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### How to configure vterm
|
||||||
|
|
||||||
|
The `emacs-libvterm` package is a terminal emulator integrated into GNU Emacs. Built on libvterm, a C library, it offers superior performance compared to Elisp-based alternatives. This compiled code approach enables `emacs-libvterm` to handle large outputs efficiently, providing a fast and feature-complete terminal experience within Emacs.
|
||||||
|
|
||||||
|
To configure `emacs-vterm`, add the following to `~/.emacs.d/post-init.el`:
|
||||||
|
``` emacs-lisp
|
||||||
|
(use-package vterm
|
||||||
|
:ensure t
|
||||||
|
:defer t
|
||||||
|
:commands vterm
|
||||||
|
:config
|
||||||
|
;; Speed up vterm
|
||||||
|
(setq vterm-timer-delay 0.01))
|
||||||
|
```
|
||||||
|
|
||||||
|
(Note that the `emacs-vterm` Emacs package requires compilation of its C components, which includes the gcc compiler and the `libvterm` library. On Debian or Ubuntu systems, the necessary packages can be installed with: `sudo apt-get install build-essential libvterm-dev`)
|
||||||
|
|
||||||
### How to configure straight.el?
|
### How to configure straight.el?
|
||||||
|
|
||||||
[Add the straight.el bootstrap code](https://github.com/radian-software/straight.el?tab=readme-ov-file#getting-started) to `~/.emacs.d/pre-init.el`:
|
[Add the straight.el bootstrap code](https://github.com/radian-software/straight.el?tab=readme-ov-file#getting-started) to `~/.emacs.d/pre-init.el`:
|
||||||
|
|||||||
Reference in New Issue
Block a user