Skip to content
Snippets Groups Projects
Commit b7b52866 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Add more tweaks for default behavior and add vterm package

parent 026f2e8b
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ Then add package repositories
#+BEGIN_SRC emacs-lisp
(require 'package)
; (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t)
(unless (fboundp 'package-activate-all) (package-initialize))
#+END_SRC
......@@ -156,6 +156,11 @@ Remember where I was last time I edited a file
(save-place-mode 1)
#+end_src
Never use graphical dialog box
#+begin_src emacs-lisp
(setq use-dialog-box nil)
#+end_src
** MacOS
As I often use Emacs on MacOS, I need the right option (alt) key to behave *as* an option key and
......@@ -324,8 +329,8 @@ Select the font I will use depending on the system
(setq mh-font-variable "DejaVu Sans")
)
)
(set-face-attribute 'default nil :font mh-font-fixed :weight 'light :height 160)
(set-face-attribute 'fixed-pitch nil :font mh-font-fixed :weight 'light :height 160)
(set-face-attribute 'default nil :font mh-font-fixed :weight 'light :height 140)
(set-face-attribute 'fixed-pitch nil :font mh-font-fixed :weight 'light :height 140)
(set-face-attribute 'variable-pitch nil :font mh-font-variable :weight 'light :height 1.3)
(set-frame-font mh-font-fixed nil t)
#+end_src
......@@ -1186,6 +1191,31 @@ cargo install slint-lsp
(use-package protobuf-mode)
#+end_src
** Shell
Use =vterm= as a terminal emulator. Vterm needs to compile an external module. To build the module,
you need CMake and libtool.
On debian/ubuntu like systems:
#+begin_src shell
sudo apt install cmake libtool-bin
#+end_src
On Macos with brew
#+begin_src shell
brew install libtool cmake
#+end_src
#+begin_src emacs-lisp
(use-package vterm
:commands vterm
:custom
(vterm-always-compile-module t)
:bind
("<f7>" . vterm))
#+end_src
* Spell checking
First, set =aspell= to be the spell checking program instead of =ispell=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment