Configuration

Learn how to customize Emacs to fit your workflow and preferences. Make Emacs truly your own.

⚙️ Configuration File

Emacs configuration is typically stored in ~/.emacs.d/init.el or ~/.emacs.

Basic Configuration Example:

;; Basic Emacs Configuration
;; Disable startup screen
(setq inhibit-startup-message t)

;; Show line numbers
(global-display-line-numbers-mode t)

;; Enable column numbers
(column-number-mode t)

;; Set font size
(set-face-attribute 'default nil :height 140)

📦 Package Management

Use built-in package manager to install and manage packages.

Enable MELPA Repository:

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

Install Packages:

M-x package-refresh-contents
M-x package-install RET package-name

🎨 Popular Packages

which-key

Display available keybindings in popup

company

Modular in-buffer completion framework

magit

Git interface for Emacs

projectile

Project interaction library