uv init project-name uv venv M-x uv-activate uv add pyright
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| ## Author: Abidán Brito | |
| ## This script builds GNU Emacs 29.1 with support for native elisp compilation, | |
| ## tree-sitter, libjansson (C JSON library), pure GTK and mailutils. | |
| # Exit on error and print out commands before executing them. | |
| set -euxo pipefail | |
| # Let's set the number of jobs to something reasonable; keep 2 cores |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (use-package project | |
| :ensure nil | |
| :custom | |
| (project-vc-extra-root-markers '(".project")) | |
| :bind | |
| ([remap project-switch-to-buffer] . consult-project-buffer)) | |
| (use-package tab-bar | |
| :ensure nil | |
| :custom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; ========================================== | |
| ;; 1. PACKAGE MANAGEMENT SETUP | |
| ;; ========================================== | |
| (require 'package) | |
| (setq package-enable-at-startup nil) | |
| ;; Define where Emacs should look to download external packages | |
| (setq package-archives '(("melpa" . "https://melpa.org/packages/") | |
| ("nongnu" . "https://elpa.nongnu.org/nongnu/") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'package) | |
| (setq package-enable-at-startup nil) | |
| (setq package-archives '(("melpa" . "https://melpa.org/packages/") | |
| ("nongnu" . "https://elpa.nongnu.org/nongnu/") | |
| ("elpa-devel" . "https://elpa.gnu.org/devel/") | |
| ("gnu" . "https://elpa.gnu.org/packages/"))) | |
| (package-initialize) | |
| (unless (package-installed-p 'use-package) | |
| (package-refresh-contents) | |
| (package-install 'use-package)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; org-link-desc.el --- Automatically generate descriptions for org-mode links -*- lexical-binding: t; -*- | |
| ;; Copyright (C) 2023 Your Name | |
| ;; Author: Your Name <your-email@example.com> | |
| ;; Version: 1.0 | |
| ;; Package-Requires: ((emacs "26.1") (org "9.0")) | |
| ;; Keywords: org, convenience | |
| ;; URL: https://github.com/yourusername/org-link-desc |
- Emacs uses special keys for shortcuts, often written in a notation like
C-x C-forM-f.
C-stands for **Control**.C-xmeans **press and holdControl(Ctrl) and then press =x=**.- Example:
C-x C-fmeans:- Hold
Ctrl - Press
x - Then press
fwhile still holdingCtrl
- Hold
There are several packages for spellchecking in Emacs, but I prefer jinx because it’s known for being fast. I recommend giving it a try!
Before installing the jinx package, you need to install its required dependencies. You can do this by:
- Debian, Ubuntu:
libenchant-2-dev,pkgconf - Arch, Gentoo:
enchant,pkgconf
NewerOlder