Fixed the load-config func and removed multi-vterm

This commit is contained in:
Random936 2023-09-20 13:45:47 -07:00
parent c413de41d1
commit d98dfb8152
2 changed files with 7 additions and 13 deletions

View File

@ -382,7 +382,7 @@ General allows you to setup a prefix key easily. This makes it really easy to se
(jm/leader-keys (jm/leader-keys
; Example of a keybinding should be changed later ; Example of a keybinding should be changed later
"t" '(counsel-load-theme :which-key "Choose theme") "t" '(counsel-load-theme :which-key "Choose theme")
"v" '(multi-vterm :which-key "Open vterm terminal") "v" '(vterm :which-key "Open vterm terminal")
"r" '(rename-buffer :which-key "Rename buffer") "r" '(rename-buffer :which-key "Rename buffer")
; Org mode related keybindings ; Org mode related keybindings
@ -786,7 +786,6 @@ VTerm is a terminal emulator written in C. While emacs has a few built-in termin
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package vterm (use-package vterm
:commands vterm
:config :config
(setq vterm-max-scrollback 10000) (setq vterm-max-scrollback 10000)
; Fixes vterm issue with cursor not updating ; Fixes vterm issue with cursor not updating
@ -799,15 +798,6 @@ There are a few packages that you need to install in order to use VTerm.
sudo apt install cmake libtool-bin sudo apt install cmake libtool-bin
#+end_src #+end_src
*** Multi-Vterm
Multi-Vterm is a package that allows for multiple vterm terminals to be used. By default vterm creates one ~*vterm*~ buffer. This buffer needs to be renamed in order to use multiple terminals.
#+begin_src emacs-lisp
(use-package multi-vterm
:after vterm)
#+end_src
** Change Terminal Font ** Change Terminal Font
When using zsh with powerlevel10k, the ~MesloLGS NF~ font is required to make the prompt align properly. Due to this, this code is implemented to change the font only when VTerm is being used. When using zsh with powerlevel10k, the ~MesloLGS NF~ font is required to make the prompt align properly. Due to this, this code is implemented to change the font only when VTerm is being used.
@ -825,8 +815,8 @@ This is the section to include imports from other files.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun jm/load-config-if-exists (file-path) (defun jm/load-config-if-exists (file-path)
(when (file-exists-p file_path) (when (file-exists-p file-path)
(org-babel-load-file file_path))) (org-babel-load-file file-path)))
;; Load LSP (Language Server Protocol) configuration. ;; Load LSP (Language Server Protocol) configuration.
(jm/load-config-if-exists "~/.emacs.d/lsp.org") (jm/load-config-if-exists "~/.emacs.d/lsp.org")

View File

@ -2,3 +2,7 @@
As of now, I haven't added anything here, though I do expect to start adding some custom functions as I learn more about Elisp. As of now, I haven't added anything here, though I do expect to start adding some custom functions as I learn more about Elisp.
#+begin_src emacs-lisp
(message "functions.org: No functions yet!")
#+end_src