commit 6ba94b91eaf0c5f4494ff4e5d5d5057fc09368e1
parent f6533d221ffedae90d321d59761a43e3541419bc
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Wed, 25 Mar 2026 21:57:58 -0300
Added vterm.
Diffstat:
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -45,3 +45,10 @@ alias make='make -j12'
alias emacs='emacsclient -c'
PS1="\n\[\e[32m\]\h\[\e[m\]:\[\e[34m\]\w\[\e[m\]>"
+
+# Makes Emacs' vterm work.
+if [[ "$INSIDE_EMACS" = 'vterm' ]] \
+ && [[ -n ${EMACS_VTERM_PATH} ]] \
+ && [[ -f ${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh ]]; then
+ source ${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh
+fi
diff --git a/emacs/config.org b/emacs/config.org
@@ -132,6 +132,12 @@ Revert buffers when content changed.
(global-auto-revert-mode 1)
#+END_SRC
+Disable the audible bell.
+
+#+BEGIN_SRC emacs-lisp
+(setq ring-bell-function 'ignore)
+#+END_SRC
+
*** Compile mode
No default command a keybind, colorize the buffer.
@@ -408,6 +414,14 @@ Inspired by Zed tasks. Uses ~compile-mode~. Very neat.
(global-set-key (kbd "C-c t") #'run-task)
#+END_SRC
+*** Vterm
+Vterm is the best VT220/xterm/ECMA-48 terminal emulator for Emacs.
+
+#+BEGIN_SRC emacs-lisp
+(use-package vterm
+ :hook (vterm-mode . (lambda () (setq show-trailing-whitespace nil))))
+#+END_SRC
+
*** Miscelaneous
Lice to add licenses.